Description Usage Arguments Details Value References See Also Examples
The rss
function samples from a target population by using ranked set sampling method.
1 |
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 |
Target population X must be a vector.
sets |
randomly chosen ranked sets |
sample |
the obtained ranked set sample of X |
McIntyre, G. A. (1952). A method for unbiased selective sampling, using ranked sets. Australian Journal of Agricultural Research, 3(4), 385-390.
1 2 3 |
$sets
[,1] [,2] [,3] [,4] [,5]
[1,] -2.7585169 -0.38093817 -0.10696957 1.4439514 3.169444
[2,] -3.7175957 0.11298495 1.14648714 1.2223776 5.467325
[3,] -0.5764858 1.42236569 1.97224749 2.9285550 4.277387
[4,] -5.3782548 -3.96754684 -1.70740448 1.6444418 5.273997
[5,] -2.9526819 2.36306757 2.76055006 6.0723635 7.198528
[6,] -0.9959381 0.05228693 3.06011200 4.0997863 4.621326
[7,] -3.0289010 -2.06037285 1.14891133 1.3574701 1.426375
[8,] -1.5878697 -0.83375241 0.08004583 1.4934566 2.712725
[9,] -2.6926976 -0.82728915 -0.01153866 1.0971791 5.042713
[10,] -3.5600044 -2.20038437 -1.18239754 1.6615244 9.253848
[11,] -1.5459064 -1.39640455 -1.17089407 -0.0748791 1.377007
[12,] 2.7202128 3.45382751 3.95858759 3.9649521 6.411855
[13,] -3.0956999 -1.00569072 -0.46907036 1.2336562 2.041467
[14,] -1.4118483 -1.07318997 1.64167157 2.3387145 3.151169
[15,] -4.7398544 -2.55035903 -1.16878206 5.5250602 5.658871
$sample
m = 1 m = 2 m = 3 m = 4 m = 5
r = 1 -2.7585169 0.1129849 1.97224749 1.644442 7.198528
r = 2 -0.9959381 -2.0603729 0.08004583 1.097179 9.253848
r = 3 -1.5459064 3.4538275 -0.46907036 2.338714 5.658871
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.