Module Tests.WilcoxonT

module WilcoxonT: sig .. end

val one_sample : float array ->
?shift:float ->
?alternative:Tests.test_alternative ->
?correction:bool -> unit -> Tests.test_result
Wilcoxon signed-rank test, which evaluates the null hypothesis that sample median is equal to the specified shift.

Test assumptions:

  1. Sample under test was randomly selected from the population it represents.
  2. All vs -. shift differences are iid and come from a continious population.

val two_sample_paired : float array ->
float array ->
?alternative:Tests.test_alternative ->
?correction:bool -> unit -> Tests.test_result
Wilcoxon paired signed-rank test, which evaluates the null hypothesis that two related samples have equal medians.

Test assumptions:

  1. Samples under test were randomly selected from the population they represent.
  2. Observation differences vs2 -. vs1 are iid and come from a continious population.


References

  1. David J. Sheskin. "Handbook of Parametric and Nonparametric Statistical Procedures", 3rd edition. CRC Press, 2003.
  2. http://www.fon.hum.uva.nl/Service/Statistics/Signed_Rank_Algorihms.html