FDistribution
jhplot.math.num.pdf

Class FDistribution

    • Constructor Detail

      • FDistribution

        public FDistribution()
        Default constructor. Numerator degrees of freedom and denominator degrees of freedom are both set to 1.
      • FDistribution

        public FDistribution(double dfn,             double dfd)
        Create a distribution with the given numerator degrees of freedom and denominator degrees of freedom.
        Parameters:
        dfn - the numerator degrees of freedom.
        dfd - the denominator 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.
      • getDenominatorDegreesOfFreedom

        public double getDenominatorDegreesOfFreedom()
        Access the denominator degrees of freedom.
        Returns:
        the denominator degrees of freedom.
      • getNumeratorDegreesOfFreedom

        public double getNumeratorDegreesOfFreedom()
        Access the numerator degrees of freedom.
        Returns:
        the numerator degrees of freedom.
      • setDenominatorDegreesOfFreedom

        public void setDenominatorDegreesOfFreedom(double degreesOfFreedom)
        Modify the denominator degrees of freedom.
        Parameters:
        degreesOfFreedom - the new denominator degrees of freedom.
      • setNumeratorDegreesOfFreedom

        public void setNumeratorDegreesOfFreedom(double degreesOfFreedom)
        Modify the numerator degrees of freedom.
        Parameters:
        degreesOfFreedom - the new numerator degrees of freedom.

SCaVis 2.2 © jWork.ORG