se_bars: Standard Error Estimation

View source: R/nphawkes_functions.R

se_barsR Documentation

Standard Error Estimation

Description

This function estimates the variance of each bin for all utilized triggering components.

Usage

se_bars(model)

Arguments

model

the output from misd()

Details

This function is to be used in conjunction with the misd() function from the nphawkes library, and is used within the function that produces triggering plots.

Value

a list of variance estimates for each bin of all utilized triggering components

Examples

data("hm.csv")
out = misd(dates = hm$t,
   ref_date = "1999-10-16",
   lat = hm$lat,
   lon = hm$lon,
   marks = hm$m,
   time_breaks = c(0,0.1, 0.5, 1,7,93,600),
   space_breaks = c(0,0.5, 1, 10, 25, 100),
   mark_breaks = c(3, 3.1,3.3, 4, 5, 8),
   just_times = T)
se = se_bars(out)


boydpe/nphawkes documentation built on March 31, 2022, 11:03 a.m.