a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less".
mu1
mean value of x, or median if not given
mu2
mean value of y, or median if not given
method_p
a character string specifying the method of calculating p-value, must be one of "exact" (default), "sampling".
samplenum
The number of samples
samplemethod
a discrete value indicating the method of sampling. "S" represents sample function sampling; "W" represents Cistern Sampling; "R" represents Put-back sampling.
conf.level.sample
p-value confidence level for SRS sampling
Value
method
the test uesd
stat
RMD of the original data.
pval
p-value for the test.
conf.int
the confidence interval for p-value(only if method_p = "sampling")
alternative
a character string describing the alternative hypothesis
Details
The test is to test the difference of deviance of two samples, which has different sample means.
The arguments samplenum and samplemethod only work when method_p="sampling".
References
Higgins, J. J. (2004). An introduction to modern nonparametric statistics. Pacific Grove, CA: Brooks/Cole.