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:
parent
30c9e8c111
commit
25c9e050af
|
@ -149,7 +149,6 @@ public abstract class AbstractMultipleLinearRegression implements
|
||||||
*/
|
*/
|
||||||
public double[] estimateRegressionParametersStandardErrors() {
|
public double[] estimateRegressionParametersStandardErrors() {
|
||||||
double[][] betaVariance = estimateRegressionParametersVariance();
|
double[][] betaVariance = estimateRegressionParametersVariance();
|
||||||
RealVector residuals = calculateResiduals();
|
|
||||||
double sigma = calculateErrorVariance();
|
double sigma = calculateErrorVariance();
|
||||||
int length = betaVariance[0].length;
|
int length = betaVariance[0].length;
|
||||||
double[] result = new double[length];
|
double[] result = new double[length];
|
||||||
|
|
Loading…
Reference in New Issue