Documentation of 'net.finmath.montecarlo.interestrate.modelplugins.AbstractLIBORCovarianceModelParametric' Java class
AbstractLIBORCovarianceModelParametric
net.finmath.montecarlo.interestrate.modelplugins

Class AbstractLIBORCovarianceModelParametric

    • Constructor Detail

      • AbstractLIBORCovarianceModelParametric

        public AbstractLIBORCovarianceModelParametric(TimeDiscretizationInterface timeDiscretization,
                                                      TimeDiscretizationInterface liborPeriodDiscretization,
                                                      int numberOfFactors)
        Constructor consuming time discretizations, which are handled by the super class.
        Parameters:
        timeDiscretization - The vector of simulation time discretization points.
        liborPeriodDiscretization - The vector of tenor discretization points.
        numberOfFactors - The number of factors to use (a factor reduction is performed)
    • Method Detail

      • getParameter

        public abstract double[] getParameter()
        Get the parameters of determining this parametric covariance model. The parameters are usually free parameters which may be used in calibration.
        Returns:
        Parameter vector.
      • setParameter

        public abstract void setParameter(double[] parameter)
      • clone

        public abstract java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • getCloneCalibrated

        public AbstractLIBORCovarianceModelParametric getCloneCalibrated(LIBORMarketModelInterface calibrationModel,
                                                                         AbstractLIBORMonteCarloProduct[] calibrationProducts,
                                                                         double[] calibrationTargetValues,
                                                                         double[] calibrationWeights,
                                                                         java.util.Map<java.lang.String,java.lang.Object> calibrationParameters)
                                                                  throws CalculationException
        Performs a generic calibration of the parametric model by trying to match a given vector of calibration product to a given vector of target values using a given vector of weights. Optional calibration parameters may be passed using the map calibrationParameters. The keys are (Strings):
        • brownianMotion: Under this key an object implementing BrownianMotionInterface may be provided. If so, this Brownian motion is used to build the valuation model.
        • maxIterations: Under this key an object of type Integer may be provided specifying the maximum number of iterations.
        • accuracy: Under this key an object of type Double may be provided specifying the desired accuracy. Note that this is understood in the sense that the solver will stop if the iteration does not improve by more than this number.
        Parameters:
        calibrationModel - The LIBOR market model to be used for calibrations (specifies forward curve and tenor discretization).
        calibrationProducts - The array of calibration products.
        calibrationTargetValues - The array of target values.
        calibrationWeights - The array of weights.
        calibrationParameters - A map of type Map<String, Object> specifying some (optional) calibration parameters.
        Returns:
        A new parametric model of the same type than this one, but with calibrated parameters.
        Throws:
        CalculationException - Thrown if calibration has failed.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.