Skip to content

(PR#13999) Extreme values of non-central chisq (was Accuracy)

1 message · Brian Ripley

#
You crossed the value ncp = 80: the help page warned you of 
cancellation there, and at p = 1 - 1e-12, that is what you got 
(badly).
On Sun, 11 Oct 2009, witkovsky at savba.sk wrote:

            
Actually, for probability values near 1, and it does say so in the 
documentation.  But see
[1] 1258.412
[1] 257.1488

which I suggest gives you a workaround -- we'll look into giving a 
warning from the code.