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