|
|
com.kutsyy.util
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Constructor Summary | |
Stat()
|
|
| Method Summary | |
private static double |
calerf(double x,
int jint)
|
static double[][] |
cov(double[][] x)
Compute covariance matrix of colums of x |
static double |
erf(double x)
|
static double |
erfc(double x)
|
static double |
mean(double[] a)
Mean of the vector |
static double[] |
mean(double[][] x)
Mean of row of the matrix x |
static double |
median(double[] a)
Median of the vector |
static double[] |
percentile(double[] p,
double[] a)
Find percetiles of given (unsorted) vector |
static double |
percentile(double p,
double[] a)
Find quontale of given (unsorted) percentile |
static double |
sum(double[] a)
Sum of the vector |
static double |
sumsq(double[] a)
Sum of squares of the vector |
static double |
var(double[] a)
Variance of the vector |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Stat()
| Method Detail |
public static double[][] cov(double[][] x)
x - double[][] - xpublic static double erf(double x)
public static double erfc(double x)
public static double[] mean(double[][] x)
x - double[][] - xpublic static double mean(double[] a)
a - double[] - apublic static double median(double[] a)
a - double[] - a
public static double[] percentile(double[] p,
double[] a)
p - double[] - percentile at with quaniles neededa - double[] - vector
public static double percentile(double p,
double[] a)
p - double - percentile at with quanile neededa - double[] - vectorpublic static double sum(double[] a)
a - double[] - apublic static double sumsq(double[] a)
a - double[] - apublic static double var(double[] a)
a - double[] - a
private static double calerf(double x,
int jint)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||