My Presentation

Akshay Bareja

2026-06-08

Warning: This analysis is for instruction purposes only!

1 Import data

# A tibble: 10 × 20
   country_name region          ladder_score standard_error_of_la…¹ upperwhisker
   <chr>        <chr>                  <dbl>                  <dbl>        <dbl>
 1 Finland      Western Europe          7.84                  0.032         7.90
 2 Denmark      Western Europe          7.62                  0.035         7.69
 3 Switzerland  Western Europe          7.57                  0.036         7.64
 4 Iceland      Western Europe          7.55                  0.059         7.67
 5 Netherlands  Western Europe          7.46                  0.027         7.52
 6 Norway       Western Europe          7.39                  0.035         7.46
 7 Sweden       Western Europe          7.36                  0.036         7.43
 8 Luxembourg   Western Europe          7.32                  0.037         7.40
 9 New Zealand  North America …         7.28                  0.04          7.36
10 Austria      Western Europe          7.27                  0.036         7.34
# ℹ abbreviated name: ¹​standard_error_of_ladder_score
# ℹ 15 more variables: lowerwhisker <dbl>, logged_gdp_per_capita <dbl>,
#   social_support <dbl>, healthy_life_expectancy <dbl>,
#   freedom_to_make_life_choices <dbl>, generosity <dbl>,
#   perceptions_of_corruption <dbl>, ladder_score_in_dystopia <dbl>,
#   explained_by_log_gdp_per_capita <dbl>, explained_by_social_support <dbl>,
#   explained_by_healthy_life_expectancy <dbl>, …

2 Healthy life expectancy plot

The relationship between ladder score and healthy life expectancy is depicted in Figure 1. Figure 1 (a) shows one regression line for each region, and Figure 1 (b) shows one overall regression line.

The regression model for the second plot is Equation 1.

\[ Healthy Life Expectancy = \hat{beta}_0 + \hat{beta}_1 \times LadderScore + \epsilon \tag{1}\]

(a) One regression line per region
(b) One overall regression line
Figure 1: Relationship between ladder score and healthy life expectancy

3 Summary Statistics

The mean healthy life expectancy for Western Europe and Sub-Saharan Africa are -

  1. Western Europe - 73 years
  2. Sub-Saharan Africa - 56 years