The Architecture of Happiness: A Structural Equation Model Disentangling Interpersonal and Institutional Predictors of Happiness
- Thauri Dattadeen
- Fabian Lindh
- Pontus Samnegård
How do social trust, satisfaction with institutions, and social wellbeing relate to self-reported happiness across Europe?
| Latent factor | Indicators (ESS variables) |
|---|---|
| Social Trust | ppltrst, pplfair, pplhlp |
| Institutional Satisfaction | stfeco, stfgov, stfdem |
| Social Wellbeing | sclmeet, sclact, inprdsc |
| Happiness (single indicator) | happy |
- Missing-data diagnostics (Little's MCAR test), so models use FIML.
- EFA: KMO, Bartlett, parallel analysis, 3-factor oblimin solution.
- CFA of the three-factor measurement model (MLR estimator, FIML).
- Full SEM regressing Happiness on the three latent factors.
Using ~50,000 respondents from ESS Round 11, all three factors significantly predict happiness (p < .001). Social Wellbeing matters most, ahead of trust in institutions or in other people.
| Predictor of Happiness | Standardised γ |
|---|---|
| Social Wellbeing | 0.32 |
| Institutional Satisfaction | 0.19 |
| Social Trust | 0.12 |
Standardised solution (MLR, FIML). Solid arrows: freely estimated paths; dashed: fixed or residual terms. *** p < .001.
Model fit (MLR, FIML):
| Model | CFI | TLI | RMSEA | SRMR |
|---|---|---|---|---|
| CFA (measurement) | 0.970 | 0.955 | 0.056 | 0.038 |
| Full SEM | 0.968 | 0.952 | 0.054 | 0.036 |
The full write-up is in report/report.pdf.
The analysis uses the European Social Survey Round 11 (2023), edition 4.1 (ESS ERIC, 2024; https://doi.org/10.21338/ess11e04_1). The data file is not included; see data/README.md for how to obtain it and the full citation.
- Get the data as described in
data/README.md. - Install the packages:
install.packages(c("lavaan", "lavaangui", "psych", "naniar"))
- From the repository root:
(
Rscript analysis/sem_analysis.R
lavaangui()opens interactive plots; comment those lines out for a non-interactive run.)
├── analysis/sem_analysis.R # full analysis
├── data/README.md # how to obtain the data
├── figures/ # exported plots
└── report/report.pdf # final report
