Module net.finmath.lib
Class MonteCarloConditionalExpectationLocalizedOnDependentRegressionFactory
java.lang.Object
net.finmath.montecarlo.conditionalexpectation.MonteCarloConditionalExpectationLocalizedOnDependentRegressionFactory
- All Implemented Interfaces:
MonteCarloConditionalExpectationRegressionFactory
public class MonteCarloConditionalExpectationLocalizedOnDependentRegressionFactory
extends Object
implements MonteCarloConditionalExpectationRegressionFactory
Provides a localized linear regression with an indicator function as localization weight for a vector of regression basis functions.
The regression only considers sample paths where \( - M < y_{i} < M \) where M is a multiple of the standard deviation of y.
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionMonteCarloConditionalExpectationLocalizedOnDependentRegressionFactory(double standardDeviations)
-
Method Summary
Modifier and TypeMethodDescriptiongetConditionalExpectationEstimator(RandomVariable[] basisFunctionsEstimator, RandomVariable[] basisFunctionsPredictor)
Creates an object implementing aConditionalExpectationEstimator
for conditional expectation estimation.
-
Constructor Details
-
MonteCarloConditionalExpectationLocalizedOnDependentRegressionFactory
public MonteCarloConditionalExpectationLocalizedOnDependentRegressionFactory(double standardDeviations)
-
-
Method Details
-
getConditionalExpectationEstimator
public ConditionalExpectationEstimator getConditionalExpectationEstimator(RandomVariable[] basisFunctionsEstimator, RandomVariable[] basisFunctionsPredictor)Description copied from interface:MonteCarloConditionalExpectationRegressionFactory
Creates an object implementing aConditionalExpectationEstimator
for conditional expectation estimation.- Specified by:
getConditionalExpectationEstimator
in interfaceMonteCarloConditionalExpectationRegressionFactory
- Parameters:
basisFunctionsEstimator
- A vector of random variables to be used as basis functions for estimation.basisFunctionsPredictor
- A vector of random variables to be used as basis functions for prediction.- Returns:
- An object implementing a
ConditionalExpectationEstimator
.
-