|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.statistics.GammaDistribution
pal.statistics.ChiSquareDistribution
public class ChiSquareDistribution
chi-square distribution (distribution of sum of squares of n uniform random variables) (Parameter: n; mean: n; variance: 2*n) The chi-square distribution is a special case of the Gamma distribution (shape parameter = n/2.0, scale = 2.0).
| Constructor Summary | |
|---|---|
ChiSquareDistribution()
|
|
| Method Summary | |
|---|---|
static double |
cdf(double x,
double n)
cumulative density function of the chi-square distribution |
static double |
mean(double n)
mean of the chi-square distribution |
static double |
pdf(double x,
double n)
probability density function of the chi-square distribution |
static double |
quantile(double y,
double n)
quantile (inverse cumulative density function) of the chi-square distribution |
static double |
variance(double n)
variance of the chi-square distribution |
| Methods inherited from class pal.statistics.GammaDistribution |
|---|
cdf, mean, pdf, quantile, variance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChiSquareDistribution()
| Method Detail |
|---|
public static double pdf(double x,
double n)
x - argumentn - degrees of freedom
public static double cdf(double x,
double n)
x - argumentn - degrees of freedom
public static double quantile(double y,
double n)
x - argumentn - degrees of freedom
public static double mean(double n)
n - degrees of freedom
public static double variance(double n)
n - degrees of freedom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||