Description Usage Arguments Details Value References Examples
It performs the RSS version of the sign test given by Chen et. al.(2003).
1 | sign1testrss(sampledata,m,r,median0,alpha=0.05,alternative="two.sided")
|
sampledata |
An obtained ranked set sample |
m |
Number of units in each set (set size) |
r |
Number of cycles |
median0 |
The median value in the null hypothesis |
alpha |
The significance level (by default = 0.05). |
alternative |
Character string defining the alternative hypothesis, one of "two.sided", "less" or "greater" (by default = "two.sided") |
The test statistics and an approximate confidence intervals are constructed by using the normal approximation. Also note that, we assume that the ranking mechanism in the RSS is consistent. For more details please refer to Chen et. al.(2003, pg. 103-115).
median |
The median value of the given set |
sign.test.stat |
The value of the RSS sign test statistic |
C.I. |
the confidence interval for median |
z.test |
the z statistic for test |
p.value |
the p value for the test |
Chen, Z., Bai Z., Sinha B. K. (2003). Ranked Set Sampling: Theory and Application. New York: Springer.
1 2 3 | data=rnorm(10000,0,1)
samplerss=as.numeric(rss(data,m=3,r=12))
sign1testrss(samplerss,m=3,r=12,median0=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.