[R] chi square table

David Scott d.scott at auckland.ac.nz
Fri Nov 7 03:00:33 CET 2008


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] 1.646497
>>
>
> nono of them give me 20.090
>
> Thanks,
> cruz
>


> qchisq(0.99, df=8)
[1] 20.09024

_________________________________________________________________
David Scott	Department of Statistics, Tamaki Campus
 		The University of Auckland, PB 92019
 		Auckland 1142,    NEW ZEALAND
Phone: +64 9 373 7599 ext 86830		Fax: +64 9 373 7000
Email:	d.scott at auckland.ac.nz

Graduate Officer, Department of Statistics
Director of Consulting, Department of Statistics



More information about the R-help mailing list