java.lang.Object
net.finmath.montecarlo.conditionalexpectation.LinearRegression
Performs a linear regression on random variables implementing RandomVariable.
- Author:
- Christian Fries
- 
Constructor SummaryConstructorsConstructorDescriptionLinearRegression(RandomVariable[] basisFunctions)Create the linear regression with a set of basis functions.
- 
Method SummaryModifier and TypeMethodDescriptiondouble[]Get the vector of regression coefficients.
- 
Constructor Details- 
LinearRegressionCreate the linear regression with a set of basis functions.- Parameters:
- basisFunctions- A vector of (independent) random variables to be used as basis functions.
 
 
- 
- 
Method Details- 
getRegressionCoefficientsGet the vector of regression coefficients.- Parameters:
- value- The random variable to regress.
- Returns:
- The vector of regression coefficients.
 
 
-