Description Usage Arguments Value Examples
ComputeErrorMoments
computes the moments of measurement error for each statistical unit
1 2 3 4 5 6 | ComputeErrorMoment(object, Param)
## S4 method for signature 'contObsPredModelParam,AbsLossErrorMomentParam'
ComputeErrorMoment(object,
Param)
|
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. |
Object of class ErrorMoments with the measurement error computed for each variable and each statistical unit.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.