Learn R Programming

GLmom (version 1.3.1)

remle.gev: Restricted MLE for GEV (Mixed Estimation)

Description

Computes restricted maximum likelihood estimates for GEV parameters with constraints on the mean or median matching the sample statistics.

Usage

remle.gev(
  xdat,
  ntry = 5,
  rest = "mean",
  quant = c(0.99, 0.995),
  trim = 0,
  CD.mle = NULL,
  mle = NULL,
  second = TRUE,
  w.mpse = FALSE
)

Value

A list containing:

remle1

First-stage REMLE estimates

qua.remle1

Quantiles from first-stage REMLE

remle2

Second-stage REMLE estimates (if second=TRUE)

qua.remle2

Quantiles from second-stage REMLE

rest.method

Restriction method used

Arguments

xdat

Numeric vector of data.

ntry

Number of random starting points. Default is 5.

rest

Restriction type: 'mean' (default) or 'median'.

quant

Probabilities for quantile estimation. Default is c(0.99, 0.995).

trim

Left trimming level. Default is 0.

CD.mle

Coles-Dixon MLE (optional). If NULL, computed internally.

mle

Standard MLE (optional). If NULL, computed internally.

second

Logical. If TRUE, compute second-stage REMLE. Default is TRUE.

w.mpse

Logical. If TRUE, compute MPSE. Default is FALSE.