Paired Wilcoxon-test
paired_wilcoxon_inference.RdCompute the Wilcoxon ranked sum between paired samples.
Usage
paired_wilcoxon_inference(
formula,
data,
alternative = c("two.sided", "less", "greater"),
null = 0,
conf.level = 0.95
)Arguments
- formula
a formula of the form
y2 - y1 ~ 1or~ y2 -y1, wherey1andy2are numeric variables. To perform test within subgroups, usey2 - y1 ~ xory2 - y1 ~ 1 | g, or eveny2- y1 ~ x | g, wherexandgare factor variables.- data
a data frame containing the values in the formula.
- alternative
character string specifying the alternative hypothesis, must be one of "
two.sided" (default), "greater" or "less".- null
a number specifying the null proportion for testing a null hypothesis; if not specified, no hypothesis test is performed.
- conf.level
confidence level of the returned confidence interval. Must be a single number between 0 and 1.