[R] fisher's posthock test or fisher's combination test

Knut Krueger rh at krueger-family.de
Wed Jul 28 15:01:52 CEST 2010


I was looking for:
fisher.comb <- function (pvalues)
{
df=length(pvalues)
ch2=(-2*sum(log(pvalues)))
return   pchisq(ch2, df=df, lower.tail=FALSE)
}

http://en.wikipedia.org/wiki/Fisher%27s_method
for the second part:
the calculation of the p-value from the result of fischer combination test .

Kind regards Knut



More information about the R-help mailing list