Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: calculate Chi-Square test

by moklevat (Priest)
on Feb 06, 2013 at 15:02 UTC ( #1017451=note: print w/replies, xml ) Need Help??


in reply to calculate Chi-Square test

To add to blue_cowdawg's advice, if you need to roll your own, what you are seeking is the probability density function of the chi-squared distribution, which is given here where x is the chi-square value and k is the number of degrees of freedom, and you will need to include values from the Gamma function, which has a closed form solution for half-integer value (i.e. k/2).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017451]
help
Chatterbox?
[chacham]: How many man-hours would you estimate you have invested in learning Perl? what an annoying poll
[chacham]: s/annoying/ugly

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2017-04-30 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (542 votes). Check out past polls.