Create design-based point and variance estimates from RDBES estimation object (rdbesEstimObj)
Source:R/doDBestimation.R
doDBestimation.RdCreate design-based point and variance estimates from RDBES estimation object (rdbesEstimObj)
Usage
doDBestimation(
x = rdbesEstimObj,
estimateType = "total",
pointEstimator = "Unbiased",
varEstimator = "WRonPSUviaPik",
stage = 0,
domainOfinterest = NULL
)Arguments
- x
a data.frame (or data.table) in rdbesEstimObj format with value of target variable in column targetValue
- estimateType
a string with type of estimate. As of now only "total" is defined
- pointEstimator
a string with type of point estimator. As of now only "Unbiased" is defined
- varEstimator
a string with type of variance estimator. As of now only "WRonPSUviaPik" is defined
- stage
a natural number (0,1,..) with sampling stage of estimate. 0 corresponds to DE level.
- domainOfinterest
list ofdomains of interest (e.g., SAarea). As of now only NULL (=no domain estimate) is defined
Examples
if (FALSE) { # \dontrun{
data(shrimps)
doDBestimation (x = shrimps, estimateType = "total",
pointEstimator = "Unbiased", varEstimator = "WRonPSUviaPsi",stage = 0,
domainOfinterest = NULL )
} # }