Learn R Programming

CompoundEvents (version 0.3.0)

LMFDH: Likelihood multiplication factor (LMF) or probability multiplication factor (PMF) of compound dry-hot events

Description

Compute joint probabilities of compound dry-hot events and the independent case.

Usage

LMFDH(mp,mt,threp,thret)

Value

Joint probability of DH divided by that of independent case

Arguments

mp

Precipitation

mt

Temperature

threp

Threshold of precipitation (e.g., 50th percentile)

thret

Threshold of temperature

References

Zscheischler, J. and S. I. Seneviratne (2017). Dependence of drivers affects risks associated with compound events. Science Advances, 3(6): e1700263.

Examples

Run this code
mp=matrix(rnorm(120,0,1),ncol=1)
mt=matrix(rnorm(120,0,1),ncol=1)
threp=20
thret=80
res<-LMFDH(mp,mt,threp,thret)

Run the code above in your browser using DataLab