Re: [R] How to compute the P-value for a mixture of chi^2 distributions

2011-06-13 Thread Tiago Pereira
Thanks for your very constructive and helpful tips, Peter and Ted! -- View this message in context: http://r.789695.n4.nabble.com/How-to-compute-the-P-value-for-a-mixture-of-chi-2-distributions-tp3591276p3595373.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] How to compute the P-value for a mixture of chi^2 distributions

2011-06-12 Thread peter dalgaard
On Jun 12, 2011, at 03:36 , Thomas Lumley wrote: On Sun, Jun 12, 2011 at 12:44 PM, Tiago Pereira tiago.pere...@mbe.bio.br wrote: The test I am working on has an asymptotic 0.5*chi2(1)+0.5*chi2(2) distribution, where numbers inside parenthesis stand for the degrees of freedom. Is is

[R] How to compute the P-value for a mixture of chi^2 distributions

2011-06-11 Thread Tiago Pereira
Hello, The test I am working on has an asymptotic 0.5*chi2(1)+0.5*chi2(2) distribution, where numbers inside parenthesis stand for the degrees of freedom. Is is possible to compute quickly in R the cumulative distribution of that distribution? Thanks in advance. Tiago -- View this message in

Re: [R] How to compute the P-value for a mixture of chi^2 distributions

2011-06-11 Thread Thomas Lumley
On Sun, Jun 12, 2011 at 12:44 PM, Tiago Pereira tiago.pere...@mbe.bio.br wrote: The test I am working on has an asymptotic 0.5*chi2(1)+0.5*chi2(2) distribution, where numbers inside parenthesis stand for the degrees of freedom. Is is possible to compute quickly in R the cumulative distribution

Re: [R] How to compute the P-value for a mixture of chi^2 distributions

2011-06-11 Thread Tiago Pereira
thank you very much for your advice, Thomas! Extremely helpful! Cheers! Tiago -- View this message in context: http://r.789695.n4.nabble.com/How-to-compute-the-P-value-for-a-mixture-of-chi-2-distributions-tp3591276p3591365.html Sent from the R help mailing list archive at Nabble.com.