Class RegressionBasisFunctionsFromProducts

  • All Implemented Interfaces:
    RegressionBasisFunctionsProvider

    public class RegressionBasisFunctionsFromProducts
    extends Object
    implements RegressionBasisFunctionsProvider
    An implementation of an RegressionBasisFunctionsProvider using a list of AbstractMonteCarloProduct-s. The getBasisFunctions method will perform a check if the products getValue method returns an \( \mathcal{F}_{t} \)-measurable random variable if called with evaluationTime being \( t \). If this test fails an IllegalArgumentException exception is thrown.
    Version:
    1.0
    Author:
    Christian Fries
    • Method Detail

      • getBasisFunctions

        public RandomVariable[] getBasisFunctions​(double evaluationTime,
                                                  MonteCarloSimulationModel model)
        Description copied from interface: RegressionBasisFunctionsProvider
        Provides a set of \( \mathcal{F}_{t} \)-measurable random variables which can serve as regression basis functions.
        Specified by:
        getBasisFunctions in interface RegressionBasisFunctionsProvider
        Parameters:
        evaluationTime - The evaluation time \( t \) at which the basis function should be observed.
        model - The Monte-Carlo model used to derive the basis function.
        Returns:
        An \( \mathcal{F}_{t} \)-measurable random variable.