Class WeightedLeastSquaresRegressionResult
- java.lang.Object
-
- com.opengamma.strata.math.impl.regression.LeastSquaresRegressionResult
-
- com.opengamma.strata.math.impl.regression.WeightedLeastSquaresRegressionResult
-
public class WeightedLeastSquaresRegressionResult extends LeastSquaresRegressionResult
-
-
Constructor Summary
Constructors Constructor Description WeightedLeastSquaresRegressionResult(double[] betas, double[] residuals, double meanSquareError, double[] standardErrorOfBeta, double rSquared, double rSquaredAdjusted, double[] tStats, double[] pValues, boolean hasIntercept)
WeightedLeastSquaresRegressionResult(LeastSquaresRegressionResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getWeightedPredictedValue(double[] x, double[] w)
-
Methods inherited from class com.opengamma.strata.math.impl.regression.LeastSquaresRegressionResult
equals, getAdjustedRSquared, getBetas, getMeanSquareError, getPredictedValue, getPValues, getResiduals, getRSquared, getStandardErrorOfBetas, getTStatistics, hashCode, hasIntercept
-
-
-
-
Constructor Detail
-
WeightedLeastSquaresRegressionResult
public WeightedLeastSquaresRegressionResult(LeastSquaresRegressionResult result)
-
WeightedLeastSquaresRegressionResult
public WeightedLeastSquaresRegressionResult(double[] betas, double[] residuals, double meanSquareError, double[] standardErrorOfBeta, double rSquared, double rSquaredAdjusted, double[] tStats, double[] pValues, boolean hasIntercept)
-
-