| Literature DB >> 35347178 |
Micha Kaiser1, Steffen Otterbach2,3, Alfonso Sousa-Poza2,3.
Abstract
This study applies a machine learning (ML) approach to around 400,000 observations from the German Socio-Economic Panel to assess the relation between life satisfaction and age. We show that with our ML-based approach it is possible to isolate the effect of age on life satisfaction across the lifecycle without explicitly parameterizing the complex relationship between age and other covariates-this complex relation is taken into account by a feedforward neural network. Our results show a clear U-shape relation between age and life satisfaction across the lifespan, with a minimum at around 50 years of age.Entities:
Mesh:
Year: 2022 PMID: 35347178 PMCID: PMC8960822 DOI: 10.1038/s41598-022-09018-x
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Descriptive statistics: variables.
| Measure | Mean | SD | Median | |
|---|---|---|---|---|
| # Children | Numeric | 0.75 | 1.05 | 0.00 |
| Years of education | Numeric | 12.18 | 2.7 | 11.50 |
| Life satisfaction | Numeric (0–10) | 7.07 | 1.75 | 7.00 |
| Degree of disability | Numeric (0–100) | 5.45 | 17.97 | 0.00 |
Age (20–70) | Numeric | 44.8 | 13.36 | 44.00 |
| Unemployed | Factor (no/yes) | 0.06 | 0.23 | 0.00 |
| Not in labor force | Factor (no/yes) | 0.2 | 0.4 | 0.00 |
| Homeowner | Factor (no/yes) | 0.43 | 0.5 | 0.00 |
| Person in need of care living in HH | Factor (no/yes) | 0.03 | 0.17 | 0.00 |
| Married | Factor (no/yes) | 0.7 | 0.46 | 1.00 |
| Female | Factor (no/yes) | 0.53 | 0.5 | 1.00 |
| Data collected by interviewer | Factor (no/yes) | 0.59 | 0.49 | 1.00 |
| Good health | Factor (no/yes) | 0.53 | 0.5 | 1.00 |
| Household income in real values | Numeric | 2696.05 | 2834.83 | 2303.52 |
| Income satisfaction | Numeric (0–10) | 6.33 | 2.29 | 7.00 |
| 5-year cohorts (1920–1995) | factor (1–16) | – | – | – |
| N | 381,279 | |||
Model characteristics.
| Type of neural net | Feedforward neural network | |||
| Loss function | MSE | |||
| Batch size | 1 | |||
| Number of epochs | 20 | |||
| Optimization | Adam optimization | |||
| Learning rate | 0.0001 | |||
| Initial weight distribution | ||||
Figure 1Predictions of life satisfaction on test data. Neural network predictions of life satisfaction as a function of age and cohorts. The blue line indicates the predicted values given the test data, while the orange line shows the actual values within the test data.
Figure 2Predictions of life satisfaction on test data. The figure shows the differences in the baseline model predictions (including age and cohorts) and the models excluding age, cohort, and age and cohort. Differences are shown by age (top panel) and cohorts (bottom panel).