Class NamedVariableLeastSquaresRegressionResult
- java.lang.Object
-
- com.opengamma.strata.math.impl.regression.LeastSquaresRegressionResult
-
- com.opengamma.strata.math.impl.regression.NamedVariableLeastSquaresRegressionResult
-
public class NamedVariableLeastSquaresRegressionResult extends LeastSquaresRegressionResult
-
-
Constructor Summary
Constructors Constructor Description NamedVariableLeastSquaresRegressionResult(List<String> independentVariableNames, LeastSquaresRegressionResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<String>
getIndependentVariableNames()
Double
getPredictedValue(Map<String,Double> namesAndValues)
LeastSquaresRegressionResult
getResult()
int
hashCode()
-
Methods inherited from class com.opengamma.strata.math.impl.regression.LeastSquaresRegressionResult
getAdjustedRSquared, getBetas, getMeanSquareError, getPredictedValue, getPValues, getResiduals, getRSquared, getStandardErrorOfBetas, getTStatistics, hasIntercept
-
-
-
-
Constructor Detail
-
NamedVariableLeastSquaresRegressionResult
public NamedVariableLeastSquaresRegressionResult(List<String> independentVariableNames, LeastSquaresRegressionResult result)
-
-
Method Detail
-
getIndependentVariableNames
public List<String> getIndependentVariableNames()
- Returns:
- the _independentVariableNames
-
getResult
public LeastSquaresRegressionResult getResult()
- Returns:
- the _result
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classLeastSquaresRegressionResult
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classLeastSquaresRegressionResult
-
-