View source: R/heston-fitting.R
hestonMLE | R Documentation |
An ad-hoc step-wise QMLE routine for estimating parameters for the Heston dynamics given an observational time-series of log-price increments.
hestonMLE(y, iterations = 1, N = 100, nthresh = 100, h = 1/252)
y |
time-series of log-price increments |
iterations |
number of iterations to step through for filtering and |
N |
number of particles to use in the particle-filter |
nthresh |
the threshold of particles in the particle-filter |
h |
the time-step performing the MLE estimates |
At each step, hidden volatility is filtered into an estimate based on log-price observations, and conditional on these observations, the likelihood is maximized over the parameter space. Then on the next step, the volatility is re-filtered under the updated parameters until reaching the last observation. The filtered volatility is tracked step-wise, so that each iteration produces a new filtered-state appended to the previous filtered-states produced under the previous parameters.
vector/numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.