Learn R Programming

GLmom (version 1.3.1)

gev.xifix.sing: MLE for GEV with fixed shape parameter (single candidate)

Description

Internal function that computes MLE of GEV location and scale parameters with a fixed shape parameter using L-BFGS-B optimization. Optionally computes Prescott-Walden Hessian for variance estimation.

Usage

gev.xifix.sing(xdat = NULL, xifix = -0.1, ntry = 5, varcom = NULL)

Value

A list of class "gev.xifix" containing:

conv

Convergence status (0 = success)

nllh

Negative log-likelihood at the optimum

mle

MLE estimates (mu, sigma, xi)

cov

2x2 covariance matrix (if varcom=TRUE)

Arguments

xdat

Numeric vector of data.

xifix

Fixed shape parameter value. Default is -0.1.

ntry

Number of optimization attempts. Default is 5.

varcom

Logical. If TRUE, computes Prescott-Walden covariance matrix.