I'm using the inverse method of the ChiSqrDistribution class.
However, the result I get does not seem correct, at least when
compared to the value calculated when I use CHIINV function in MS
Excel. I don't necessarily understand Chi-squared but I need it for
my current project. Can anyone explain why I'm getting this bad
result? I set the degrees of freedom = 4 and the probability to .4.
The returned result is 2.752842059 but when I run the calculation in
Excel, I get 4.044626846 using the same probability and degrees of
freedom. Any thoughts or suggestions?