selectrs: Steps used in Selecting an SRS

selectrsR 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.


SDaA documentation built on April 11, 2022, 5:08 p.m.

Related to selectrs in SDaA...