ChiSquared
jhplot.math.num.pdf

Class ChiSquared

    • Constructor Detail

      • ChiSquared

        public ChiSquared()
        Default constructor. Degrees of freedom is set to 1.
      • ChiSquared

        public ChiSquared(double df)
        Create a distribution with the given degrees of freedom.
        Parameters:
        df - degrees of freedom.
    • Method Detail

      • cumulativeProbability

        public double cumulativeProbability(double x)                             throws NumericException
        The CDF for this distribution. This method returns P(X < x).
        Specified by:
        cumulativeProbability in class ContinuousDistribution
        Parameters:
        x - the value at which the CDF is evaluated.
        Returns:
        CDF for this distribution.
        Throws:
        NumericException - if the cumulative probability can not be computed.
      • getDegreesOfFreedom

        public double getDegreesOfFreedom()
        Access the degrees of freedom.
        Returns:
        the degrees of freedom.
      • setDegreesOfFreedom

        public void setDegreesOfFreedom(double df)
        Modify the degrees of freedom.
        Parameters:
        df - The new degrees of freedom value.

SCaVis 2.2 © jWork.ORG