Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T02:13:26.767Z Has data issue: false hasContentIssue false

Predicting Network Events to Assess Goodness of Fit of Relational Event Models

Published online by Cambridge University Press:  29 April 2019

Laurence Brandenberger*
Affiliation:
Chair of Systems Design, ETH Zurich, Weinbergstr. 56/ 58, CH-8092 Zurich, Switzerland. Email: lbrandenberger@ethz.ch Institute of Political Science, University of Bern, CH-3012 Bern, Switzerland
Rights & Permissions [Opens in a new window]

Abstract

Relational event models are becoming increasingly popular in modeling temporal dynamics of social networks. Due to their nature of combining survival analysis with network model terms, standard methods of assessing model fit are not suitable to determine if the models are specified sufficiently to prevent biased estimates. This paper tackles this problem by presenting a simple procedure for model-based simulations of relational events. Predictions are made based on survival probabilities and can be used to simulate new event sequences. Comparing these simulated event sequences to the original event sequence allows for in depth model comparisons (including parameter as well as model specifications) and testing of whether the model can replicate network characteristics sufficiently to allow for unbiased estimates.

Information

Type
Articles
Copyright
Copyright © The Author(s) 2019. Published by Cambridge University Press on behalf of the Society for Political Methodology. 
Figure 0

Figure 1. Stratified Cox regression set up of a discrete-time event sequence. For each event in the event sequence a risk set of all events that could possibly occur at said time $t$ is defined which forms a stratum. The risk set consists of true events, i.e., events that took place at time $t$, and null events, i.e., events that did not occur at time $t$. Examples of risk sets, true events and null events are encircled in blue in the figure.

Figure 1

Table 1. Terminology for simulated and original events.

Figure 2

Figure 2. Illustration of event prediction at $t=4$. The risk set for $t=4$ is specified. For each event in the risk set the endogenous network statistics are calculated. Using the specified model, the baseline hazard (with $d_{i}=1$) and survivor probabilities are calculated. The event with the lowest survivor probability is most likely to occur next (arrow width and event opacity).

Figure 3

Figure 3. Coefficients from simulated sequences (bold lines) compared to the specified coefficients (dashed lines). The first 50 strata contain 200 random true events. All subsequent events are based on the prediction procedure and coefficients from an artificial Cox model.

Figure 4

Table 2. Correlation matrix of survivor probabilities with different definitions of number of events ($d_{i}$). Survivor probabilities are calculated for the stratum at $t=989$. The choice of $d_{i}$ does not affect survivor probabilities much. Correlations of survivor probabilities with different baseline hazards are all close to 1. Please refer to the SI Online for further details on the calculation of the correlation matrix.

Figure 5

Figure 4. Results of the stratified Cox model on event occurrence. Events correspond to political statements organization made during the German pension debate. Endogenous network statistics are used to capture temporal patterns of interactions in the debate. The full model contains four-cycle statistics to capture learning patterns among organizations. (Note: AIC full model $=54219.64$, AIC reduced model $=55452.81$. Mc-Fadden $pseudo-R^{2}$ is $0.13$ and $0.11$ for the full model and the reduced model, respectively. Estimations based on 6044 true events and 877,811 null events.)

Figure 6

Figure 5. Goodness of fit assessment of the full model through timing of simulated events. The temporal prediction error is calculated by the difference between the original true event and the simulated (true and null) event. For the full model, the mean temporal prediction error for simulated true events is $202.25$ days and $242.85$ days for simulated null events. For the reduced model, the mean temporal prediction error for simulated true events is $224.81$ days and $242.89$ days for simulated null events.

Figure 7

Figure 6. Temporal prediction error of simulated true events for the full and reduced models as well as for random sequences. The temporal prediction error is calculated by the difference between the original true event and the simulated true event. Mean temporal prediction error of the full model is $202.25$ days, $224.81$ days for the reduced model and $242.78$ days for the random sequence.

Figure 8

Figure 7. Goodness of fit assessment through event matching. The bar chart shows by how much the reduced and full models improve the prediction of senders, targets and sender–target combinations vis-à-vis the randomly predicted sequence. Confidence intervals are based on 1,000 simulated sequences.

Figure 9

Figure 8. Goodness of fit assessment through event matching. The bar chart shows how large the tolerance has to get until the model reaches 50% correct event (sender–target combinations) predictions. The lower the tolerance, the better the model fit. Confidence intervals are based on 1,000 simulated sequences.

Figure 10

Figure 9. Goodness of fit assessment through comparison of network characteristics. The bar chart represents the distributions from the aggregated network of events between event day 700 and 800 of the original event sequence. The box plot corresponds to the distributions captured in the model-based simulations. The full model captures degree distributions fairly well, slightly overestimates k-star distribution of the sender mode and yields passable results for k-star distributions of the target mode, dyad-wise shared partner and geodesic distance distributions.

Supplementary material: File

Brandenberger supplementary material

Brandenberger supplementary material 1

Download Brandenberger supplementary material(File)
File 303.5 KB