public class Distributions
extends java.lang.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 and Description |
---|
Distributions()
Constructs a newly allocated Distributions object
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Distributions()
public static double beta(double a, double b)
Used to find the Beta Distribution.
gammaLn
distribution.To find the Beta Distribution for selected values:
double results; results = statistical.Distributions.Beta(8.14, 19.76);
a
- Beta parameter.b
- Alpha parameter.public static double chiSquare(double x, int v)
Used to find the Chi-Square Distribution.
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 method access this method, you must access the Distributions class directly:
To find the Chi-Square Distribution for selected values:
double result; result = statistical.Distributions.ChiSquare(0.99, 2);
x
- X axis value to use for calculation.v
- Degrees of freedom.public static double cumulativeChiSquare(double x, int v)
Used to find the Cumulative Chi-Square Distribution.
x
- X axis value to use for calculation.v
- Degrees of freedom.public static double cumulativeF(double f, int v1, int v2)
Used to find the Cumulative F Distribution.
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 denominator.v2
- Degrees of freedom for the numerator.public static double cumulativeNormal(double x)
This method is part of the static
x
- X axis value to use for calculation.public static double cumulativeT(double t, int v)
This method is part of the static
t
- X axis value to use for calculation.v
- Degrees of freedom.public static double f(double x, int v1, int v2)
Used to find the F Distribution.
x
- X axis value to use for calculation.v1
- Degrees of freedom for the denominator.v2
- Degrees of freedom for the numerator.public static double gammaLn(double x)
Used to find the gamma Distribution.
To find the GammaLn Distribution for selected values:
double results; results = statistical.Distributions.GammaLn(8.14);
x
- X axis value to use for calculation.public static double inverseCumulativeChiSquare(double p, int v)
Used to find the Inverse Cumulative Chi-Square Distribution.
p
- Inverse cumulative probability.v
- Degrees of freedom.public static double inverseCumulativeF(double p, int v1, int v2)
Used to find the Inverse Cumulative F Distribution.
p
- Inverse cumulative probability.v1
- Degrees of freedom for the denominator.v2
- Degrees of freedom for the numerator.public static double inverseCumulativeNormal(double p)
Used to find the Inverse Cumulative Normal Distribution.
double results; results = statistical.Distributions.InverseCumulativeNormal(0.9);
p
- public static double inverseCumulativeT(double p, int v)
Used to find the Inverse Cummulative T Distribution.
p
- Inverse cumulative probability.v
- Degrees of freedom.public static double normal(double x)
Used to find the Normal Distribution.
This method is part of the static Distributions class. To method access this method, you must access the Distributions class directly:
x
- X axis value to use for calculation.public static double t(double x, int v)
Used to find the T Distribution.
x
- X axis value to use for calculation.v
- Degrees of freedom.2014 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.