Dear all,
I want to get the exact p-values, on 1 degree of freedom, for an array
of chi-square values. When my chi-square values are equal or lower than
29.7, I get the exact associated p-values. Thus, for instance:
>pchisq(29.7, df=1)
[1] 0.9999999
However, when my chi-square values are greater or equal to 29.8 what I get
is:
>pchisq(29.8, df=1)
[1] 1
Could anyone tell me how to fix this trivial issue? Very grateful, Jose
M. Fedriani
****************************************
Jose Mª Fedriani Laffitte
Estacion Biologica de Donana (CSIC)
Avda. Mª Luisa s/n
41013-Sevilla
Spain
Tel. +34-954232340
Fax +34-954621125
http://ebd.csic.es
|