View source: R/doDBestimation.R
doDBestimation | R Documentation |
Create design-based point and variance estimates from RDBES estimation object (rdbesEstimObj)
doDBestimation(
x = rdbesEstimObj,
estimateType = "total",
pointEstimator = "Unbiased",
varEstimator = "WRonPSUviaPik",
stage = 0,
domainOfinterest = NULL
)
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 |
a list of values for pointEstimate, varEstimate and estimation options
## Not run:
data(shrimps)
doDBestimation (x = shrimps, estimateType = "total",
pointEstimator = "Unbiased", varEstimator = "WRonPSUviaPsi",stage = 0,
domainOfinterest = NULL )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.