commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r987901 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java
Date Sun, 22 Aug 2010 13:25:53 GMT
Author: psteitz
Date: Sun Aug 22 13:25:52 2010
New Revision: 987901

URL: http://svn.apache.org/viewvc?rev=987901&view=rev
Log:
Eliminated unnecessary residual calculation (should have been rmoved in r987897 fixing JIRA:
MATH-392).

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java?rev=987901&r1=987900&r2=987901&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/regression/AbstractMultipleLinearRegression.java
Sun Aug 22 13:25:52 2010
@@ -149,7 +149,6 @@ public abstract class AbstractMultipleLi
      */
     public double[] estimateRegressionParametersStandardErrors() {
         double[][] betaVariance = estimateRegressionParametersVariance();
-        RealVector residuals = calculateResiduals();
         double sigma = calculateErrorVariance();
         int length = betaVariance[0].length;
         double[] result = new double[length];



Mime
View raw message