public class LeastSquareResults extends Object
| Constructor and Description |
|---|
LeastSquareResults(double chiSq,
DoubleArray parameters,
DoubleMatrix covariance) |
LeastSquareResults(double chiSq,
DoubleArray parameters,
DoubleMatrix covariance,
DoubleMatrix inverseJacobian) |
LeastSquareResults(LeastSquareResults from) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
double |
getChiSq()
Gets the Chi-square of the fit.
|
DoubleMatrix |
getCovariance()
Gets the estimated covariance matrix of the standard errors in the fitting parameters.
|
DoubleArray |
getFitParameters()
Gets the value of the fitting parameters, when the chi-squared is minimised.
|
DoubleMatrix |
getFittingParameterSensitivityToData()
This a matrix where the i,jth element is the (infinitesimal) sensitivity of the ith fitting
parameter to the jth data point (NOT the model point), when the fitting parameter are such
that the chi-squared is minimised.
|
int |
hashCode() |
String |
toString() |
public LeastSquareResults(LeastSquareResults from)
public LeastSquareResults(double chiSq,
DoubleArray parameters,
DoubleMatrix covariance)
public LeastSquareResults(double chiSq,
DoubleArray parameters,
DoubleMatrix covariance,
DoubleMatrix inverseJacobian)
public double getChiSq()
public DoubleArray getFitParameters()
public DoubleMatrix getCovariance()
public DoubleMatrix getFittingParameterSensitivityToData()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.