rss {RSSampling}R Documentation

Selecting classical ranked set sample

Description

The rss function samples from a target population by using ranked set sampling method.

Usage

rss(X,m,r=1,sets=FALSE)

Arguments

X

A vector of target population

m

Size of units in each set

r

Number of cycles. (By default=1)

sets

logical; if TRUE, ranked set samples are given with ranked sets (see rankedsets)

Details

Target population X must be a vector.

Value

sets

randomly chosen ranked sets

sample

the obtained ranked set sample of X

References

McIntyre, G. A. (1952). A method for unbiased selective sampling, using ranked sets. Australian Journal of Agricultural Research, 3(4), 385-390.

See Also

con.rss

Examples

data=rnorm(10000,1,3)
## Selecting classical ranked set sample with set size \emph{m} and cycle size \emph{r}
rss(data,m=5,r=3,sets=TRUE)

[Package RSSampling version 1.0 Index]