Class GLSMultipleLinearRegression
- java.lang.Object
-
- org.apache.commons.math.stat.regression.AbstractMultipleLinearRegression
-
- org.apache.commons.math.stat.regression.GLSMultipleLinearRegression
-
- All Implemented Interfaces:
MultipleLinearRegression
public class GLSMultipleLinearRegression extends AbstractMultipleLinearRegression
The GLS implementation of the multiple linear regression. GLS assumes a general covariance matrix Omega of the erroru ~ N(0, Omega)
Estimated by GLS,b=(X' Omega^-1 X)^-1X'Omega^-1 y
whose variance isVar(b)=(X' Omega^-1 X)^-1
- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description GLSMultipleLinearRegression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
newSampleData(double[] y, double[][] x, double[][] covariance)
Replace sample data, overriding any previous sample.-
Methods inherited from class org.apache.commons.math.stat.regression.AbstractMultipleLinearRegression
estimateErrorVariance, estimateRegressandVariance, estimateRegressionParameters, estimateRegressionParametersStandardErrors, estimateRegressionParametersVariance, estimateRegressionStandardError, estimateResiduals, isNoIntercept, newSampleData, setNoIntercept
-
-