A gravity model of student flows
The implemented headline model is a cross-sectional PPML gravity specification on flow counts. Separate panel and COVID diagnostics examine different questions; they are not terms of one combined model.
sending-country FEi + β₁ · GDP gapij + β₂ · Erasmusu ratingj + β₃ · institution qualityj
+ controls(log distance, language affinity))
The destination j is a city; country-level covariates use its country. GDP gap is the headline prosperity control. Salary and price-level gaps enter a separate robustness specification. Reddit provides supporting text evidence and alternative specifications, not the main QoL regressor.
Panel models use separate origin, destination and year fixed effects. COVID diagnostics use destination×field, origin and year effects. Pair fixed effects and origin×year effects are proposed extensions, not controls implemented here.
Explanatory Variables
The implemented variables and their sources. Expected signs describe hypotheses, not findings; the estimates below may differ.
Broad destination-prosperity control
Source: World Bank GDP per capita (gdp_gap_usd_wb)
Expected: + (richer destinations associated with more flow, broad control)
Explanatory – perceived liveability
Source: Erasmusu city ratings (headline regressor); Reddit r/Erasmus via DeepSeek + Pydantic (supporting text evidence)
Expected: + (better perceived life attracts flows)
Explanatory – academic pull
Source: QS World University Rankings 2023, geocoded + snapped to destination city (institution_quality.csv)
Expected: + (stronger universities attract flows)
Control – origin–destination language affinity (gravity friction)
Source: Shared language-family dummy (geo.py LANGUAGE_FAMILY)
Expected: + for shared/affine language family
Control – gravity friction
Source: Origin-country centroid → destination-city great-circle km (geo.py)
Expected: − (farther destinations deter flows)
Robustness only – salary heterogeneity (overlaps GDP gap)
Source: Eurostat net earnings (earnings_gap, sector_earnings_2018.csv)
Expected: ambiguous (VIF ~7 with GDP gap; not a headline term)
Robustness only – cost of living (overlaps GDP gap)
Source: Eurostat price levels (price_level_gap)
Expected: ambiguous (VIF ~6.5 with GDP gap; not a headline term)
Model Results
Every coefficient (β) — headline PPML gravity model
Estimated terms from Spec J-main, the cross-sectional PPML model on flow counts with sending-country fixed effects and city-clustered standard errors. Significant (p<0.05) in accent. Natural-unit effect is the % change in flow for a tangible unit change — +$10,000 GDP gap, +1 Erasmusu rating point, +10 QS score points, doubling distance.
Quality-of-life coefficient across specifications
β₂ across all specs. Outcome is log(1+flow) (OLS/WLS) or flow level (PPML); covariance choices vary by specification. Headline: the city-level two-stage (panel destination attractiveness explained by Erasmusu rating).
Separate panel specifications and exploratory COVID diagnostics appear in the Time & Shocks act below.
GDP-per-capita gap
Destination minus origin GDP per capita (World Bank, current USD). Read as a broad prosperity control, not as a causal economic-pull effect. Salary gap and price-level gap are demoted to robustness because they overlap with GDP and produce an unstable monetary block (VIF ~6.5–7 in the full controls spec).
gdp_gap_usd_wb · pair-level destination minus origin, joined onto the KA1 2022 panel.Quality of life
A text layer over r/Erasmus and a numeric layer from Erasmusu city ratings. Tests whether students are pulled toward places that read as friendlier, cheaper, livelier in student talk.
Destination mentions extracted from r/Erasmus posts and comments. Score-weighted net also weights by extraction confidence and log Reddit score. Click headers to sort.
Institution quality
Each destination university enters as a ranking score. The headline cross-sectional model conditions on GDP gap, distance, language affinity and Erasmusu ratings. QS scores proxy academic attractiveness and may also reflect institutional scale and networks.
institution_quality.csv.user_institution_quality.csv.Comparing specifications can change both the sample and the controls, so coefficient differences alone do not isolate an institution-quality effect. See Model Results for the full coefficient table.
Panel gravity, 2014–2023
We refit the gravity PPML on the panel of country-pair flows by year (2014–2023), with separate origin, destination and year fixed effects. These absorb stable origin/destination differences and common annual variation, not all bilateral ties. The plotted series shows year effects relative to 2014. This Stage-1 fit uses default GLM covariance; subsequent models have their own clustering choices.
A flat line would say "Erasmus volume is stable once you control for gravity". Instead we see a steady positive drift through 2019 (program scale-up), the sharp 2020 collapse when borders closed, a partial 2021 rebound, and a return above the 2019 baseline by 2023 — this is a descriptive common time pattern, not proof that composition changes or other confounders have been eliminated.
How to read: dot = year FE coefficient · dashed line = 2014 baseline (0) · coral 2020 marker = COVID shock year.
Time-varying destination indicators
When we let a regressor itself vary by year (instead of absorbing time into a single FE), within-destination movement over time identifies it. Three time-varying panels are estimated. Two of the three say something; one says nothing — that null is itself worth reading.
What is a "life-satisfaction point"? The OWID series uses the Cantril ladder from the Gallup World Poll / World Happiness Report: respondents rate their current life on a 0–10 scale ("worst possible life" to "best possible life"). The country score is the mean response. A "+1 life-satisfaction point" means moving the destination's annual mean one full rung up the ladder — e.g. roughly the Spain↔Switzerland gap in 2022. Source: data/processed/owid_country_year.csv.
Read: only life satisfaction identifies cleanly as time-varying — +25.4% per life-satisfaction point, p=0.035. The other two are null. The QS null reflects QS-score stickiness (within-city year-to-year variance is tiny); the education-spending null suggests within-country temporal drift in public-education investment doesn't move Erasmus flows.
The 2020 shock
We move from the smooth year-FE path to a real, date-pinned shock. Each ISCED-F broad field of study is mapped to one NACE sector, then we ask: did flows into (destination, field) cells whose mapped sector was hit harder in 2020 fall by more, relative to 2019? We run it twice — once with wage-based hit (LCI), once with employment-based hit (LFS) — because wage subsidies may affect the interpretation of the LCI wage series.
covid_sector_hit.csv — sector wage growth deviation, 2015–2019 baseline. LFS covid_employment_hit.csv — sector employment growth deviation, same baseline. Field → NACE map in src/erasmusgravity/fields.py.How to read: two series of year×hit interactions (2019 as reference). Coral = LCI wage-based hit. Teal = LFS employment-based hit. Filled dots = p<0.05. Dashed horizontal line at zero. Dashed vertical line marks 2019 reference. LCI on a different y-scale from LFS — coefficients in the Effect card read as "% flow change per 1 pp harder hit sector".
Erasmus+ network
All participating countries · KA1 2024 study mobility, including partner countries outside Europe.
See the scale of the network, then choose a country to explore where its students go or where they arrive from.
Largest sending countries
Largest receiving countries
Mobility over time
All countries · separate historical panel, 2014–2023.
Flow Heatmap
Rows and columns use the same country order: countries are sorted by total Erasmus flow volume among the displayed top countries.
Explore a country
Choose a country to start.
Which country would you like to explore? Read its national context, follow outgoing or incoming mobility, and refine university-level flows.
See the network firstCountry overview
National context uses Higher Education study mobility, age 18+, across country borders. University-level records have separate geographic coverage; their refined totals are labelled separately.
Refine exploration
Choose any combination of origin university, partner country and destination university. These filters refine the map, partner chart, flow table and GDP-gap plot. National totals, grants and historical trends keep their own labelled scope.
University Flow Map
Mobility Over Time (2014–2024)
Higher Education study mobility by calendar year of mobility start, from the spatially enriched Erasmus+ panel (Väisänen et al. 2025). This is the temporal backbone for the panel gravity design.
Selected country — top destinations
National flows by calendar year and direction. University filters do not apply to this separate 2014–2023 panel.
Top partners
Flow table
GDP gap & mobility
GDP gap = receiving-country GDP per capita minus sending-country GDP per capita (broad prosperity control, β1). Flow share = the partner’s share of the selected direction and active exploration filters.
Salary reference
Mean monthly gross earnings by employer's NACE economic sector. Reference year and coverage follow the loaded Eurostat Structure of Earnings Survey data.
Destination economics
Reported as robustness, not headline controls. salary_gap and price_level_gap proxy the same rich-vs-poor-destination dimension as the headline gdp_gap (β1): VIFs ≈ 5–7 in the full-controls PPML, so the three monetary gaps split one signal three ways. The full-economic-controls spec is kept here as an exploratory check because of this multicollinearity, not because the economics are uninteresting. See reports/gravity_model.md §4.
Click column headers to sort. Destination metrics are weighted by each sending country's flow counts.
Data Sources and Measurement Notes
- Current mobility exploration: KA1 source year shown in each view.
- Published research:
Erasmus-KA1-Mobility-Data-2022.xlsxfor the original cross-sectional estimates; the separate geolocated 2014–2023 archive for panel and COVID models. - Flow scope: Erasmus mobility is modeled as cross-border origin–destination movement. Same-country rows in the KA1 file are extremely rare and treated as coding artifacts, not as a domestic Erasmus layer.
- HE grants: annual report 2024 statistical annex; call year shown in the profile.
- GDP per capita: World Bank current US$ is used for the dashboard GDP-gap plot because it covers more Erasmus partner countries; Eurostat GDP remains in the processed dataset.
- Economic exploration: World Bank and Eurostat; indicator year shown in each view. Missing values remain
n/a. - Scholarship proxy: grant per participant is applicant-country-level, not the exact grant received by individual students or country pairs. Treat the social-elevator angle as descriptive, not causal.
- Quality of life (built): Erasmusu city ratings are the main city-level regressor. Reddit destination sentiment and themes extracted via DeepSeek and Pydantic provide supporting text evidence and alternative specifications. OWID life satisfaction is a separate country-year panel proxy. These sources are not interchangeable.
- Institution quality (built): QS scores matched to destination cities, with StudyPortals ratings as a cross-check. Scores may reflect capacity and networks as well as academic quality.
- Language affinity (built): shared-language-family indicator used as an origin–destination control, not an instrument or a causal mechanism.