Learn R Programming

GLmom (version 1.3.1)

cons.MatC: Construct covariance matrix C for model averaging SE

Description

Internal function that constructs the cross-covariance matrix between submodel quantile estimators using the delta method and quantile correlation approximation.

Usage

cons.MatC(mywt, cov22, quant)

Value

A list containing:

MatC

Array (numk x numk x numq) of cross-covariance values

fin.se

SE under fixed weights for MA

fin.se.bma

SE under fixed weights for BMA

numk

Number of submodels

numq

Number of quantiles

wtgd

MA weights

bmaw

BMA weights

Arguments

mywt

Weight computation result list from weight.com().

cov22

Array of 2x2 covariance matrices for each submodel (2 x 2 x numk).

quant

Numeric vector of quantile probabilities.