inclusionprobastrata {sampling}R Documentation

Strata inclusion probabilities

Description

Return a vector of the inclusion probabilities for a stratified design. The inclusion probabilities are equal in each strata.

Usage

inclusionprobastrata(strat,nh)

Arguments

strat vector that defines the strata.
nh vector with the number of units to be selected in each strata.

See Also

balancedstratification

Examples

# the strata
strat=c(1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,3)
# size of the sample in the strata.
nh=c(2,3,3)
inclusionprobastrata(strat,nh)

[Package sampling version 0.2 Index]