View source: R/mixture-family.R
mixture_drift | R Documentation |
The mixture drift coefficient is a weighted average of variances.
mixture_drift(t, x, param, truncation = 0.5/252)
t |
the current time |
x |
the current log-price |
param |
the matrix of component parameters by row, see details. |
truncation |
the truncation of time |
The argument param
must be a square matrix with rows representing,
in order, the probabilities, drifts, and volatilities of each component of the mixture.
numeric matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.