Learn R Programming

GLmom (version 1.3.1)

dist.noboot: Fit submodels and compute distance-based probabilities

Description

Internal function that fits GEV submodels with fixed xi for each candidate and computes generalized L-moment distance or median-based probabilities for weight construction.

Usage

dist.noboot(
  data = NULL,
  numk = NULL,
  hosking = NULL,
  boot.lme = TRUE,
  kpar = NULL,
  numom = NULL,
  ntry = 5,
  varcom = NULL,
  cov.lme = NULL,
  trim = NULL,
  cov.type = "lambda"
)

Value

A list containing:

aic

AIC values for each submodel

mle3

Matrix (numk x 3) of submodel parameter estimates

kfix

List of submodel fitting results

cov2

List of 2x2 covariance matrices (if varcom=TRUE)

prob.mtx

Matrix (numk x 3) of distance-based probabilities

gdd

Matrix (numk x 2) of generalized distances

Arguments

data

Numeric vector of data.

numk

Number of candidate submodels.

hosking

List containing LME results and bootstrap information.

boot.lme

Logical. Whether bootstrap LME was performed (default TRUE).

kpar

Numeric vector of candidate xi values.

numom

Number of L-moments to use.

ntry

Number of optimization attempts. Default is 5.

varcom

Logical. Whether to compute variance.

cov.lme

Pre-computed LME covariance (default NULL).

trim

Left trimming level.

cov.type

Covariance type: "ratio" or "lambda" (default "lambda").