Re: [R] chi square table

2008-11-07 Thread Peter Dalgaard
Berwin A Turlach wrote: rant on That's the problem with introductory textbook whose author think they do the students a favour by using notation as z_alpha, z_0.01, z_(alpha/2) instead of z_(1-alpha), z_0.99, z_(1-alpha/2), respectively. In my opinion this produces in the long run only

Re: [R] chi square table

2008-11-06 Thread David Scott
On Fri, 7 Nov 2008, cruz wrote: Hi, How do we get the value of a chi square as we usually look up on the table on our text book? i.e. Chi-square(0.01, df=8), the text book table gives 20.090 dchisq(0.01, df=8) [1] 1.036471e-08 pchisq(0.01, df=8) [1] 2.593772e-11 qchisq(0.01, df=8) [1]

Re: [R] chi square table

2008-11-06 Thread Erik Iverson
qchisq(0.01, df = 8, lower.tail = FALSE) [1] 20.09024 cruz wrote: Hi, How do we get the value of a chi square as we usually look up on the table on our text book? i.e. Chi-square(0.01, df=8), the text book table gives 20.090 dchisq(0.01, df=8) [1] 1.036471e-08 pchisq(0.01, df=8) [1]

Re: [R] chi square table

2008-11-06 Thread Simon Blomberg
qchisq(0.01, df=8, lower.tail=FALSE) [1] 20.09024 See ?dchisq On Fri, 2008-11-07 at 09:47 +0800, cruz wrote: Hi, How do we get the value of a chi square as we usually look up on the table on our text book? i.e. Chi-square(0.01, df=8), the text book table gives 20.090 dchisq(0.01,

Re: [R] chi square table

2008-11-06 Thread Berwin A Turlach
G'day Cruz, On Fri, 7 Nov 2008 09:47:47 +0800 cruz [EMAIL PROTECTED] wrote: Hi, How do we get the value of a chi square as we usually look up on the table on our text book? i.e. Chi-square(0.01, df=8), the text book table gives 20.090 dchisq(0.01, df=8) [1] 1.036471e-08