
Wilcoxon Signed Rank Test with Plain-English Interpretation
Source:R/nonparam_interpret.R
wilcoxon_interpret.RdWilcoxon Signed Rank Test with Plain-English Interpretation
Value
An object of class statease_wilcoxon containing
test results and interpretation. Use print() to display
the formatted report.
Examples
x <- c(23, 45, 12, 67, 34, 89, 56)
y <- c(19, 38, 22, 51, 29, 74, 44)
result <- wilcoxon_interpret(x, y)
#> Warning: Sample size is small (n < 10). Interpret results with caution.
print(result)
#>
#> -- statease Wilcoxon Signed Rank Test Report --------------------
#> Variable : Variable
#> N (pairs) : 7
#> Pre Median : 38.00
#> Post Median : 45.00
#> -----------------------------------------------------------------
#> V statistic : 24.000
#> p-value : 0.1094
#> 95% CI : [-2.500, 15.000]
#> Effect size : 0.605 (large)
#> -----------------------------------------------------------------
#> Interpretation:
#> The result is not statistically significant (p = 0.1094 > alpha 0.05).
#> Post-measurement values appear stochastically greater than pre-measurement values. (Reported medians: Post = 45.00, Pre = 38.00)
#> Effect size is large (r = 0.605).
#> Note: Wilcoxon test compares groups using ranked values.
#> A significant result sugegsts one group tends to have larger or smaller observation than the other.
#> This can be interpreted as evidence of stochastic superiority, but only under typical distribution assumptions. It does not specifically test differences in medians.
#> -----------------------------------------------------------------
#>