powered by
Compute joint probabilities of compound dry-hot events and the independent case.
LMFDH(mp,mt,threp,thret)
Joint probability of DH divided by that of independent case
Precipitation
Temperature
Threshold of precipitation (e.g., 50th percentile)
Threshold of temperature
Zscheischler, J. and S. I. Seneviratne (2017). Dependence of drivers affects risks associated with compound events. Science Advances, 3(6): e1700263.
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