|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectibspan.tss.um.statistics.StatisticCalculator
public class StatisticCalculator
Calculator for simple statistic operations.
| Constructor Summary | |
|---|---|
StatisticCalculator()
|
|
| Method Summary | |
|---|---|
static double |
binomialMean(double p,
double n)
Computes mean value for binomial distribution. |
static double |
binomialStdDev(double p,
double n)
Computes standard deviation for binomial distribution. |
static double |
expectedValue(double[] population)
Calculates expected value for distribution with given sample population. |
static double |
normalQuantile(double prob)
Compute Z statistic for normal distribution. |
static double |
quantile(int q,
int k,
double[] population)
Estimating of k-th q-quantile based on empirical distribution function with averaging. |
static double |
sigmoid(double x,
double a)
Computes sigmoid function for the given argument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatisticCalculator()
| Method Detail |
|---|
public static double normalQuantile(double prob)
prob -
public static double binomialMean(double p,
double n)
p - probability of successn - number of success
public static double binomialStdDev(double p,
double n)
p - probability of successn - number of probes
public static double sigmoid(double x,
double a)
x - argumenta - 'a' parameter
public static double quantile(int q,
int k,
double[] population)
q - is order of quantilek - is number of quantilepopulation - sample population sorted ascendingly
public static double expectedValue(double[] population)
population - is sample population
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||