rankedsets {RSSampling}R Documentation

Selecting ranked sets

Description

The rankedsets function selects ranked sets from a target population. The selection of units in a set is without replacement, but the sets are selecting with replacement.

Usage

  rankedsets(X,m,s=m)

Arguments

X

A vector of target population

m

Size of units in each set

s

Number of sets. (by default = m)

Details

Target population X must be a vector.

Value

It returns a matrix of ranked sets.

References

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

Examples


  data=rexp(10000,3)
  ## Creating m by m matrix (a regular cycle)
  rankedsets(data,m=5)
  ## Creating m by s matrix
  rankedsets(data,m=3,s=5)


[Package RSSampling version 1.0 Index]