ComputeObsErrorSTD: 'ComputeObsErrorSTD' computes the observation error variance...

Description Usage Arguments Value Examples

Description

ComputeObsErrorSTD computes the observation error variance for each statistical unit

Usage

1
2
3
4
5
ComputeObsErrorSTD(object, Param)

## S4 method for signature 'contObsPredModelParam,ObsErrorSTDParam'
ComputeObsErrorSTD(object,
  Param)

Arguments

object

Object of class contObsPredModelParam containing the statistical units whose observation error variance for the variables is to be computed.

Param

Object of virtual class ObsErrorSTDParam with the parameters determining the variables and the method of computation of the observation error variance.

Value

Object of class contObsPredModelParam with the observation error variance computed for each variable specified in the parameters and each statistical unit.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 

ObsPredPar <- new(Class = 'contObsPredModelParam',
                  Data = FD,
                  VarRoles = list(Units = 'NOrden', Domains = 'Tame_05._2.'))

ImpParam <- new(Class = 'MeanImputationParam',
                VarNames = c('CifraNeg_13.___', 'Personal_07.__2.__'),
                DomainNames =  c('Tame_05._2.'))
ObsErrVarMLEParam <- new(Class = 'ObsErrorSTDMLEParam',
                         RawData = FD.StQList,
                         EdData = FF.StQList,
                         VarNames = c('CifraNeg_13.___', 'Personal_07.__2.__'),
                         Imputation = ImpParam)
ObsPredPar <- ComputeObsErrorSTD(ObsPredPar, ObsErrVarMLEParam)


## End(Not run)

david-salgado/contObsPredModelParam documentation built on Nov. 7, 2019, 5:45 p.m.