STATBEAN Name: Correlations
Purpose: Let's Statgraphics function as correlation analysis software to calculate correlation in statistics. Computes product-moment and rank correlation coefficients between pairs of numeric columns.
Name | Type | Description | Possible Values | Default Value |
columnNames | String array | The names of the columns to be analyzed. | One or more strings. | {""} |
computeRankCorrelations | boolean | Whether to compute rank correlations as well as product-moment correlations. | true,false | false |
missingValueExclusion | String | The method for handling records which contain missing values. | "Columnwise","Casewise", "Tablewise" |
"Columnwise" |
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 |
© 2025 Statgraphics Technologies, Inc.
The Plains, Virginia
CONTACT USHave you purchased Statgraphics Centurion or Sigma Express and need to download your copy?
CLICK HERE