stratasamp.Rd
The function stratasamp
calculates the sample size for each stratum depending on type of allocation.
stratasamp(n, Nh, Sh = NULL, Ch = NULL, type = 'prop')
n | positive integer specifying sampling size. |
---|---|
Nh | vector of population sizes of each stratum. |
Sh | vector of standard deviation in each stratum. |
Ch | vector of cost for a sample in each stratum. |
type | type of allocation. Default is |
The function stratasamp
returns a matrix, which lists the strata and the sizes of observation depending on type of allocation.
Kauermann, Goeran/Kuechenhoff, Helmut (2010): Stichproben. Methoden und praktische Umsetzung mit R. Springer.
Shuai Shao and Juliane Manitz
#> #> Stratum 1 2 3 4 #> Size 303 150 38 9#> #> Stratum 1 2 3 4 #> Size 49 112 194 145