public class StatFunc
extends java.lang.Object
Constructor and Description |
---|
StatFunc() |
Modifier and Type | Method and Description |
---|---|
static double |
bivariateDensity(double x,
double y,
double ro)
Density function of the Bivariate Standard Normal Distribution.
|
static double |
chiSquare(double chisq,
int n)
Chi Square Distribution Function.
|
static double |
chiSquarePercentage(double p,
int n)
Percentage point of the chi square distribution.
|
static double |
erf(double x)
Error function.
|
static double |
gaussian(double x)
Standard Normal Distribution Function.
|
static double |
gaussian(double x,
double mean,
double stdev)
Normal Distribution Function with given mean and standard deviation.
|
static double |
gaussianDensity(double x)
Density function of the Standard Normal Distribution.
|
static double |
gaussianDensity(double x,
double mean,
double stdev)
Density function of the Normal Distribution with given mean
and standard deviation.
|
static double |
gaussianPercentage(double p)
Percentage point of the standard normal distribution.
|
static double |
gaussianPercentage(double p,
double mean,
double stdev)
Percentage point of the normal distribution with given mean
and standard deviation.
|
static void |
main(java.lang.String[] args)
Main function.
|
static double |
student(double t,
int n)
Student t Distribution Function.
|
static double |
studentPercentage(double p,
int n)
Percentage point of the student t distribution.
|
public static double gaussianDensity(double x)
x
- real value given.public static double gaussianDensity(double x, double mean, double stdev)
x
- real value given.mean
- mean given.stdev
- standard deviation given.public static double gaussian(double x)
x
- real value given.public static double gaussian(double x, double mean, double stdev)
x
- real value given.mean
- mean given.stdev
- standard deviation given.public static double gaussianPercentage(double p)
p
- given percentage.public static double gaussianPercentage(double p, double mean, double stdev)
p
- given percentage.mean
- mean given.stdev
- standard deviation given.public static double erf(double x)
x
- real value given.public static double bivariateDensity(double x, double y, double ro)
x
- X value given.y
- Y value given.ro
- RO for Bivariate Standard Normal Distribution.public static double chiSquare(double chisq, int n)
chisq
- chi value given.n
- n value.public static double chiSquarePercentage(double p, int n)
p
- percentage given.n
- n value.public static double student(double t, int n)
t
- Student T.n
- value given.public static double studentPercentage(double p, int n)
p
- percentage given.n
- value given.public static void main(java.lang.String[] args)
args
- main args.