MSDI: Compute the Multivariate Standardized Drought Index(MSDI)

Description Usage Arguments Value Examples

Description

Based on the vector of a monthly hydro-climatic variable, the MSDI is computed based on the marginal (or univariate) probability (or percentile) from the function SDI.

Usage

1
MSDI(X, Y, ts = 6)

Arguments

X

is The vector of a monthly hydro-climatic variable of n years.

Y

is The vector of a monthly hydro-climatic variable of n years.

ts

is the accumulated time scale.

Value

The MSDI of different time scales from the marginal probability (or percentile)

Examples

1
2
3
4
X=runif(120, min = 0, max = 100)
Y=runif(120, min = 0, max = 100)
fit<-MSDI(X,Y,ts=6) # Compute the 6 month drought index
fit$ProbEmp2 #Get the empirival drought index

MSDI documentation built on May 2, 2019, 6:44 p.m.