View source: R/merton-fitting.R
logLikeMerton | R Documentation |
The log of the PDF of the log-returns in a time interval under Merton's jump diffusion model. Includes compensator in the drift.
logLikeMerton(param, x, t)
param |
a vector of parameters defining Merton's jump dynamics. See details. |
x |
input value for the CDF |
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.