Learn R Programming

GLmom (version 1.3.1)

gof.ene_all: Goodness-of-fit based on exceedance counts

Description

Internal function that computes goodness-of-fit by comparing observed vs expected exceedances above return level quantiles for multiple return periods.

Usage

gof.ene_all(xdat, vecT = c(5, 10, 20, 40, 80), para = NULL, model = NULL)

Value

Sum of absolute relative exceedance errors (scalar).

Arguments

xdat

Numeric vector of data.

vecT

Numeric vector of return periods. Default is c(5, 10, 20, 40, 80).

para

Parameter vector for the model.

model

Model type: "gev11", "gev10", "gev20", or "gev00".