|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.stochasticprocess.univariate.sde.Milstein
public class Milstein
Milstein scheme is a first-order approximation to a continuous-time SDE. It adds a term to the Euler scheme by expanding both the drift and diffusion terms to O(dt).
dXt = μ * dt + σ * sqrt(dt) * Zt + 0.5 * σ' * σ * dt * (Zt2 - 1);
| Field Summary | |
|---|---|
SDE |
sde
the continuous-time SDE specification |
| Constructor Summary | |
|---|---|
Milstein(SDE sde)
Discretize a univariate SDE using the Milstein scheme. |
|
| Method Summary | |
|---|---|
double |
db(Ft ft)
|
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 |
|---|
public final SDE sde
| Constructor Detail |
|---|
public Milstein(SDE sde)
sde - a continuous-time SDE| Method Detail |
|---|
public double dXt(Ft ft)
This is an implementation of the Milstein scheme.
dXt in interface DiscretizedSDEft - filtration
dtpublic Ft getNewFt()
DiscretizedSDE
getNewFt in interface DiscretizedSDEpublic double db(Ft ft)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||