View source: R/merton-hitting-times.R
dhit_merton | R Documentation |
The PDF of the hitting time of a
under Merton's jump-diffusion, i.e.
a geometric Levy process with the log being an Ito diffusion plus a compound Poisson
process of Gaussians. Most likely requires smoothing.
dhit_merton(t, a, param, n = 200)
t |
the current time |
a |
the boundary to hit above |
param |
the dynamics of the jump-diffusion, a vector of 5, the drift, volatility mean-jump rate, mean jump-size, sd of jump size |
n |
the number used in the discretization for differentiating the CDF with forward differences |
numeric or vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.