eventnet

Guide

eventnet looks at a list of interactions over time and finds out which patterns make the next interaction more likely. You do not need to know statistics to use it. This page explains everything step by step.

Contents: What it does · Preparing your file · The patterns · Reading the results · The downloaded files · Advanced settings · FAQ · For statisticians

What does it do?

Imagine a list of emails in a company: who wrote to whom, and when. Some questions you might ask:

For every real interaction, eventnet also looks at a few interactions that could have happened at the same moment but did not (for example: Kim wrote to Will – but she could have written to Dan or Ines). It then compares the real ones with the ones that did not happen. If real interactions often have a pattern that the “could-have-been” ones do not, that pattern matters.

It works for any kind of “someone does something with someone” data: messages, phone calls, meetings, trades between countries, purchases (customer → product), citations (paper → paper), edits on Wikipedia (user → article), and so on.

Preparing your file

The interactions file (required)

A table – from Excel, Google Sheets or any program that can save CSV – with one row per interaction:

datesenderreceivertypeweight
2025-01-06 09:07KimWillemail1
2025-01-06 14:59DanHugocall12
2025-01-07 08:26WillKimemail1

The people file (optional)

One row per person with facts about them. The first column (or a column called name / id) must contain the same names as the interactions file.

namedepartmentseniorage
KimSales034
WillIT151

Templates: interactions (Excel) · interactions (CSV) · people (Excel) · people (CSV)

The patterns

“S” is the person who starts the interaction (sender), “R” the receiver and “X” any third person. Everything is measured from what happened before the interaction.

Habit: repeating earlier contacts
S has contacted R before. Very often the strongest effect: people stick to their contacts.
Returning the contact
R has contacted S before – does S answer back?
Busy senders
S has contacted many people before. Only for “who interacts with whom”, because when we ask “whom does S choose”, S is the same for all options.
Popular receivers
R has been contacted a lot before. Tests whether attention snowballs (“the rich get richer”).
Senders who are contacted a lot / receivers who are busy senders
The other two combinations of sending and receiving.
Friend of a friend
S contacted X and X contacted R. Do contacts spread through the network?
Closing a circle
R contacted X and X contacted S – a loop back.
Contacted by the same people / contacting the same people
S and R share an audience, or share contacts.
When the direction does not matter
(meetings, co-working) you get: habit, active people (both together), very active meets less active, and common contacts.

Reading the results

The verdict
A sentence like “Makes the contact clearly MORE likely (about ×1.75). Very reliable.” That is usually all you need.
Ratio (×)
How much the chance of an interaction changes. ×1 = no change. ×2 = twice as likely. ×0.5 = half as likely. For yes/no facts (same department) it compares yes with no. For amounts (how often they talked before) it is for a typical step up (one standard deviation – roughly the difference between an ordinary and a clearly higher value).
Uncertainty range
The true ratio is probably (95%) in this range. If the range includes ×1, we cannot be sure there is an effect.
p-value
How surprising the result would be if the pattern had no effect at all. Below 0.05 is usually called reliable (“significant”), below 0.001 very reliable.
Hit rate
How often the model ranks the real interaction above all the “could-have-been” ones. Compare it with random guessing: the bigger the gap, the more the patterns explain.
Important
These are associations, not proof of cause. Each effect is measured while taking the others into account, so adding or removing patterns can change the numbers. With fewer than a few hundred interactions, results are rough.

The downloaded files

eventnet-results.zip
Everything below in one file.
results.xlsx
Excel workbook with sheets: Summary, Results, People, Statistics, How to read this.
report.html
A one-page report; open it in a browser and print it or “Save as PDF”.
results.csv
One row per pattern: verdict, ratio, range, p-value, plus the technical coefficient and standard error.
people.csv
How many interactions each person sent and received, and with how many different partners.
statistics.csv
The raw numbers: one row for each real interaction (IS_OBSERVED = 1) and each “could-have-been” (IS_OBSERVED = 0), with the value of every pattern. Use it for your own analysis in Excel, R, Python, SPSS or Stata.
estimate_in_R.R
A short R script that re-fits the same model from statistics.csv.
settings.json
Your choices. Load it again under “Advanced settings” to repeat the same analysis on new data.

Advanced settings

Memory (half-life)
Should something that happened a year ago count as much as something from yesterday? With a half-life of one month, an interaction counts fully today, half after one month, a quarter after two months, and so on. “Never” means everything counts the same.
Comparisons per interaction
How many “could-have-been” interactions are drawn for each real one. 10 is a good balance; more gives slightly more precise results but takes longer.
Who could have been involved
“Everybody in the files” is simplest. Choose “only people who already appeared” if people join over time (e.g. new employees), so that nobody is compared before they were around.
Random seed
The comparisons are drawn at random. The same seed gives exactly the same results again.

FAQ

Is my data private?
There is no login: anybody with the results link (which contains a long random code) can see that analysis. Files and results are deleted automatically after 48 hours. Do not upload data you are not allowed to share.
How much data can I upload?
Files up to 50 MB and up to 500,000 interactions. A few thousand interactions take seconds; hundreds of thousands can take several minutes.
The columns were guessed wrong.
Just pick the right ones in step 2 – the guess is only a suggestion.
Some rows were skipped.
Rows with an empty sender or receiver, an unreadable date, or where someone contacts themselves are left out. The results page tells you how many and why.
A pattern was “not measured”.
It could not be estimated – for example nobody ever repeated a contact, or it describes the sender while the question is “whom does a sender choose”. The reason is shown next to it.
Can I use the results in a publication?
Yes. Please describe the method (see below) and cite the original eventnet papers.

For statisticians

This is a relational event model (Butts 2008) estimated from case-control sampled risk sets (Lerner & Lomi 2020) by conditional logistic regression – equivalent to a Cox proportional hazards model stratified by event (coxph(Surv(rep(1,N), IS_OBSERVED) ~ … + strata(EVENT))). For each event, non-events are drawn uniformly from all ordered pairs of the risk set (“who interacts with whom”) or from all receivers of the same sender (“whom does a sender choose”, a discrete-choice / sender-conditional model). Events with the same timestamp share the network state that existed before that timestamp.

Network statistics are computed from exponentially decaying tie weights w(i,j) = Σ weight · 2−Δt/T½; degrees are sums of tie weights; two-path statistics are Σk min(w(·,k), w(k,·)). Network statistics are transformed with log(1+x) to reduce the influence of extreme values. Covariates are standardised for estimation; reported ratios are hazard ratios per standard deviation (continuous) or per unit (0/1). Standard errors come from the observed information matrix. Undirected events update both directions.

This web version is a compact re-implementation in Python (engine) and Node.js (web server) of the core dyadic functionality of eventnet by Jürgen Lerner. For hyperevents (meetings with many participants modelled as one event), generalized hyperevents and the full range of statistics, use the original Java software.

References: Butts (2008), A relational event framework for social action, Sociological Methodology 38(1). Lerner & Lomi (2020), Reliability of relational event model estimates under sampling, Network Science 8(1):97–135. Lerner & Lomi (2023), Relational hyperevent models for polyadic interaction networks, JRSS A.