org.jquantlib.processes
Class HullWhiteForwardProcess
- java.lang.Object
-
- org.jquantlib.processes.StochasticProcess
-
- org.jquantlib.processes.StochasticProcess1D
-
- org.jquantlib.processes.ForwardMeasureProcess1D
-
- org.jquantlib.processes.HullWhiteForwardProcess
-
- All Implemented Interfaces:
- Observable, Observer
public class HullWhiteForwardProcess extends ForwardMeasureProcess1D
Forward Hull-White stochastic process
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jquantlib.processes.StochasticProcess1D
StochasticProcess1D.Discretization1D
-
Nested classes/interfaces inherited from class org.jquantlib.processes.StochasticProcess
StochasticProcess.Discretization
-
-
Constructor Summary
Constructors Constructor and Description HullWhiteForwardProcess(Handle<YieldTermStructure> h, double a, double sigma)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doublea()doublealpha(double t)doubleB(double t, double T)doublediffusion(double t, double x)Returns the diffusion part of the equation, i.e.doubledrift(double t, double x)Returns the drift part of the equationdoubleexpectation(double t0, double x0, double dt)Returns the expectation of the process after a time interval according to the given discretization.doubleM_T(double s, double t, double T)doublesigma()doublestdDeviation(double t0, double x0, double dt)Returns the standard deviation of the process after a time interval according to the given discretization.doublevariance(double t0, double x0, double dt)Returns the variance of the process after a time interval according to the given discretization.doublex0()Returns the initial value of the state variable-
Methods inherited from class org.jquantlib.processes.ForwardMeasureProcess1D
getForwardMeasureTime, setForwardMeasureTime
-
Methods inherited from class org.jquantlib.processes.StochasticProcess1D
apply, apply, covariance, diffusion, drift, evolve, evolve, expectation, initialValues, size, stdDeviation
-
Methods inherited from class org.jquantlib.processes.StochasticProcess
addObserver, countObservers, deleteObserver, deleteObservers, factors, getObservers, notifyObservers, notifyObservers, time, update
-
-
-
-
Constructor Detail
-
HullWhiteForwardProcess
public HullWhiteForwardProcess(Handle<YieldTermStructure> h, double a, double sigma)
-
-
Method Detail
-
a
public double a()
-
sigma
public double sigma()
-
alpha
public double alpha(double t)
-
M_T
public double M_T(double s, double t, double T)
-
B
public double B(double t, double T)
-
x0
public double x0()
Description copied from class:StochasticProcess1DReturns the initial value of the state variable- Specified by:
x0in classStochasticProcess1D
-
drift
public double drift(double t, double x)Description copied from class:StochasticProcess1DReturns the drift part of the equation- Specified by:
driftin classStochasticProcess1D
-
diffusion
public double diffusion(double t, double x)Description copied from class:StochasticProcess1DReturns the diffusion part of the equation, i.e.- Specified by:
diffusionin classStochasticProcess1D
-
expectation
public double expectation(double t0, double x0, double dt)Description copied from class:StochasticProcess1DReturns the expectation 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:
expectationin classStochasticProcess1D
-
stdDeviation
public double stdDeviation(double t0, double x0, double dt)Description copied from class:StochasticProcess1DReturns the standard deviation 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:
stdDeviationin classStochasticProcess1D
-
variance
public double variance(double t0, double x0, double dt)Description copied from class:StochasticProcess1DReturns the variance 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:
variancein classStochasticProcess1D
-
-
DataMelt 3.0 © DataMelt by jWork.ORG