|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjstats.Variance
| Constructor Summary | |
Variance()
|
|
| Method Summary | |
static double |
chebyshev(double sd)
|
static double |
coefficientOfVariation(double[] values)
Computes the coefficient of variation. |
static double |
coefficientOfVariation(double sd,
double mean)
Computes the coefficient of variation. |
static double |
pearsonianSkewness(double[] values)
Computes the skewness factor from a sample of data. |
static double |
pearsonianSkewness(double mean,
double median,
double sd)
Determines relationship between the mean and the median. |
static double |
populationStandardDeviation(double[] values)
|
static double |
populationStandardUnit(double[] values,
int index)
|
static double |
populationStandardUnit(double value,
double mean,
double sd)
|
static double |
populationVarience(double[] values)
|
static double |
regressionSumSquares(double[] x,
double[] y)
|
static double |
sampleStandardDeviation(double[] values)
Computes the sample standard deviation. |
static double |
sampleStandardUnit(double[] values,
int index)
Computes sample standard unit for the value at 'index' in an array of doubles. |
static double |
sampleStandardUnit(double value,
double mean,
double sd)
Computes the sample standard unit(aka sample z-score) from a list of doubles. |
static double |
sampleVariance(double[] values)
Computes sample variance. |
static double |
standardError(double[] x,
double[] y)
|
static double |
sumDeviations(double[] values)
Computes the sum of deviations (or Sxx). |
static double |
totalSumSquares(double[] y)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Variance()
| Method Detail |
public static double chebyshev(double sd)
public static double coefficientOfVariation(double sd,
double mean)
throws StatisticException
sd - The standard deviation of a set of data.mean - The mean of a set of data.
StatisticException
public static double coefficientOfVariation(double[] values)
throws StatisticException
values - An array of doubles containing a sample from a population.
StatisticException
public static double pearsonianSkewness(double mean,
double median,
double sd)
throws StatisticException
mean - The mean of the sample.median - The median of the sample.sd - The standard deviation of the sample.
StatisticException
public static double pearsonianSkewness(double[] values)
throws StatisticException
values - A list of doubles containing a sample of data.
StatisticException
public static double populationStandardDeviation(double[] values)
throws StatisticException
StatisticException
public static double populationStandardUnit(double value,
double mean,
double sd)
throws StatisticException
StatisticException
public static double populationStandardUnit(double[] values,
int index)
throws StatisticException
StatisticException
public static double populationVarience(double[] values)
throws StatisticException
StatisticException
public static double sampleStandardDeviation(double[] values)
throws StatisticException
StatisticException
public static double sampleStandardUnit(double value,
double mean,
double sd)
value - A double in the sample for whichmean - The mean of the sample.sd - The standard deviation of the sample.
public static double sampleStandardUnit(double[] values,
int index)
throws StatisticException
values - An array of doubles.index - An integer that indexes into array 'values', at which the standard
unit will be computed.
StatisticException
public static double sampleVariance(double[] values)
throws StatisticException
values - A list of doubles that does not represent a full population -- but a sample instead.
StatisticException
public static double sumDeviations(double[] values)
throws StatisticException
values - An array of doubles which constitute a sample from a larger population.
StatisticException
public static double regressionSumSquares(double[] x,
double[] y)
throws StatisticException
StatisticException
public static double totalSumSquares(double[] y)
throws StatisticException
StatisticException
public static double standardError(double[] x,
double[] y)
throws StatisticException
StatisticException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||