Learn R Programming

GLmom (version 1.3.1)

com.prdist: Compute generalized L-moment distance probabilities

Description

Internal function that computes generalized L-moment distance and median-based distance probabilities for each candidate submodel.

Usage

com.prdist(
  data = NULL,
  numk = NULL,
  kfix = NULL,
  Vinv = NULL,
  detV = NULL,
  numom = NULL,
  hosking = NULL,
  trim = NULL,
  cov.type = "lambda"
)

Value

A list containing:

prob.mtx

Matrix (numk x 2) of probabilities (col 1 = gLd, col 2 = med)

gdd

Matrix (numk x 2) of generalized distances

Arguments

data

Numeric vector of data.

numk

Number of candidate submodels.

kfix

List of submodel fitting results.

Vinv

Inverse of the L-moment covariance matrix.

detV

Determinant of the L-moment covariance matrix.

numom

Number of L-moments.

hosking

List containing LME results.

trim

Left trimming level.

cov.type

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