ppssstrat function

Stratified PPS systematic sampling

Stratified PPS systematic sampling

In each stratum, select a sample using pps systematic sampling

ppssstrat(sizes,stratum,n)

Arguments

  • sizes: A vector of the sizes of the units in the population, sorted by stratum
  • stratum: A vector of stratum codes, in the same order
  • n: A vector containing the sample size in each stratum

Returns

Returns the indices of the units that were selected in the sample

Note

ppssstrat calls ppss once per stratum. See the user's guide, pps-ug.pdf, for more information.

Examples

sizes <- c(1:5,10:6)*10 strat <- c(1,1,1,2,2,3,3,3,3,3) n <- c(2,1,3) ppssstrat(sizes,strat,n)
  • Maintainer: Jack G. Gambino
  • License: GPL (>= 2)
  • Last published: 2021-01-17

Useful links