Name | Description | Arguments | Return Value |
double getCorrelation(int columnNumber,int rowNumber) | Returns product-moment correlation. | Column number, row number (0 origin). | Estimated correlation, or missingValueCode if n<2. |
double getPValue(int columnNumber,int rowNumber) | Returns P-value for two-sided test of null hypothesis that correlation = 0. | Column number, row number (0 origin). | P-value. |
double getRankCorrelation(int columnNumber,int rowNumber) | Returns Spearman rank correlation. | Column number, row number (0 origin). | Estimated correlation, or missingValueCode if n<2. |
double getRankPValue(int columnNumber,int rowNumber) | Returns P-value for two-sided test of null hypothesis that rank correlation = 0. | Column number, row number (0 origin). | P-value. |
int getNumberOfVariables() | Returns number of columns. | None. | Number of columns (and rows). |
int getSampleSize(int columnNumber,int rowNumber) | Returns number of pairs of data values used to calculate correlation. | Column number, row number (0 origin). | n |