This package implements several methods of allocation into strata for stratified sampling. In particular, they provide an alternative to Neyman’s classical method to minimize variance which avoid rounding.
To install from Github, first obtain the devtools
and
Rmpfr
packages. The latter is used for high precision
arithmetic. Then run the following.
::install_github("andrewraim/allocation") devtools