evd (version 2.1-0)

evmc: Simulate Markov Chains With Extreme Value Dependence Structures

Description

Simulation of first order Markov chains, such that each pair of consecutive values has the dependence structure of one of eight parametric bivariate extreme value distributions.

Usage

evmc(n, dep, asy = c(1,1), alpha, beta, model = "log",
    margins = "uniform")

Arguments

n
Number of observations.
dep
Dependence parameter for the logistic, asymmetric logistic, Husler-Reiss, negative logistic and asymmetric negative logistic models.
asy
A vector of length two, containing the two asymmetry parameters for the asymmetric logistic and asymmetric negative logistic models.
alpha, beta
Alpha and beta parameters for the bilogistic, negative bilogistic and Coles-Tawn models.
model
The specified model; a character string. Must be either "log" (the default), "alog", "hr", "neglog", "aneglog", "bilog", "negbilog" or "ct"
margins
The marginal distribution of each value; a character string. Must be either "uniform" (the default), "exponential", "frechet" or "gumbel" (or any unique partial match), for the uniform, s

Value

  • A numeric vector of length n.

synopsis

evmc(n, dep, asy = c(1,1), alpha, beta, model = c("log", "alog", "hr", "neglog", "aneglog", "bilog", "negbilog", "ct"), margins = c("uniform","exponential","frechet","gumbel"))

See Also

marma, rbvevd

Examples

Run this code
evmc(100, alpha = 0.1, beta = 0.1, model = "bilog")
evmc(100, dep = 10, model = "hr", margins = "exp")

Run the code above in your browser using DataLab