estimMC: Multiple Count Estimator for Population Total and Variance

View source: R/estimMC.R

estimMCR Documentation

Multiple Count Estimator for Population Total and Variance

Description

Multiple Count Estimator for Population Total and Variance

Usage

estimMC(
  y,
  sampled,
  total,
  method = "SRSWOR",
  selProb = NULL,
  incProb = NULL,
  verbose = FALSE
)

Arguments

y

numeric variable to be estimated

sampled

numeric total number of units sampled

total

numeric total number of units int the population

method

character selection method code e.g SRSWOR

selProb

the selection probabilities (if known)

incProb

the inclusion probabilities (if known)

verbose

(Optional) Set to TRUE if you want informative text printed out, or FALSE if you don't. The default is FALSE.

Value

list of 7 elements including the population mean, total (and their variance), the algorithm name used and the I order inclusion probabilities

Examples

estimMC(c(3, 4, 4, 5), c(4, 4, 4, 4), c(8, 8, 8, 8))

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