[R] p-value calculation

2005-10-18 Thread richard mendes
hello everybody i'm very new at using R so probably this is a very stupid question. I have a problem calculating a p-value. When i do this with excel i can use the method CHIDIST for 1.2654 with 1 freedom degree i get the answer 0.261 i just want to do the same thing in R but i can't find a

Re: [R] p-value calculation

2005-10-18 Thread Marc Schwartz (via MN)
On Tue, 2005-10-18 at 17:13 +0200, richard mendes wrote: hello everybody i'm very new at using R so probably this is a very stupid question. I have a problem calculating a p-value. When i do this with excel i can use the method CHIDIST for 1.2654 with 1 freedom degree i get the answer 0.261

Re: [R] p-value calculation

2005-10-18 Thread Robert Kinley
pchisq(1.2654,1) [1] 0.7393686 looks like excel gave you the other tail bob kinley richard mendes [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18/10/2005 16:13 To R-help@stat.math.ethz.ch cc Subject [R] p-value calculation hello everybody i'm very new

Re: [R] p-value calculation

2005-10-18 Thread ronggui
pchisq(1.2654,df=1,low=F) [1] 0.2606314 === 2005-10-18 23:13:20 您在来信中写道:=== hello everybody i'm very new at using R so probably this is a very stupid question. I have a problem calculating a p-value. When i do this with excel i can use the method CHIDIST for 1.2654 with 1 freedom

Re: [R] p-value calculation

2005-10-18 Thread Peter Dalgaard
richard mendes [EMAIL PROTECTED] writes: hello everybody i'm very new at using R so probably this is a very stupid question. I have a problem calculating a p-value. When i do this with excel i can use the method CHIDIST for 1.2654 with 1 freedom degree i get the answer 0.261 i just want

Re: [R] p-value calculation

2005-10-18 Thread Nordlund, Dan
Look at ?pchisq Daniel Nordlund Bothell, WA -Original Message- From: [EMAIL PROTECTED] [mailto:r-help- [EMAIL PROTECTED] On Behalf Of richard mendes Sent: Tuesday, October 18, 2005 8:13 AM To: R-help@stat.math.ethz.ch Subject: [R] p-value calculation hello everybody i'm very

Re: [R] p-value calculation

2005-10-18 Thread Don MacQueen
1-pchisq(1.2654,1) [1] 0.2606314 -Don At 5:13 PM +0200 10/18/05, richard mendes wrote: hello everybody i'm very new at using R so probably this is a very stupid question. I have a problem calculating a p-value. When i do this with excel i can use the method CHIDIST for 1.2654 with 1 freedom