This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
CDF's in GSL
- From: Rajarshi Guha <rajarshi at presidency dot com>
- To: gsl-discuss at sources dot redhat dot com
- Date: 29 Aug 2003 12:49:17 -0400
- Subject: CDF's in GSL
- Organization:
- Reply-to: rajarshi at presidency dot com
Hello,
I'm trying to to a chi square goodnes of fit on some of my data.
As far as I understand I need to use assume a distribution and calculate
the CDF. When I looked up the available CDF's I see that each
distribution provides two of them: P(X) & Q(x)
I'm a little confused as to which one I should be using. The manual
states that CDF's are clculated seperately for the upper and lower tails
- but how do I decide which CDF to use?
A related question is that when I report the final chi sq value the dof
is defined by (number of non empty cells) - (number of params in the
distribution) + 1
So say I use the gaussian CDF - that would imply that it is a two
parameter distribution. Is this correct. If so why does
gsl_ran_gaussian() take only one parameter?
Thanks,
-------------------------------------------------------------------
Rajarshi Guha <rajarshi@presidency.com> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
186,282 miles per second:
It isn't just a good idea, it's the law!