Chart FX 7 for Java Server

com.softwarefx.chartfx.server.statistical
Class Distributions

java.lang.Object
  extended by com.softwarefx.chartfx.server.statistical.Distributions

public class Distributions
extends Object

Provides access to the Distributions object

Distributions are a way of representing the frequency of occurrence of values of a random variable. The Distributions class supported members provide a mechanism to perform a myriad of statistical distributions on chart data.


Constructor Summary
Distributions()
           
 
Method Summary
static double beta(double a, double b)
          Used to find the Beta Distribution.
static double chiSquare(double x, int v)
          Used to find the Chi-Square Distribution.
static double cumulativeChiSquare(double x, int v)
          Used to find the Cumulative Chi-Square Distribution.
static double cumulativeF(double f, int v1, int v2)
          Used to find the Cumulative F Distribution.
static double cumulativeNormal(double x)
          Used to find the Cumulative Normal Distribution.
static double cumulativeT(double t, int v)
          Used to find the Cumulative T Distribution.
static double f(double x, int v1, int v2)
          Used to find the F Distribution.
static double gammaLn(double x)
          Used to find the gamma Distribution.
static double inverseCumulativeChiSquare(double p, int v)
          Used to find the Inverse Cumulative Chi-Square Distribution.
static double inverseCumulativeF(double p, int v1, int v2)
          Used to find the Inverse Cumulative F Distribution.
static double inverseCumulativeNormal(double p)
          Used to find the Inverse Cumulative Normal Distribution.
static double inverseCumulativeT(double p, int v)
          Used to find the Inverse Cummulative T Distribution.
static double normal(double x)
          Used to find the Normal Distribution.
static double t(double x, int v)
          Used to find the T Distribution.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Distributions

public Distributions()
Method Detail

beta

public static double beta(double a,
                          double b)

Used to find the Beta Distribution.

Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • The Beta Distribution is a general type of statistical distribution which is related to the GammaLn distribution.

  • Parameters:
    a - Alpha parameter.
    b - Beta parameter.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int)

    chiSquare

    public static double chiSquare(double x,
                                   int v)

    Used to find the Chi-Square Distribution.

    Remarks:
  • The Chi Square distribution is a mathematical distribution that is used directly or indirectly in many tests of significance. The most common use of the chi square distribution is to test differences between proportions.

  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    x - X axis value to use for calculation.
    v - Degrees of freedom.
    See Also:
    cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    cumulativeChiSquare

    public static double cumulativeChiSquare(double x,
                                             int v)

    Used to find the Cumulative Chi-Square Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

    double results = Distributions.CumulativeChiSquare(.95,3);

  • Parameters:
    x - X axis value to use for calculation.
    v - Degrees of freedom.
    See Also:
    chiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    cumulativeF

    public static double cumulativeF(double f,
                                     int v1,
                                     int v2)

    Used to find the Cumulative F Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

    double results = Distributions.CumulativeF(.75,2,4,.99);

  • Parameters:
    f - The value for the F distiribution that provides an area or probability of a value to the right of the stated f value.
    v1 - Degrees of freedom for the numerator.
    v2 - Degrees of freedom for the denominator.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    cumulativeNormal

    public static double cumulativeNormal(double x)

    Used to find the Cumulative Normal Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    x - X axis value to use for calculation.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    cumulativeT

    public static double cumulativeT(double t,
                                     int v)

    Used to find the Cumulative T Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    t - X axis value to use for calculation.
    v - Degrees of freedom.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    f

    public static double f(double x,
                           int v1,
                           int v2)

    Used to find the F Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    x - X axis value to use for calculation.
    v1 - Degrees of freedom for the numerator.
    v2 - Degrees of freedom for the denominator.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    gammaLn

    public static double gammaLn(double x)

    Used to find the gamma Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    x - X axis value to use for calculation.
    See Also:
    beta(double, double), chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int)

    inverseCumulativeChiSquare

    public static double inverseCumulativeChiSquare(double p,
                                                    int v)

    Used to find the Inverse Cumulative Chi-Square Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    p - Inverse cumulative probability.
    v - Degrees of freedom.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    inverseCumulativeF

    public static double inverseCumulativeF(double p,
                                            int v1,
                                            int v2)

    Used to find the Inverse Cumulative F Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    p - Inverse cumulative probability.
    v1 - Degrees of freedom for the numerator.
    v2 - Degrees of freedom for the denominator.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    inverseCumulativeNormal

    public static double inverseCumulativeNormal(double p)

    Used to find the Inverse Cumulative Normal Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

    double results = Distributions.InverseCummulativeNormal(.90);

  • Parameters:
    p - Inverse cumulative probability.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeT(double, int), normal(double), t(double, int), Distributions

    inverseCumulativeT

    public static double inverseCumulativeT(double p,
                                            int v)

    Used to find the Inverse Cummulative T Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

    double results = Distributions.InverseCummulativeT(.98,3,3.44);

  • Parameters:
    p - Inverse cumulative probability.
    v - Degrees of freedom.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), normal(double), t(double, int)

    normal

    public static double normal(double x)

    Used to find the Normal Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    x - X axis value to use for calculation.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), t(double, int), Distributions

    t

    public static double t(double x,
                           int v)

    Used to find the T Distribution.

    Remarks:
  • This method is part of the static Distributions class. To property access this method, you must access the Distributions class directly:

  • Parameters:
    x - X axis value to use for calculation.
    v - Degrees of freedom.
    See Also:
    chiSquare(double, int), cumulativeChiSquare(double, int), cumulativeF(double, int, int), cumulativeNormal(double), cumulativeT(double, int), f(double, int, int), gammaLn(double), inverseCumulativeChiSquare(double, int), inverseCumulativeF(double, int, int), inverseCumulativeNormal(double), inverseCumulativeT(double, int), normal(double), #set

    http://www.softwarefx.com

    2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
    All other names are trademarks or registered trademarks of their respective owners.