est.CKLS.DML | R Documentation |
Parametric estimation for the CKLS model using maximum likelihood and the discretized version of the model, obtained with the Euler-Maruyama method. The parametric form of the CKLS model used here is given by
dX_t = (α - κ X_t)dt + σ X_t^γ dW_t.
est.CKLS.DML(X, Delta = deltat(X), par = NULL)
X |
a numeric vector, the sample path of the SDE. |
Delta |
a single numeric, the time step between two consecutive observations. |
par |
a numeric vector with dimension four indicating initial values of the parameters. Defaults to NULL, fits a linear model using generalized least squares with AR1 correlation and a power variance heteroscedasticity structure. |
A list containing a matrix with the estimated coefficients and the associated standard errors.
x <- rCKLS(360, 1/12, 0.09, 0.08, 0.9, 1.2, 1.5) est.CKLS.DML(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.