[Rd] qchisq (PR#7212)

david.clayton at cimr.cam.ac.uk david.clayton at cimr.cam.ac.uk
Mon Sep 6 18:25:16 CEST 2004


Full_Name: David Clayton
Version: 1.8.1
OS: Linux
Submission from: (NULL) (131.111.126.242)


qchisq behaves very strangely when ncp is passed as zero (forcing internal
qnchisq to be called) when first argument is small.

Eg


> qchisq(1-1e-6, 1, ncp=0, lower.tail=TRUE)
qchisq(1-1e-6, 1, ncp=0, lower.tail=TRUE)
[1] 1024

while, if ncp is unspecified,

> qchisq(1-1e-6, 1)
qchisq(1-1e-6, 1)
[1] 23.92813



More information about the R-devel mailing list