org.apache.commons.math.distribution
Interface ChiSquaredDistribution

All Superinterfaces:
ContinuousDistribution, Distribution, HasDensity<Double>
All Known Implementing Classes:
ChiSquaredDistributionImpl

public interface ChiSquaredDistribution
extends ContinuousDistribution, HasDensity<Double>

The Chi-Squared Distribution.

References:

Version:
$Revision: 693598 $ $Date: 2008-09-09 16:37:08 -0400 (Tue, 09 Sep 2008) $

Method Summary
 double density(Double x)
          Return the probability density for a particular point.
 double getDegreesOfFreedom()
          Access the degrees of freedom.
 void setDegreesOfFreedom(double degreesOfFreedom)
          Modify the degrees of freedom.
 
Methods inherited from interface org.apache.commons.math.distribution.ContinuousDistribution
inverseCumulativeProbability
 
Methods inherited from interface org.apache.commons.math.distribution.Distribution
cumulativeProbability, cumulativeProbability
 

Method Detail

setDegreesOfFreedom

void setDegreesOfFreedom(double degreesOfFreedom)
Modify the degrees of freedom.

Parameters:
degreesOfFreedom - the new degrees of freedom.

getDegreesOfFreedom

double getDegreesOfFreedom()
Access the degrees of freedom.

Returns:
the degrees of freedom.

density

double density(Double x)
Return the probability density for a particular point.

Specified by:
density in interface HasDensity<Double>
Parameters:
x - The point at which the density should be computed.
Returns:
The pdf at point x.


Copyright (c) 2003-2010 Apache Software Foundation