powered by
Computes the inclusion probabilities for a stratified design. The inclusion probabilities are equal in each stratum.
inclusionprobastrata(strata,nh)
vector that defines the strata.
vector with the number of units to be selected in each stratum.
balancedstratification
# NOT RUN { # the strata strata=c(1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,3) # sample size in each stratum nh=c(2,3,3) inclusionprobastrata(strata,nh) # }
Run the code above in your browser using DataLab