Learn R Programming

mev (version 1.17)

.rPdir: Generate from extremal Dirichlet \(Y \sim {P_x}\), where \(P_{x}\) is the probability of extremal functions from the Dirichlet model of Coles and Tawn.

Description

Note: we generate from the Dirichlet rather than the Gamma distribution, since the former is parallelized

Usage

.rPdir(d, index, alpha, irv = FALSE)

Value

a d-vector from \(P_x\)

Arguments

d

dimension of the 1-sample

index

index of the location. An integer in 0, ..., \(d-1\)

alpha

a \(d\) dimensional vector of positive parameter values for the Dirichlet vector, or \(d+1\) if the last entry is the index of regular variation of the model, a constant in (0, 1]

irv

should the usual model (FALSE) or the general scaled version (TRUE) be used