Description Usage Arguments Value Examples
View source: R/ray_derivatives.R
Computes directional derivatives wrt delta
1 2 3 4 5 6 7 | compute_ray_deriv_delta(
events,
T_max,
parameters,
mu_fn = mu_none,
conditional_intensities
)
|
events |
Vector of event times. |
T_max |
Maximum time of events. |
parameters |
Parameters of the Hawkes kernel. |
mu_fn |
Function that returns exogenous part of Hawkes Process. |
conditional_intensities |
Conditional intensities for events. |
Returns directional derivatives wrt alpha.
1 2 3 | compute_ray_deriv_delta(events = c(0, 1, 2), T_max = 2,
parameters = list("alpha" = 1, "delta" = 1, "delay" = 0),
conditional_intensities = c(0.0000000, 0.6065307, 0.8772012))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.