Drss {RSSampling} | R Documentation |
Selecting double (classical or modified) ranked set sample
Description
The Drss
function samples from a target population by using multi-stage ranked set sampling methods.
Usage
Drss(X,m,r=1,type="d",sets=FALSE,p)
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 |
type |
type of the modified RSS method. "d" for double RSS, "dm" for double median RSS, "dp" for double percentile RSS, "de" for double extreme RSS. (By default = "d") |
p |
Value of percentile for double percentile RSS method |
Details
Target population X must be a vector. Value of percentile (p) must be between 0 and 1.
Value
sets |
the ranked sets where ranked set sample is chosen from |
sample |
the obtained ranked set sample of X |
References
Al-Saleh, M. F., & Al-Kadiri, M. A. (2000). Double-ranked set sampling. Statistics & Probability Letters, 48: 205-212.
Samawi, H.M. & Tawalbeh, E.M. (2002). Double median ranked set sampling: Comparison to other double ranked set samples for mean and ratio estimators. Journal of Modern Applied Statistical Methods, 1(2): 428-442.
Samawi, H.M. 2002. On double extreme ranked set sample with application to regression estimator. Metron, LXn1-2: 53-66.
Jemain, A.A. & Al-Omari, A.I. (2006). Double percentile ranked set samples for estimating the population mean. Advances and Applications in Statistics, 6(3): 261-276.
See Also
Mrss
, Rrss
, con.Mrss
, con.Rrss
Examples
data=rnorm(10000)
##Seleceting a double ranked set sample
Drss(data,m=4,r=3,sets=TRUE)
##Seleceting a double median ranked set sample
Drss(data,m=4,r=3,type="dm",sets=TRUE)
##Seleceting a double extreme ranked set sample
Drss(data,m=4,r=3,type="de",sets=TRUE)
##Seleceting a double percentile ranked set sample
Drss(data,m=4,r=3,type="dm",sets=TRUE,p=0.6)