Given a list of cascades, this function fits each cascade individually by calling [fit_series]. If the given cascades are in a named list, the names will be regarded as groups and the result will be reformatted as a list of group fits.

group_fit_series(data, model_type, observation_times = NULL, cores = 1, ...)

Arguments

data

A (named) list of data.frame(s) where each data.frame is an event cascade with event tims and event magnitudes (optional). The list names (if present) will be used for grouping cascades with same names.

model_type

A string representing the model type, e.g. EXP for Hawkes processes with an exponential kernel function

observation_times

A list or an vector of observation times for the cascades in data

cores

The number of cores used for parallel fitting, defaults to 1 (non-parallel)

...

Check the available arguments of fit_series

Value

A list of model obejcts where each object fits on an invidual cascade in data