Learn R Programming

shipunov (version 1.17.1)

Rro.test: Robust rank order test

Description

Robust rank order test

Usage

Rro.test(x1, y1)

Value

Returns z statistic and p-value.

Arguments

x1

Fist numerical variable

y1

Second numerical variable

Author

Alexey Shipunov

Details

Robust rank order test (modification of Wilcoxon test for samples with contrasting variation), a variant of Fligner-Policello test.

Alternatives: robustrank::mod.wmw.test() (probably more sophisticated); npsm::fp.test(); NSM3::pFligPoli() (very advanced, with possibilities of exact and Monte Carlo testing); RVAideMemoire::fp.test() (developed in the way similar to most base R tests, probably the best alternative).

Examples

Run this code
## data from help(wilcox.test)
x <- c(0.80, 0.83, 1.89, 1.04, 1.45, 1.38, 1.91, 1.64, 0.73, 1.46)
y <- c(1.15, 0.88, 0.90, 0.74, 1.21)
Rro.test(x, y)

Run the code above in your browser using DataLab