doDBestimation: Create design-based point and variance estimates from RDBES...

View source: R/doDBestimation.R

doDBestimationR Documentation

Create design-based point and variance estimates from RDBES estimation object (rdbesEstimObj)

Description

Create 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

Value

a list of values for pointEstimate, varEstimate and estimation options

Examples

## Not run: 
data(shrimps)
doDBestimation (x = shrimps, estimateType = "total",
pointEstimator = "Unbiased", varEstimator = "WRonPSUviaPsi",stage = 0,
domainOfinterest = NULL )
 
## End(Not run)

ices-tools-dev/icesRDBES documentation built on April 17, 2025, 1:58 p.m.