selectrs {SDaA}R Documentation

Steps used in Selecting an SRS

Description

Steps used in selecting the simple random sample (SRS) in Example 2.4 of Lohr(1999).

Usage

selectrs

Format

Data frame with the following 5 variables:

a

random number generated between 0 and 1

b

ceiling(3048*RN), with RN the random number in column a

c

distinct values in column b

d

new values generated to replace duplicates in b

e

final set of distinct values to be used in sample

Note

the set of indices in column e was used to select observations from agpop into dataset agsrs.

References

Lohr (1999). Sampling: Design and Analysis, Duxbury, p. 31–34 and 444.


[Package SDaA version 0.1-5 Index]