Hi All, Can somebody tell me how to use R to combine p values using Fisher's method? thanks. Jiong The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message (and any attachments). Thank You. [[alternative HTML version deleted]]
On 08/16/07 12:50, Jiong Zhang, PhD wrote:> Hi All, > > Can somebody tell me how to use R to combine p values using Fisher's method? thanks.This might get you started. It is for the sole purpose of combining two two-tailed p-values for effects in the same direction. Thus, it is not very general. I think it gives a one-tailed result. Better check it. combine <- function(x,y) return(pchisq(-2*log(x/2)-2*log(y/2),4,low=F)) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron
Page 14 of the working paper http://www.burns-stat.com/pages/Working/perfmeasrandport.pdf gives an example of why you might not want to use Fisher's method, and it gives R code for Stouffer's method. Patrick Burns patrick at burns-stat.com +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User") Jiong Zhang, PhD wrote:>Hi All, > >Can somebody tell me how to use R to combine p values using Fisher's method? thanks. > >Jiong > > > The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message (and any attachments). Thank You. > > > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. > > > >
Hi to all, is there any function available to combine those p values; Kind Regards Knut
Hi Knut, ?"+" > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. Best, Stephan Knut Krueger schrieb:> Hi to all, > is there any function available to combine those p values; > > > Kind Regards Knut > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On 08/07/2010 1:25 PM, Knut Krueger wrote:> Hi to all, > is there any function available to combine those p values;No, not in general, because the proper way to do it depends on the joint distribution of the inputs, and what you want to use the combined value to test. Duncan Murdoch
On Jul 8, 2010, at 2:17 PM, Stephan Kolassa wrote:> Knut Krueger schrieb: >> Hi to all, >> is there any function available to combine those p values;> Hi Knut, > > ?"+" >That is certainly in the running for shortest possible fortune.> > PLEASE do read the posting guide > > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > Best, > Stephan >David Winsemius, MD West Hartford, CT
On Thu, 8 Jul 2010, David Winsemius wrote:> > On Jul 8, 2010, at 2:17 PM, Stephan Kolassa wrote: > >> Knut Krueger schrieb: >>> Hi to all, >>> is there any function available to combine those p values; > >> Hi Knut, >> >> ?"+" >> > > That is certainly in the running for shortest possible fortune.Added to the devel-version on R-Forge. It is related (both in length and content) to fortune(264). :-) Soham: How to compute the p-value of a statistic generally? Berton Gunter: runif(1) -- Soham and Berton Gunter R-help (May 2010)>> > PLEASE do read the posting guide >> > http://www.R-project.org/posting-guide.html >> > and provide commented, minimal, self-contained, reproducible code. >> >> Best, >> Stephan >> > > David Winsemius, MD > West Hartford, CT > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >