Theoretical Advancements in Hawkes Processes and Their Practical Applications