How this calculation works
Evaluate a univariate exponential Hawkes event likelihood and predictable intensities for supplied parameters and an empty initial history.
λ(t)=μ+αβ Σ_{t_i<t}exp[−β(t−t_i)]; log L=Σ log λ(t_i−)−μT−αΣ{1−exp[−β(T−t_i)]}.A worked example
The six default events give log likelihood −5.9387600152 and integrated intensity 5.6055984650 for μ=0.7, α=0.4, β=1.2 and T=5.
Good to know
1–500 strictly increasing events inside (0,T); positive baseline and decay, 0≤α<1. Empty prehistory, fixed supplied parameters and one event type only. No parameter fitting, multivariate excitation, causal inference or unknown initial-history correction.
Reference: tick authors: exponential Hawkes kernels and likelihood (opens in a new tab) ↗
Separate arrivals from their conditional rate
A Hawkes process describes a rate that reacts to its own recorded history. Each observed event adds a contribution that decays over time, so closely spaced arrivals can be more plausible than under a constant-rate Poisson model. The conditional intensity uses events strictly before the time being evaluated.
The calculator evaluates an entered model rather than discovering that model from the data. Its log likelihood is useful for checking parameter conventions or comparing supplied candidates on the same observation window. A higher value by itself does not prove self-excitation, causation, adequate fit or superiority after accounting for additional fitted parameters.
Compare this with the Poisson distribution calculator. Evaluate history-dependent self-excitation and the integrated event likelihood for an observed sequence; a Poisson count probability assumes a constant independent-event rate.
Use a kernel with an explicit mass
Here the excitation kernel is alpha times beta times an exponential with decay rate beta. Its integral over positive time is alpha, making alpha the branching ratio and alpha times beta the immediate jump height. Other software sometimes uses a parameter named alpha for the height instead, which changes the required numerical input.
The baseline mu is measured in events per unit time, while beta is an inverse-time rate. Event timestamps and the end of the observation window must use that same unit. Changing from hours to minutes requires changing both rates consistently; copying the event values alone creates a different stochastic model.
Predictable intensity excludes the current jump
At the instant of an observed arrival, the likelihood uses the rate immediately before that arrival. The current event cannot explain its own occurrence. The first event therefore has intensity equal to the baseline when the observation begins with no previous events and the entered initial history is empty.
For subsequent events, exponential decay allows the past contribution to be updated recursively. The result is equivalent to summing the contribution of every earlier arrival directly, but avoids repeatedly traversing the entire history. The displayed intensity table lets you verify which bursts of nearby arrivals increase the conditional rate most strongly.
The compensator counts empty time too
Likelihood is not just a product of rates at observed events. It also penalizes the integrated intensity across the entire observed window, including intervals without arrivals. This integral is the compensator. A candidate that predicts excessively many events can have high arrival-time intensities while still receiving a poor overall likelihood.
The baseline contributes mu times T. Each event contributes only the remaining part of its exponential tail before T, rather than the kernel’s full mass. An arrival near the window end consequently contributes little integrated excitation inside that window. Omitting this end correction can change comparisons between parameter choices substantially.
Check the six-event default numerically
The default uses six events between zero and five, a baseline of 0.7, branching ratio 0.4 and decay rate 1.2. The integrated intensity is approximately 5.6055984650. Adding the six logarithms of the predictable intensities and subtracting that integral gives log likelihood approximately minus 5.9387600152.
The stationary reference rate is mu divided by one minus alpha, approximately 1.1666667 here. It is shown separately because the finite-window likelihood starts from empty history, not stationarity. Multiplying the stationary rate by the window length is not a replacement for the event-dependent compensator used in this example.
Observation windows are part of the data
A timestamp list does not by itself establish when observation began and ended. The entered T describes the period over which missing events would have been observable. The first event time is not automatically the beginning of observation, and the last event time is not automatically its end.
The implementation requires strictly increasing event times inside the open interval from zero to T. Coincident timestamps need an explicit model for ties or discretization and are rejected. Events before zero are not reconstructed. If substantial prehistory is known, an empty-history calculation should not be interpreted as though that information had been incorporated.
Understand the fixed-parameter scope
The stability restriction alpha below one makes the stationary reference finite for this linear kernel, but does not ensure that a particular supplied model fits observed arrivals. No optimizer, confidence interval, residual diagnostic or simulation-based goodness-of-fit test is included. The calculation is a reproducible likelihood evaluation under the stated convention.
Setting alpha to zero supplies an especially useful check: every predictable rate becomes mu and the compensator becomes mu times T. Changing beta must then have no effect on the answer. For nonzero excitation, compare the recursive intensities with a direct sum over earlier arrivals when checking an independent implementation.
A few questions, answered
Is alpha the jump height?
No. Alpha is the integrated kernel mass or branching ratio; the jump height under this convention is alpha times beta.
Are parameters estimated?
No. All parameters are supplied, and the page evaluates their conditional likelihood without fitting or uncertainty estimates.
Why is the first intensity just the baseline?
The model starts with empty prehistory, and the event cannot contribute to its own predictable intensity.
Can simultaneous timestamps be entered?
No. Strictly increasing times are required because a continuous-time ordering model for ties has not been specified.