View source: R/hawkes_em_functions.R
Q_fun | R Documentation |
compute_Q
.Returns sum of compute_Q
over different the output/input combinations given by out_inp
. Currently only implemented for constraints over a single output process (i.e., only 1 row of out_inp
can have non-zero entries). Used to apply model constraints on response kernels. Yuck.
Q_fun(out_inp, pp_obj, parms, k, list_P)
out_inp |
n_margins-by-n_margins binary matrix in which |
pp_obj |
a |
parms |
parameters of the Hawkes process formatted as described for |
k |
output from |
list_P |
output from |
The (scalar) sum of the values of the Q functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.