From david.clayton at cimr.cam.ac.uk  Mon Sep  6 18:25:16 2004
From: david.clayton at cimr.cam.ac.uk (david.clayton@cimr.cam.ac.uk)
Date: Mon Sep  6 18:25:18 2004
Subject: [Rd] qchisq (PR#7212)
Message-ID: <20040906162516.C86A110EA1@slim.kubism.ku.dk>

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


[Rd] qchisq (PR#7212)
david.clayton@cimr.cam.ac.uk