Learn R Programming

mvPot (version 0.1.7)

rExtremalStudentParetoProcess: Simulation of extremal Student generalized Pareto vectors

Description

Simulation of Pareto processes associated to the max functional. The algorithm is described in section 4 of Thibaud and Opitz (2015). The Cholesky decomposition of the matrix Sigma leads to samples on the unit sphere with respect to the Mahalanobis distance. An accept-reject algorithm is then used to simulate samples from the Pareto process. If normalize = TRUE, the vector is scaled by the exponent measure \(\kappa\) so that the maximum of the sample is greater than \(\kappa\).

Usage

rExtremalStudentParetoProcess(
  n,
  Sigma,
  nu,
  normalize = FALSE,
  matchol = NULL,
  trunc = TRUE
)

Value

an n by d matrix of samples, with attributes

"accept.rate" indicating the fraction of samples accepted.

Arguments

n

sample size

Sigma

a d by d correlation matrix

nu

degrees of freedom parameter

normalize

logical; should unit Pareto samples above \(\kappa\) be returned?

matchol

Cholesky matrix \(\mathbf{A}\) such that \(\mathbf{A}\mathbf{A}^\top = \boldsymbol{\Sigma}\). Corresponds to t(chol(Sigma)). Default to NULL, in which case the Cholesky root is computed within the function.

trunc

logical; should negative components be truncated at zero? Default to TRUE.

Author

Emeric Thibaud, Leo Belzile

References

Thibaud, E. and T. Opitz (2015). Efficient inference and simulation for elliptical Pareto processes. Biometrika, 102(4), 855-870.

See Also

rparp

Examples

Run this code
loc <- expand.grid(1:4, 1:4)
Sigma <- exp(-as.matrix(dist(loc))^1.5)
rExtremalStudentParetoProcess(100, Sigma, nu = 2)

Run the code above in your browser using DataLab