YLL (Years of Life Lost) is a metric that is used to quantify the impact of premature deaths on a population. It can be calculated as:
Where:
- represents the Years of Life Lost.
- is the life expectancy at the age at which the person died.
- is the actual age at death.
I took the life expectancy values from the year 2021 for different races and genders.
By using the data frame “life_expectancy_2021_df”, I have calculated the YLL:
I will post my findings in the next post!!!