CookAllocParam-class: S4 class for the parameters of the Cook-related allocation...

Description Slots Examples

Description

Definition of the S4 class named CookAllocParam for the parameters for the allocation of units to be edited interactively in each population domain under the optimization approach to selective editing using the Cook distance in a linear regression model.

Slots

Domains

data.table with a row per domain with the values of the variables determining the domains of the data set.

MaxAlloc

Integer vector with the maximum number of units to be allocated in each domain.

MinAlloc

Integer vector with the minimum number of units to be allocated in each domain.

AllocFactors

List with numeric vectors as components containing the proportionality factor of each domain for the allocation.

MaxUnits

Integer vector of length 1 with the maximal number of units to allocate.

Examples

1
2
3
4
5
CookAllocParam <- new(Class = 'CookAllocParam',
                      ObjVariables = c('CifraNeg_13.___', 'Personal_07._____705:1.-2.'),
                      Domains = 'ActivEcono_35._4._2.1.4._0',
                      Prob = 0.95,
                      alpha = 2 )

david-salgado/SelEditUnitAllocation documentation built on May 14, 2019, 9:32 p.m.