Re: P-value from chi-square value: source code
- From: Richard Ulrich <Rich.Ulrich@xxxxxxxxxxx>
- Date: Sat, 09 Apr 2005 17:06:31 -0400
On 9 Apr 2005 12:28:26 -0700, "Reef Fish"
<Large_Nassau_Grouper@xxxxxxxxx> wrote:
>
> DZ wrote:
> > P.S. The p-value is 1-chi_cdf(ChiSquare, df)
>
> If so, why do you need any ChiSquare software, let along coding it?
> Why wouldn't any standard normal software suffice?
Are you mis-reading that the way that I did at first?
- The routine has d.f. as a parameter, so it is returning
the cdf for any chisquared.
I notice, further -- If the definition of "df" as
double precision was not a red-herring, then the d.f.
does not have to be integer, which is a limitation you
should expect, and test before you trust otherwise.
[... ]
--
Rich Ulrich, wpilib@xxxxxxxx
http://www.pitt.edu/~wpilib/index.html
.
- Follow-Ups:
- Re: P-value from chi-square value: source code
- From: Anon.
- Re: P-value from chi-square value: source code
- From: Reef Fish
- Re: P-value from chi-square value: source code
- References:
- P-value from chi-square value: source code
- From: Dhruv
- Re: P-value from chi-square value: source code
- From: Ian Smith
- Re: P-value from chi-square value: source code
- From: Dhruv
- Re: P-value from chi-square value: source code
- From: Reef Fish
- P-value from chi-square value: source code
- Prev by Date: Re: P-value from chi-square value: source code
- Next by Date: C Code to fit weighted least squares
- Previous by thread: Re: P-value from chi-square value: source code
- Next by thread: Re: P-value from chi-square value: source code
- Index(es):
Relevant Pages
|