sunter: Sunter sampling

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

The function uses the Sunter's method to select a sample of units (unequal probabilities, without replacement, fixed sample size).

Usage

1
sunter(x, n)

Arguments

x

the vector of values of the auxiliary variable (measure of size)

n

the sample size

Value

a vector of size n that contains the selected units

Note

A special thank to Hugo Andres Gutierrez Rojas for a fruitful exchange of ideas on Sunter's sampling design. Please note that the Sunter's sampling design here implemented corresponds to the version fully described in the reference below.

Author(s)

Alessandro Barbiero, Giancarlo Manzi

References

C-E. Sarndal, B. Swensson, J. Wretman: Model Assisted Survey Sampling, Springer, New York, 1992

See Also

sunterpi, sunterpi2

Examples

1
2
3
4
# from Sarndal et al. (1992)
x<-c(40,25,20,10,5)
n<-2
sunter(x,n)

Example output

[1] 1 2

SunterSampling documentation built on May 1, 2019, 8:47 p.m.