View source: R/merton-fitting.R
mseMerton | R Documentation |
MSE between empirical model PDF under Merton's jump-diffusion for a given time-series of log-returns.
mseMerton(param, epdf, t)
param |
a vector of parameters defining Merton's jump dynamics. See details. |
epdf |
the empirical pdf returned from |
t |
the time input, for daily use 1/252 |
The argument param
must be a vector of five real numbers, (\mu, \sigma, \lambda, \alpha, \beta)
,
representing the mean drift, volatility, mean-rate of jumps, and the mean
log-jump size and the standard deviation of the log-jump size, in this order. The volatility,
mean rate of jumps, and standard deviation of log-jump size must all be positive.
numeric or vector depending on the length of the input x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.