strata.allocation: Strata allocation given a sample size
Description
Function to allocate the number of samples to be taken for each
strata given the total sample size and the strata.allocation method. The number of allocations
returned will be equal to the length of the parameters.
Usage
strata.allocation(
Nh,
n,
var,
alloc = c("unif", "prop", "min", "optim"),
C,
cini,
ch
)
Value
Vector of strata sample sizes.
Arguments
Nh
Vector of population strata sizes.
n
Sample size
var
Vector of strata variances.
alloc
The allocation method to be used. Default is "unif".
C
Total study cost.
cini
Overhead study cost.
ch
Vector of costs to take an individual from a strata for the sample.
Details
alloc="optim" is the only that requires cost function data.
Total study and overhead study costs are optional. If given allocation will be done
so total study cost is not surpassed.s