|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQStat
Method Summary | |
---|---|
double[] |
ANOVA(double[][] x)
Calculates one way ANOVA for incoming series of arrays [link] |
boolean |
ANOVATest(double[][] x,
double significanceLevel)
Performs one way ANOVA Test for incoming series of arrays [link] |
double[] |
bins(double[] x,
int binNumber)
Sorts incoming data into user defined number of uniformly spaced bins [link] |
double |
Chi2(double[] expected,
long[] observed)
Performs a Pearson's Chi2 test on incoming array. |
double[][] |
correlation(double[][] x)
Calculates correlation matrix of incoming double precision MxN array. |
double |
correlation(double[] x,
double[] y)
Calculates the Pearson's correlation coefficient from 2 data sets, and the associated t-test and p-values. |
double[][] |
covariance(double[][] x)
Calculates covariance matrix of incoming double precision MxN array [link] |
double |
covariance(double[] x,
double[] y)
Calculates the covariance coefficient from 2 data sets [link] |
double |
cumNormalDist(double z)
Calculates value of cumulative normal distribution at z [link] |
double[][] |
frequency(double[] x)
Calculates values to be displayed in frequency table. |
String |
frequencyTable(double[] x)
Calculates frequency table for incoming array. |
double |
geometricMean(double[] in)
Calculates geometric mean of incoming array. |
double |
harmonicMean(double[] in)
Calculates harmonic mean of incoming array. |
double |
interquartilerange(double[] in)
Calculates difference between 25th and 75th quartile of incoming array. |
double |
kruskalWallis(double[][] x)
Performs Kruskal-Wallis one way ANOVA. |
double |
kurtosis(double[] in)
Calculates kurtosis of incoming array. |
double[] |
mannWhitneyU(double[] x,
double[] y)
Performs Mann-Whitney U test. |
double |
max(double[] in)
Calculates maximum value in incoming array. |
double |
mean(double[] in)
Calculates the arithmetic mean of incoming array. |
double |
median(double[] in)
Calculates median value in incoming array. |
double |
min(double[] in)
Calculates minimum value in incoming array. |
double |
mode(double[] in)
Calculates mode of incoming array. |
double |
pairedTTest(double[] x,
double[] y)
Performs a paired sample t-test of the null hypothesis that data in the vector x are a random sample from a normal distribution with mean 0 and unknown variance, against the alternative that the mean is not 0. |
double |
percentile(double[] in,
double k)
Calculates value of kth percentile of incoming array [link] |
double |
range(double[] in)
Calculates range of incoming array. |
double |
rSquared(double[] x,
double[] y)
Calculates coefficient of determination (R2). |
double |
signedRank(double[] x,
double M)
Performs a signed rank test (Wilcoxon signed rank) of the null hypothesis that data in the vector x comes from a continuous, symmetric distribution with median M, against the alternative that the distribution does not have median M. |
double |
signedRank(double[] x,
double[] y)
Performs a paired, signed rank test (Wilcoxon signed rank) of the null hypothesis that data in the vector x-y come from a continuous, symmetric distribution with equal medians, against the alternative that the distribution does not have equal medians. |
double |
skew(double[] in)
Calculates skew (symmetry) of incoming array. |
double |
spearman(double[] x,
double[] y)
Calculates the Spearman rank correlation coefficient from 2 data sets [link] |
double |
sse(double[] in)
Calculates the sum squared error of incoming array. |
double |
std(double[] in)
Calculates standard deviation of incoming array. |
double |
tTest(double[] x)
Performs a single sample t-test of the null hypothesis that data in the vector x are a random sample from a normal distribution with mean 0 and unknown variance, against the alternative that the mean is not 0. |
double |
tTest(double[] x,
double m)
Performs a single sample t-test of the null hypothesis that data in the vector x are a random sample from a normal distribution with mean m and unknown variance, against the alternative that the mean is not m. |
double |
tTest(double[] x,
double[] y)
performs a t-test of the null hypothesis that data in the vectors x and y are independent random samples from normal distributions with equal means and equal but unknown variances, against the alternative that the means are not equal. |
double |
variance(double[] in)
Calculates variance of incoming array. |
double[] |
zscore(double[] in)
Calculates z-scores of incoming array. |
double |
ztest(double[] x,
double mu,
double sigma)
Performs a z-test of the null hypothesis that data in the vector x are a random sample from a normal distribution with mean m and standard deviation sigma, against the alternative that the mean is not m. |
Method Detail |
---|
double mean(double[] in)
in
- A double precision array.
IllegalArgumentException
- if the incoming array is emptydouble range(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble std(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble variance(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble kurtosis(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble skew(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble median(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble mode(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble max(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble min(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble sse(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble harmonicMean(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble geometricMean(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble[] zscore(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble interquartilerange(double[] in)
in
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble percentile(double[] in, double k)
in
- a double precision array.k
- a double value between 0 and 100
IllegalArgumentException
- if the incoming array is emptydouble[][] frequency(double[] x)
x
- a double precision array.
IllegalArgumentException
- if the incoming array is emptyString frequencyTable(double[] x)
x
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble rSquared(double[] x, double[] y)
x
- a double precision array.y
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble tTest(double[] x)
x
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble tTest(double[] x, double m)
x
- a double precision array.m
- a double value
IllegalArgumentException
- if the incoming array is emptydouble pairedTTest(double[] x, double[] y)
x
- a double precision array.y
- a double precision array
IllegalArgumentException
- if the incoming array is emptydouble tTest(double[] x, double[] y)
x
- a double precision array.y
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble ztest(double[] x, double mu, double sigma)
x
- a double precision array.mu
- a double precision valuesigma
- a double precision value
IllegalArgumentException
- if the incoming array is emptydouble signedRank(double[] x, double M)
x
- a double precision array.M
- a double precision value
IllegalArgumentException
- if the incoming array is emptydouble signedRank(double[] x, double[] y)
x
- a double precision array.y
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble correlation(double[] x, double[] y)
x
- a double precision array.y
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble[][] correlation(double[][] x)
x
- an MxN double precision array.
IllegalArgumentException
- if the incoming array is emptydouble covariance(double[] x, double[] y)
x
- a double precision array.y
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble[][] covariance(double[][] x)
x
- an MxN double precision array.
IllegalArgumentException
- if the incoming array is emptydouble spearman(double[] x, double[] y)
x
- a double precision array.y
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble kruskalWallis(double[][] x)
x
- an MxN double precision array, M data arrays of length N.
IllegalArgumentException
- if the incoming array is emptydouble[] ANOVA(double[][] x)
x
- a double precision array, M (number of data sets) X N (length of each set)
IllegalArgumentException
- if the incoming array is emptyboolean ANOVATest(double[][] x, double significanceLevel)
x
- a double precision array, M (number of data sets) X N (length of each set)significanceLevel
- a double precision value (0IllegalArgumentException
- if the incoming array is emptydouble Chi2(double[] expected, long[] observed)
expected
- a double precision array.observed
- a long array
IllegalArgumentException
- if the incoming array is emptydouble[] bins(double[] x, int binNumber)
x
- a double precision array.binNumber
- an integer
IllegalArgumentException
- if the incoming array is emptydouble[] mannWhitneyU(double[] x, double[] y)
x
- a double precision array.y
- a double precision array.
IllegalArgumentException
- if the incoming array is emptydouble cumNormalDist(double z)
z
- a double precision array.
IllegalArgumentException
- if the incoming array is empty
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |