Eliminated unnecessary residual calculation (should have been rmoved in r987897 fixing JIRA: MATH-392).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@987901 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2010-08-22 13:25:52 +00:00
parent 30c9e8c111
commit 25c9e050af
1 changed files with 0 additions and 1 deletions

View File

@ -149,7 +149,6 @@ public abstract class AbstractMultipleLinearRegression implements
*/
public double[] estimateRegressionParametersStandardErrors() {
double[][] betaVariance = estimateRegressionParametersVariance();
RealVector residuals = calculateResiduals();
double sigma = calculateErrorVariance();
int length = betaVariance[0].length;
double[] result = new double[length];