Skip to contents

R port of morie.tps_stochastic. Four jurisdiction-agnostic callables: temporal-only exponential Hawkes self-exciting fit, seasonal ARIMA forecast on monthly counts, Euler-Maruyama Ornstein-Uhlenbeck simulation, and a 1-D Fokker-Planck density evolution. The R port keeps optimisation in base R (stats::optim) and the seasonal forecast in stats::arima so no external time-series package is needed.

Details

All functions return a multi-section morie_rich_result list.

Functions

References: Mohler et al. 2011 (self-exciting point process crime); Short, D'Orsogna, Bertozzi 2010 (stochastic physics of crime).