|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.random.process.DiffusionProcess
public class DiffusionProcess
Diffusion process defined by a stochastic differential equation dX = r X dt + s X dW
| Constructor Summary | |
|---|---|
DiffusionProcess(double aLocalDrift,
double aDiffusionFunction)
|
|
DiffusionProcess(double aReturn,
double aVariance,
double aHorizon)
|
|
| Method Summary | |
|---|---|
DiffusionProcess |
createNewWithChangedStepSize(double aConvertionFactor)
|
static DiffusionProcess |
estimate(TimeInMillisSeries<?> aSeries,
TimeUnit aTimeUnit)
|
double |
getCurrentValue()
|
double |
getDeviationValue(double aHorizon)
|
double |
getDiffusionFunction()
|
double |
getExpected(double aHorizon)
Expected relative change (+/- some percentage) |
double |
getExpectedValue(double aHorizon)
|
double |
getLocalDrift()
|
double |
getStandardDeviation(double aHorizon)
|
double |
getVariance(double aHorizon)
|
void |
setCurrentValue(double aCurrentValue)
|
void |
setDiffusionFunction(double aDiffusionFunction)
|
void |
setExpected(double aReturn,
double aHorizon)
|
void |
setLocalDrift(double aLocalDrift)
|
void |
setStandardDeviation(double aStandardDeviation,
double aHorizon)
Will update both the diffusion function and the local drift. |
void |
setVariance(double aVariance,
double aHorizon)
Will update both the diffusion function and the local drift. |
double |
step()
Default step count is 1.0. |
double |
step(double aStepCount)
If the implementing class maintains state, the current value should be updated when calling this method. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiffusionProcess(double aLocalDrift,
double aDiffusionFunction)
public DiffusionProcess(double aReturn,
double aVariance,
double aHorizon)
| Method Detail |
|---|
public static DiffusionProcess estimate(TimeInMillisSeries<?> aSeries,
TimeUnit aTimeUnit)
aSeries - A series of observations, each with a timestamp,
that should be evenly spaced.aTimeUnit - You have to specify with what unit the DiffusionProcess
will meassure time.public DiffusionProcess createNewWithChangedStepSize(double aConvertionFactor)
public double getCurrentValue()
public double getDeviationValue(double aHorizon)
public double getDiffusionFunction()
public double getExpected(double aHorizon)
public double getExpectedValue(double aHorizon)
public double getLocalDrift()
public double getStandardDeviation(double aHorizon)
public double getVariance(double aHorizon)
public void setCurrentValue(double aCurrentValue)
public void setDiffusionFunction(double aDiffusionFunction)
public void setExpected(double aReturn,
double aHorizon)
public void setLocalDrift(double aLocalDrift)
public void setStandardDeviation(double aStandardDeviation,
double aHorizon)
getDiffusionFunction(),
getLocalDrift()
public void setVariance(double aVariance,
double aHorizon)
getDiffusionFunction(),
getLocalDrift()public double step()
RandomProcess
step in interface RandomProcesspublic double step(double aStepCount)
RandomProcess
step in interface RandomProcess
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||