Learn R Programming

GLmom (version 1.3.1)

gev.profxi.mdfy: Modified profile likelihood for GEV shape parameter

Description

Internal function that computes the profile log-likelihood for the GEV shape parameter with linear extrapolation beyond the observed range. Used for constructing confidence intervals on xi.

Usage

gev.profxi.mdfy(
  data = NULL,
  mle = NULL,
  xlow,
  xup,
  pick.v = NULL,
  nint = 256,
  figure = FALSE
)

Value

A list containing:

fail

Logical. TRUE if profile likelihood is degenerate

start

Starting method recommendation

w1

Profile CI results from comp.prof.ci()

ymin

Minimum y value for plotting

ymax

Maximum y value for plotting

Arguments

data

Numeric vector of data.

mle

MLE parameter estimates (mu, sigma, xi) in Coles parameterization.

xlow

Lower bound for xi search.

xup

Upper bound for xi search.

pick.v

Numeric vector of confidence levels for CI computation.

nint

Number of grid points. Default is 256.

figure

Logical. Whether to plot the profile likelihood. Default is FALSE.