org.jquantlib.processes
Class LiborForwardModelProcess
- java.lang.Object
-
- org.jquantlib.processes.StochasticProcess
-
- org.jquantlib.processes.LiborForwardModelProcess
-
- All Implemented Interfaces:
- Observable, Observer
public class LiborForwardModelProcess extends StochasticProcess
Libor-forward-model processStochastic process of a libor forward model using the rolling forward measure including predictor-corrector step
References:
- Glasserman, Paul, 2004, Monte Carlo Methods in Financial Engineering, Springer, Section 3.7
- Antoon Pelsser, 2000, Efficient Methods for Valuing Interest Rate Derivatives, Springer, 8
- Hull, John, White, Alan, 1999, Forward Rate Volatilities, Swap Rate Volatilities and the Implementation of the Libor Market Model
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jquantlib.processes.StochasticProcess
StochasticProcess.Discretization
-
-
Constructor Summary
Constructors Constructor and Description LiborForwardModelProcess(int size, IborIndex index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Arrayapply(Array x0, Array dx)Applies a change to the asset value.Matrixcovariance(double t, Array x, double dt)Returns the covariance of the process after a time interval according to the given discretization.LfmCovarianceParameterizationcovarParam()Matrixdiffusion(double t, Array x)Returns the diffusion part of the equation, i.e.Arraydrift(double t, Array x)Returns the drift part of the equation, i.e.,Arrayevolve(double t0, Array x0, double dt, Array dw)Returns the asset value after a time interval according to the given discretization.IborIndexindex()ArrayinitialValues()Returns the initial values of the state variablesvoidsetCovarParam(LfmCovarianceParameterization param)intsize()Returns the number of dimensions of the stochastic process-
Methods inherited from class org.jquantlib.processes.StochasticProcess
addObserver, countObservers, deleteObserver, deleteObservers, expectation, factors, getObservers, notifyObservers, notifyObservers, stdDeviation, time, update
-
-
-
-
Constructor Detail
-
LiborForwardModelProcess
public LiborForwardModelProcess(int size, IborIndex index)
-
-
Method Detail
-
setCovarParam
public void setCovarParam(LfmCovarianceParameterization param)
-
covarParam
public LfmCovarianceParameterization covarParam()
-
index
public IborIndex index()
-
initialValues
public Array initialValues()
Description copied from class:StochasticProcessReturns the initial values of the state variables- Specified by:
initialValuesin classStochasticProcess
-
size
public int size()
Description copied from class:StochasticProcessReturns the number of dimensions of the stochastic process- Specified by:
sizein classStochasticProcess
-
drift
public Array drift(double t, Array x)
Description copied from class:StochasticProcessReturns the drift part of the equation, i.e.,- Specified by:
driftin classStochasticProcess
-
diffusion
public Matrix diffusion(double t, Array x)
Description copied from class:StochasticProcessReturns the diffusion part of the equation, i.e.- Specified by:
diffusionin classStochasticProcess
-
covariance
public Matrix covariance(double t, Array x, double dt)
Description copied from class:StochasticProcessReturns the covariance of the process after a time interval according to the given discretization. This method can be overridden in derived classes which want to hard-code a particular discretization.- Overrides:
covariancein classStochasticProcess
-
apply
public Array apply(Array x0, Array dx)
Description copied from class:StochasticProcessApplies a change to the asset value.- Overrides:
applyin classStochasticProcess
-
evolve
public Array evolve(double t0, Array x0, double dt, Array dw)
Description copied from class:StochasticProcessReturns the asset value after a time interval according to the given discretization. By default, it returns where is the expectation and the standard deviation.- Overrides:
evolvein classStochasticProcess
-
-
DataMelt 3.0 © DataMelt by jWork.ORG