ImpactMG: Impacts under droughts and hot extremes

View source: R/ImpactMG.R

ImpactMGR Documentation

Impacts under droughts and hot extremes

Description

Use the meta-Gaussian model to construct conditional distributions of the impact variable (Y) given drought and hot conditions P(Y|PRC,TEM).

Usage

ImpactMG(PRC,TEM,Y,u0)

Arguments

PRC

Precipitation or drought indicator corresponding to the impact variable Y

TEM

Temperature or heat indicator corresponding to the impact variable Y

Y

Impact variable (e.g., Crop yield)

u0

Initial condition of (PRC,TEM)

Value

A vector of conditional mean and variance evaluated at u0

References

Feng, S. et al. (2019). Probabilistic evaluation of the impact of compound dry-hot events on global maize yields. Sci. Total. Environ., 689: 1228-1234.

Hao, Z. et al. (2018). A multivariate approach for statistical assessments of compound extremes. J. Hydrol., 565: 87-94.

Examples

PRC=matrix(rnorm(60,0,1),ncol=1)
TEM=matrix(rnorm(60,0,1),ncol=1)
Y=matrix(rnorm(60,0,1),ncol=1)
u0=c(-1.2,1.2) # Speficify the compound dry-hot condition
ImpactMG(PRC,TEM,Y,u0)

CompoundEvents documentation built on Nov. 10, 2022, 5:45 p.m.