Learn R Programming

GLmom (version 1.3.1)

wlik.xifix: Likelihood-based weights with fixed xi

Description

Internal function that computes AIC-based model averaging weights using the profile likelihood with L-moment submodel estimates for each candidate xi.

Usage

wlik.xifix(
  data = NULL,
  numk = NULL,
  kpar = NULL,
  weight = NULL,
  pertr = 0.85,
  varcom = FALSE,
  type = NULL,
  prior = NULL,
  trim = NULL
)

Value

A list containing:

bmaw

BMA weight vector

wt

MA weight vector

aic

AIC values for each submodel

kfix

Matrix (3 x numk) of submodel parameters

cov2

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

Arguments

data

Numeric vector of data.

numk

Number of candidate submodels.

kpar

Numeric vector of candidate xi values.

weight

Weighting method name.

pertr

Perturbation parameter (default 0.85).

varcom

Logical. Whether to compute variance (default FALSE).

type

Type of computation.

prior

Numeric vector of BMA prior values.

trim

Left trimming level.