Statistics/Chi-squared distribution: Difference between revisions
m
explain tasks
m (detail on task) |
m (explain tasks) |
||
Line 36:
: <math display="block"> F(x;\,k) = \frac{1}{\Gamma(k)} x^{(k/2)} \, \Gamma(k/2) \, e^{-x} \sum_{m=0}^\infty\frac{x^m}{\Gamma(\frac{k}{2}+m+1)}. </math>
In practice, this series formula is often not stable in the frequently used region where x and k are under 10 and near one another. You may therefore instead use a mathematics function library, if available for your programming task, to calculate gamma and incomplete gamma.
;Task:
|