Allocation-Methods: Algorithms for Exact Optimization Allocation

Description Usage Arguments Details Value References

Description

Algorithms III and IV from Wright (2017), and classical (unconstrained) Neyman allocation. Algorithm III finds the optimial allocation for a given total sample size n. Algorithm IV samples until the overall variance is smaller than a given v0.

Usage

1
2
3
4
5
6
7
algIII(n, N_str, S_str, lo_str = rep(1, length(N_str)),
  hi_str = rep(Inf, length(N_str)), verbose = FALSE)

algIV(v0, N_str, S_str, lo_str = rep(1, length(N_str)),
  hi_str = rep(Inf, length(N_str)), verbose = FALSE)

neyman(n, N_str, S_str)

Arguments

n

Target sample size for Algorithm III (integer)

N_str

Population size for each stratum (integer vector)

S_str

Standard deviation for each stratum (numeric vector)

lo_str

Sample size lower bounds for each stratum (numeric vector)

hi_str

Sample size upper bounds for each stratum (numeric vector)

verbose

Print detailed information for each selection (boolean)

v0

Target variance for Algorithm IV (numeric)

Details

Global options for the package (with defaults) are:

Value

An object which contains the results; the structure depends on allocation method.

References

Tommy Wright (2012). The Equivalence of Neyman Optimum Allocation for Sampling and Equal Proportions for Apportioning the U.S. House of Representatives. The American Statistician, 66, pp.217-224.

Tommy Wright (2017), Exact optimal sample allocation: More efficient than Neyman, Statistics & Probability Letters, 129, pp.50-57.


andrewraim/tommysampling documentation built on Sept. 7, 2019, 5:26 a.m.