public class DescriptiveStatistics extends Object
Constructor and Description |
---|
DescriptiveStatistics() |
Modifier and Type | Method and Description |
---|---|
static double |
sampleCorCoeff(Vec xData,
Vec yData)
Computes the sample correlation coefficient for two data sets X and Y.
|
static double[] |
summaryStats(Vec xData,
Vec yData)
Computes several summary statistics from the two data sets.
|
public static double sampleCorCoeff(Vec xData, Vec yData)
yData
- the Y data setxData
- the X data setpublic static double[] summaryStats(Vec xData, Vec yData)
xData
- the x values of the data setyData
- the y values of the data setCopyright © 2017. All rights reserved.