SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.stochasticprocess.univariate.sde
Class Euler

java.lang.Object
  extended by com.numericalmethod.suanshu.stats.stochasticprocess.univariate.sde.Euler
All Implemented Interfaces:
DiscretizedSDE

public class Euler
extends java.lang.Object
implements DiscretizedSDE

The Euler scheme is the first order approximation of an SDE.

 dXt = μ * dt + σ * sqrt(dt) * Zt;
 


Field Summary
 SDE sde
          the continuous-time univariate SDE
 
Constructor Summary
Euler(SDE sde)
          Discretize a univariate SDE using the Euler scheme.
 
Method Summary
 double dXt(Ft ft)
          This is the SDE specification of the stochastic process.
 Ft getNewFt()
          Get an empty filtration for the process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sde

public final SDE sde
the continuous-time univariate SDE

Constructor Detail

Euler

public Euler(SDE sde)
Discretize a univariate SDE using the Euler scheme.

Parameters:
sde - continuous-time SDE
Method Detail

dXt

public double dXt(Ft ft)
This is the SDE specification of the stochastic process.

dXt = μ * dt + σ * sqrt(dt) * Zt;

Specified by:
dXt in interface DiscretizedSDE
Parameters:
ft - filtration
Returns:
the increment of the process in dt

getNewFt

public Ft getNewFt()
Description copied from interface: DiscretizedSDE
Get an empty filtration for the process.

Specified by:
getNewFt in interface DiscretizedSDE
Returns:
an empty filtration

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.