DriverLGR {CompoundEvents} | R Documentation |
Assess potential driving factors of compound dry-hot events.
Description
Use the logistic regression model to establish relationships between climate indices (e.g., ENSO) and occurrences of compound dry-hot events.
Usage
DriverLGR(Y,CI)
Arguments
Y |
Occurrence of compound dry-hot events (0-1 binary variable) |
CI |
Climate index as the driving factor of compound events (e.g., ENSO) |
Value
slope parameter and associated p-value
References
Hao, Z. et al. (2019). A monitoring and prediction system for compound dry and hot events. Environ. Res. Lett., 14:114034.
Examples
CI=c(-0.7,-1.2,1.3,0.7,-0.6,1.1,-0.5,0.8,0.5,-0.5,1.6,-1.8,-0.5,-1.4,-0.1,2.2,-0.7,-1.1, 0.6, -1.7)
Y=c(0,0,1,1,0,0,0,0,0,0,1,0,1,0,0,1,0,0,0,0 )
res<-DriverLGR(Y,CI)
[Package CompoundEvents version 0.3.0 Index]