PracTools: Computations for Design of Finite Population Samples

PracTools is an R package with functions that compute sample sizes for various types of finite population sampling designs when totals or means are estimated. One-, two-, and three-stage designs are covered as well as allocations for stratified sampling and probability proportional to size sampling. Sample allocations can be computed that minimize the variance of an estimator subject to a budget constraint or that minimize cost subject to a precision constraint. The package also contains some specialized functions for estimating variance components and design effects. Several finite populations are included that are useful for classroom instruction.

Richard Valliant , Jill A. Dever , Frauke Kreuter

CRAN packages used

pps, sampling, samplingbook, simFrame, survey, PracTools, stratification, alabama, Rsolnp, SamplingStrata

CRAN Task Views implied by cited packages

OfficialStatistics, Optimization, SocialSciences, Survival


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Valliant, et al., "The R Journal: PracTools: Computations for Design of Finite Population Samples", The R Journal, 2015

BibTeX citation

  author = {Valliant, Richard and Dever, Jill A. and Kreuter, Frauke},
  title = {The R Journal: PracTools: Computations for Design of Finite Population Samples},
  journal = {The R Journal},
  year = {2015},
  note = {},
  doi = {10.32614/RJ-2015-028},
  volume = {7},
  issue = {2},
  issn = {2073-4859},
  pages = {163-176}