commons-statistics-regression/src/main/java/org/apache/commons/statistics/regression/stored/ols/OLSRegression.java
/**
     * Returns the sum of squared residuals.
     *
     * @return residual sum of squares
     */
Returns the sum of squared residuals.
@return residual sum of squares
Returns the sum of squared residuals . @return residual sum of squares
public double calculateResidualSumOfSquares() {
        final StatisticsMatrix residuals = calculateResiduals();
        return residuals.dot(residuals);
    }
public double calculateResidualSumOfSquares ( ) { final StatisticsMatrix residuals = calculateResiduals ( ) ; return residuals . dot ( residuals ) ; }
Returns the sum of squared residuals.
Returns the sum of squared residuals .
// No advertised DME, args are valid