AbsLossErrorMoment: 'AbsLossErrorMoment' computes the conditional error moments

Description Usage Arguments Value Examples

View source: R/AbsLossErrorMoment.R

Description

AbsLossErrorMoment computes the conditional error moments

Usage

1
AbsLossErrorMoment(Raw, Pred, nu, sigma, w, p, Homoskedastic = TRUE)

Arguments

Raw

Numeric vector with the raw values of the object variable for each statistical unit.

Pred

Numeric vector with the predicted values for the object variable for each statistical unit.

nu

Numeric vector with the prediction error standard deviation for each statistical unit.

sigma

Numeric vector with the observation error standard deviation for each statistical unit.

w

Numeric vector with the design weights for each statistical unit.

p

Numeric vector with the probabilities of measurement error for each statistical unit.

Homoskedastic

TRUE (default) or FALSE indicating whether to use a homoskedastic or heteroskedastic model.

Value

Numeric vector with the values moments for each statistical unit.

Examples

1
AbsLossErrorMoment(10000, 12000, 2500, 5000, 1.9, 0.75)

david-salgado/SelEditFunctions documentation built on Oct. 22, 2019, 6:25 a.m.