Class WeightedLeastSquaresRegression
- java.lang.Object
-
- com.opengamma.strata.math.impl.regression.LeastSquaresRegression
-
- com.opengamma.strata.math.impl.regression.WeightedLeastSquaresRegression
-
public class WeightedLeastSquaresRegression extends LeastSquaresRegression
-
-
Constructor Summary
Constructors Constructor Description WeightedLeastSquaresRegression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeastSquaresRegressionResult
regress(double[][] x, double[][] weights, double[] y, boolean useIntercept)
LeastSquaresRegressionResult
regress(double[][] x, double[] weights, double[] y, boolean useIntercept)
-
Methods inherited from class com.opengamma.strata.math.impl.regression.LeastSquaresRegression
addInterceptVariable, checkData, checkData, checkData, convertArray, convertArray, writeArrayAsVector
-
-
-
-
Method Detail
-
regress
public LeastSquaresRegressionResult regress(double[][] x, double[][] weights, double[] y, boolean useIntercept)
- Specified by:
regress
in classLeastSquaresRegression
-
regress
public LeastSquaresRegressionResult regress(double[][] x, double[] weights, double[] y, boolean useIntercept)
-
-