commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Lelopath" <jda...@gmail.com>
Subject [math] ChiSquaredDistributionImpl
Date Wed, 05 Mar 2008 15:32:07 GMT
I am using ChiSquaredDistributionImpl, but I am not confident I am
doing it correctly.

I've calculated the "observed" value (to compare to the critical
value) and the degrees of freedom.
I create the impl like so:
ChiSquaredDistributionImpl chiSquaredDistributionImpl = new
ChiSquaredDistributionImpl(degreesOfFreedom);
double chiSquareCriticalValue =
chiSquaredDistributionImpl.cumulativeProbability(degreesOfFreedom);

but something does seem quite right.
For one thing, I haven't specified a confidence interval for the
critical value, i.e. 95%? 98%?

Is there an example of how to do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message