ComputeErrorMoment: 'ComputeErrorMoments' computes the moments of measurement...

Description Usage Arguments Value Examples

Description

ComputeErrorMoments computes the moments of measurement error for each statistical unit

Usage

1
2
3
4
5
6
ComputeErrorMoment(object, Param)


  ## S4 method for signature 'contObsPredModelParam,AbsLossErrorMomentParam'
ComputeErrorMoment(object,
  Param)

Arguments

object

Object of class contObsPredModelParam containing the statistical units whose moments of measurement error for each variable is to be computed.

Param

Object of virtual class ErrorMomentParam with the parameters determining the method of computation of the moments of each statistical unit.

Value

Object of class ErrorMoments with the measurement error computed for each variable and each statistical unit.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
ObsPredPar <- readRDS('../ObsPredPar.rds')
ImpParam <- new(Class = 'MeanImputationParam',
                VarNames = c('CifraNeg_13.___', 'Personal_07.__2.__'),
                DomainNames =  c('Tame_05._2.', 'ActivEcono_35._4._2.1.4._0'))

AbsLossPar <- new(Class = 'AbsLossErrorMomentParam',
                  VarNames =  c("CifraNeg_13.___", "Personal_07.__2.__"),
                  Homoskedastic = c(FALSE, FALSE),
                  Imputation = ImpParam)


ComputeErrorMoment(ObsPredPar, AbsLossPar)


## End(Not run)

david-salgado/SelEditErrorMoment documentation built on July 31, 2019, 11:32 p.m.