siegel_tukey: Siegel-Tukey Test

Description Usage Arguments Details Value Author(s) References Examples

View source: R/siegel_tukey.R

Description

Performs two-sample Siegel-Tukey test on vectors of data.

Usage

1
siegel_tukey (x,y,adjust.median=FALSE,...)

Arguments

x

numeric vector of data values.

y

numeric vector of data values.

adjust.median

a logical indicating whether you want the adjusted median, which represents difference of each value with median.

...

The input from twosample_test function.

Details

The test is about the scale parameter, to test the deviance. The arguments you want to modify is almost same with twosample_test.

Value

method

the test used.

stat

the statistic of the original data.

conf.int

the confidence interval for p-value(only if method_p = "sampling")

pval

p-value for the test

alternative

a character string describing the alternative hypothesis.

Author(s)

Jiasheng Zhang, Feng Yu, Yangyang Zhang, Siwei Deng. Tutored by YuKun Liu and Dongdong Xiang.

References

Higgins, J. J. (2004). An introduction to modern nonparametric statistics. Pacific Grove, CA: Brooks/Cole.

Examples

1
2
3
4
## A simple example
x <- c(33, 62, 84, 85, 88, 93, 97)
y<-c(4, 16, 48, 51, 66, 98)
siegel_tukey(x,y,adjust.median=FALSE)

CNPS documentation built on May 25, 2021, 9:06 a.m.

Related to siegel_tukey in CNPS...