File Exchange

image thumbnail

Simulate a Hawkes process

version 1.0.0.0 (26.1 KB) by

(and visualize it)

2 Downloads

Updated

View License

The submission considers first-order exponential-decay Hawkes processes with constant unconditional intensities, and presents
a) a calculation of point-time intensities for constituent series of a multivariate process;

b) a plotting function visualizing intensity dynamics and event occurrences of a multivariate process;

c) a *univariate* process simulator, based on Algorithm 1 of Bravaccino (2004, p. 80). A multivariate simulator is desired, and collaboration is enthusiastically welcomed.

Comments and Ratings (5)

Yinghui Dong

For a very long simulation, the average number of events per a unit time should be roughly the same as the expected intensity, which is mu/(1-alpha/beta). This is not the case when running your code. Have you checked this issue?

nie chun

Yijia Zhou

I've download several files of yours. They are very useful. Thank you. Do you work in the area of quantitative finance?

Antonio Brice;o

Hello. Thanks for your code, is very usefull, because I have the need to create synthetic data for work with optimzation. Have you ever been working in the optimization?

Updates

1.0.0.0

BSD

1.0.0.0

cosmetic revision

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video