Name | Description | Arguments | Return Value |
void excludeInteraction(int factor1,int factor2,boolean exclude) | Excludes a selected interaction. | Number of 1st factor, number of 2nd factor, exclude or not. | None. |
double getAdjustedRSquared() | Returns the adjusted coefficient of determination. | None. | Adjusted R-squared, or missingValueCode if model cannot be fit. |
void getDegreesOfFreedom(int df[3]) | Returns the degrees of freedom corresponding to the sums of squares. | Integer output array. | None. |
void getDF(int df[numberOfEffects]) | Returns the degrees of freedom corresponding to each effect. | Integer output array. | None. |
double getDurbinWatson() | Returns the Durbin-Watson statistic. | None. | DW, or missingValueCode if model cannot be fit. |
double getEffectFRatio(int k) | Returns the F-ratio for effect k. | Effect index. | F-ratio. |
double getEffectPValue(int k) | Returns the P-value for effect k. | Effect index. | P-value. |
String getFactorString() | Returns string with effect indicators. | None. | Consecutive 8-character strings such as AB identifying each effect. |
double getGrandMean() | Returns the overall mean. | None. | Grand mean. |
void getLSMeans(double[numberOfLevels]) | Returns the calculated least squares means for each level. | Double output array. | None. |
void getLSSigmas(double[numberOfLevels]) | Returns the standard errors of the calculated least squares means for each level. | Double output array. | None. |
double getMeanAbsoluteError() | Returns the residual mean absolute error. | None. | MAE, or missingValueCode if model cannot be fit. |
double getMeanSquaredError() | Returns the residual mean squared error. | None. | MSE, or missingValueCode if model cannot be fit. |
double getModelPValue() | Returns the P-value for the fitted model. | None. | P-value. |
int getNumberOfLevels() | Returns the number of levels for all main effects and interactions combined. | None. | Number of levels. |
int getNumberOfEffects() | Returns the number of main effects and interactions. | None. | Number of effects. |
int getNumberOfFactors() | Returns the number of factors. | None. | Number of factors. |
void getPredictedValues(double p[n]) | Returns the predicted value of Y corresponding to each row in the datasource. | Double output array. | None. |
double getResidualDegreesOfFreedom() | Returns the d.f. for the error term used to estimate the standard errors. | None. | Residual df, or 0 if model cannot be fit. |
void getResiduals(double r[n]) | Returns the residual corresponding to each row in the datasource. | Double output array. | Residual or missingValueCode. |
double getResidualStandardError() | Returns the estimated standard deviation of the residuals. | None. | Standard error of the estimate, or missingValueCode if model cannot be fit. |
double getRSquared() | Returns the coefficient of determination. | None. | R-squared, or missingValueCode if model cannot be fit. |
double getSampleSize() | Returns the number of non-missing data values. | None. | Sample size. |
void getSumsOfSquares(double ss[3]) | Returns the following sums of squares: total, model, residual. | Double output array. | None. |
void getTypeISumsOfSquares(double[]) | Returns the reduction in the residual sum of squares as each variable is entered into the model. | Double output array. | None. |
void getTypeIIISumsOfSquares(double[]) | Returns the reduction in the residual sum of squares if each variable is entered last into the model. | Double output array. | None. |