margarita.getProbs: Get probabilities of threshold exceedance for a GPD model.

Description Usage Arguments

View source: R/helpers.R

Description

Get probabilities of threshold exceedance for a genralized Pareto model.

Usage

1
margarita.getProbs(X, par, u, p, r, m, family, th)

Arguments

X

An index parameter used in a call to sapply or lapply.

par

A numeric matrix with 2 columns containing the parameters for the GPD model.

u

The threshold.

p

The rate of threshold exceedance.

r

The original data to which the model was fit.

m

The threshold above which we wish to estimated the exceedance rate.

family

The family object used in extreme value modelling.

th

The threshold used to fit the model.


harrysouthworth/margarita documentation built on Aug. 19, 2021, 5 a.m.