Learn R Programming

RVAideMemoire (version 0.9-7)

fisher.medtest: Comparison of 2 medians by Fisher's exact test

Description

Perform a Fisher's exact test to compare 2 medians whith small unpaired samples.

Usage

fisher.medtest(x, y)

Arguments

x
numeric vector.
y
numeric vector.

Value

  • datavariables name.
  • medianmedian of the whole sample.
  • tab.contcontingency table used to perform the test.
  • odds.ratiotest statistics.
  • p.valuep-value of the test.

See Also

fisher.test

Examples

Run this code
x<-rnorm(4,3,1.5)
y<-rnorm(4,5.5,2)
fisher.medtest(x,y)

Run the code above in your browser using DataLab