powered by
The rss function samples from a target population by using ranked set sampling method.
rss
rss(X,m,r=1,sets=FALSE)
A vector of target population
Size of units in each set
Number of cycles. (By default=1)
logical; if TRUE, ranked set samples are given with ranked sets (see rankedsets)
rankedsets
randomly chosen ranked sets
the obtained ranked set sample of X
Target population X must be a vector.
McIntyre, G. A. (1952). A method for unbiased selective sampling, using ranked sets. Australian Journal of Agricultural Research, 3(4), 385-390.
con.rss
# NOT RUN { 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) # }
Run the code above in your browser using DataLab