Re: [R] qt with df<1 (repost)

2008-10-16 Thread Peter Dalgaard
Prof Brian Ripley wrote: On Sun, 12 Oct 2008, Peter Dalgaard wrote: Prof Brian Ripley wrote: Please do RTFM, for the help says df: degrees of freedom (> 0, maybe non-integer). 'df = Inf' is allowed. For 'qt' only values of at least one are currently supported. On

Re: [R] qt with df<1 (repost)

2008-10-15 Thread Prof Brian Ripley
On Sun, 12 Oct 2008, Peter Dalgaard wrote: Prof Brian Ripley wrote: Please do RTFM, for the help says df: degrees of freedom (> 0, maybe non-integer). 'df = Inf' is allowed. For 'qt' only values of at least one are currently supported. On Sun, 12 Oct 2008, Enrico R

Re: [R] qt with df<1 (repost)

2008-10-12 Thread Peter Dalgaard
Prof Brian Ripley wrote: Please do RTFM, for the help says df: degrees of freedom (> 0, maybe non-integer). 'df = Inf' is allowed. For 'qt' only values of at least one are currently supported. On Sun, 12 Oct 2008, Enrico Rossi wrote: Sorry about the html-formatted

Re: [R] qt with df<1 (repost)

2008-10-12 Thread Prof Brian Ripley
Please do RTFM, for the help says df: degrees of freedom (> 0, maybe non-integer). 'df = Inf' is allowed. For 'qt' only values of at least one are currently supported. On Sun, 12 Oct 2008, Enrico Rossi wrote: Sorry about the html-formatted message. Here it is again

[R] qt with df<1 (repost)

2008-10-12 Thread Enrico Rossi
Sorry about the html-formatted message. Here it is again in plain text. Hello, The function qt returns NaN for degrees of freedom <1. For example: > qt(0.5,0.5) [1] NaN Warning message: In qt(p, df, lower.tail, log.p) : NaNs produced But qt(0.5,0.5) should be 0, since the distribution is symmet

[R] qt with df<1

2008-10-12 Thread Enrico Rossi
Hello, The function qt returns NaN for degrees of freedom <1. For example: > qt(0.5,0.5) [1] NaN Warning message: In qt(p, df, lower.tail, log.p) : NaNs produced But qt(0.5,0.5) should be 0, since the distribution is symmetric. > pt(0,0.5) [1] 0.5 It actually fails with any value, as long as d