Re: [R] combining P values using Fisher's method

2007-08-17 Thread Patrick Burns
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
[EMAIL PROTECTED]
+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@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.


  


__
R-help@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.


[R] combining P values using Fisher's method

2007-08-16 Thread Jiong Zhang, PhD
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@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.


Re: [R] combining P values using Fisher's method

2007-08-16 Thread Jonathan Baron
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

__
R-help@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.