View source: R/hawkes_em_functions.R
res | R Documentation |
Residuals are computed using the time change theorem (see e.g., Daley and Verrra-Jones, 2013, sec. 7.4). If parms
is missing, computes residuals for homogeneous Poisson process. To do: Re-write this to work as a default resid
method on EM
objects.
res(pp_obj, parms, kernel_type = "dgamma")
pp_obj |
a |
parms |
parameters of the Hawkes process formatted as described for |
kernel_type |
currently only implemented for |
A list of length attr(pp_obj, "n_margins")
, each component a sorted vector of residual interevent times for the corresponding margin.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.