Learn R Programming

SpotSampling (version 0.1.0)

SystematicDesign: Systematic sampling design

Description

Find the systematic sampling design of an inclusion probabilities vector. It gives all possible samples and their selection probabilities using the systematic sampling.

Usage

SystematicDesign(pik, EPS = 1e-06)

Arguments

pik

a vector of inclusion probabilities.

EPS

a tolerance parameter. Default value is 1e-6.

Value

Returns a list including:

samples a matrix that contains the systematic samples in rows. The samples have the same length as vector pik and contains 0s and 1s that specify whether a unit is selected or not in the sample.

probas a vector that contains the selection probabilities of samples in samples.

References

Quenouille, M. H. (1949). Approximate Tests of Correlation in time-Series. Royal Statistical Society, Series B Vol. 11, No. 1 (1949), pp. 68-84.

Tille, Y. (2020). Sampling and Estimation from Finite Populations. John Wiley & Sons, 91(4), page 89.

Examples

Run this code
# NOT RUN {
## Vector of inclusion probabilities ##
pik   <- c(0.2,0.3,0.6)
## Find the systematic sampling design of pik ##
SystematicDesign(pik)


# }

Run the code above in your browser using DataLab