jstats
Class Correlation
java.lang.Object
jstats.Correlation
- public class Correlation
- extends java.lang.Object
- Author:
- justin
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Correlation
public Correlation()
coefficient
public static double coefficient(double[] x,
double[] y)
throws StatisticException
- Computes the coefficient of correlation for sample or population data.
- Parameters:
x - y -
- Returns:
- the coeffecient of x and y
- Throws:
StatisticException
fisherZTransformation
public static double fisherZTransformation(double[] x,
double[] y)
throws StatisticException
- Throws:
StatisticException
fisherZTransformation
public static double fisherZTransformation(double coefficient)
throws StatisticException
- Throws:
StatisticException
normalCorrelation
public static double normalCorrelation(double[] x,
double[] y,
double p)
throws StatisticException
- Throws:
StatisticException
multipleCorrelationCoefficient
public static double multipleCorrelationCoefficient()