Class R1CIRStochasticEvolver

java.lang.Object

public class R1CIRStochasticEvolver
extends R1CKLSStochasticEvolver
R1CIRStochasticEvolver implements the R1 Cos-Ingersoll-Ross Stochastic Evolver. The References are:

  • Doob, J. L. (1942): The Brownian Movement and Stochastic Equations Annals of Mathematics 43 (2) 351-369
  • Gardiner, C. W. (2009): Stochastic Methods: A Handbook for the Natural and Social Sciences 4th Edition Springer-Verlag
  • Kadanoff, L. P. (2000): Statistical Physics: Statics, Dynamics, and Re-normalization World Scientific
  • Karatzas, I., and S. E. Shreve (1991): Brownian Motion and Stochastic Calculus 2nd Edition Springer-Verlag
  • Risken, H., and F. Till (1996): The Fokker-Planck Equation – Methods of Solution and Applications Springer


Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • R1CIRStochasticEvolver

      public R1CIRStochasticEvolver​(double meanReversionSpeed, double meanReversionLevel, double volatilityCoefficient, R1StochasticDriver r1StochasticDriver) throws java.lang.Exception
      R1CIRStochasticEvolver Constructor
      Parameters:
      meanReversionSpeed - The Mean Reversion Speed
      meanReversionLevel - The Mean Reversion Level
      volatilityCoefficient - The Volatility Coefficient
      r1StochasticDriver - The Stochastic Driver
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Wiener

      public static R1CIRStochasticEvolver Wiener​(double meanReversionSpeed, double meanReversionLevel, double volatility, double timeWidth)
      Construct a Weiner Instance of R1CIRStochasticEvolver Process
      Parameters:
      meanReversionSpeed - The Mean Reversion Speed
      meanReversionLevel - The Mean Reversion Level
      volatility - The Volatility
      timeWidth - Wiener Time Width
      Returns:
      Weiner Instance of R1CIRStochasticEvolver Process
    • evolutionStrictlyPositive

      public boolean evolutionStrictlyPositive()
      Indicate it the Evolution includes Zero, or is strictly Positive
      Returns:
      TRUE - Evoltuion is Strictly Positive
    • mean

      public double mean​(double x0, double t) throws java.lang.Exception
      Compute the Expected Value of x at a time t from a Starting Value x0
      Parameters:
      x0 - Starting Variate
      t - Time
      Returns:
      Expected Value of x
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
    • timeVariance

      public double timeVariance​(double x0, double t) throws java.lang.Exception
      Compute the Time Variance of x across at a Time Value t
      Parameters:
      x0 - Starting Variate
      t - Time t
      Returns:
      Time Variance of x
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
    • temporalPopulationCentralMeasures

      public PopulationCentralMeasures temporalPopulationCentralMeasures​(double x0, double t)
      Description copied from class: R1StochasticEvolver
      Estimate the Temporal Central Measures for the Underlier given the Delta 0 Starting PDF
      Overrides:
      temporalPopulationCentralMeasures in class R1StochasticEvolver
      Parameters:
      x0 - The X Anchor for the Delta Function
      t - The Forward Time
      Returns:
      The Temporal Central Measures for the Underlier
    • steadyStatePopulationCentralMeasures

      public PopulationCentralMeasures steadyStatePopulationCentralMeasures​(double x0)
      Description copied from class: R1StochasticEvolver
      Generate the Steady State Population Central Measures
      Overrides:
      steadyStatePopulationCentralMeasures in class R1StochasticEvolver
      Parameters:
      x0 - Starting Variate
      Returns:
      The Steady State Population Central Measures
    • futureValueDistribution

      public R1NonCentral futureValueDistribution​(double r0, double t)
      Description copied from class: R1StochasticEvolver
      Generate the Future Value Distribution at Time t
      Overrides:
      futureValueDistribution in class R1StochasticEvolver
      Parameters:
      r0 - Starting Variate
      t - Time
      Returns:
      The Future Value Distribution
    • fokkerPlanckGenerator

      public R1FokkerPlanckCIR fokkerPlanckGenerator()
      Description copied from class: R1StochasticEvolver
      Construct the Fokker Planck PDF Generator corresponding to R1 Stochastic Evolver
      Overrides:
      fokkerPlanckGenerator in class R1CKLSStochasticEvolver
      Returns:
      The Fokker Planck PDF Generator corresponding to R1 Stochastic Evolver