COPD affects older people more than young people. Uganda's population is much younger than the USA's, which explains the difference in crude rates. Age standardisation makes the rates comparable.
Crude Rates:
- Uganda: 5.8
- USA: 57.2
Age-Standardised Rates:
- Uganda: 28.7
- USA: 28.4
- COPD death rates are accurate and the standard of reporting of COPD deaths in the USA/Uganda is comparable.
- UN Population Prospect for 2019 in Uganda/USA is accurate and the data used to compute these estimates is of comparable quality in both countries. Medium scenario and mid-year population seem the most sensible, without additional information.
- COPD death rates data
- Downloaded Notion page describing the task as HTML.
- Asked ChatGPT how to parse a Table in an HTML and converted it to Pandas.
- Edited ChatGPT code to work for the class
notion-table-row
. Finalisedread_table_from_notion
to return numeric values.
- Studying
- Googled "age standardisation". Read this and doubled checked here and here.
- Read Age Standardization of Rates: A new WHO Standard to understand the need for a world standard population.
- Copied WHO standard population values, although
read_who_std_pop
simulates production (requires Java). - Googled "UN World Population Prospects (2022)" and found the Download Center from UN's DESA. I settled for the 1950-2021 Population data on 01 July by 5-year age group for both sexes.
- Downloaded CSV and wrote
read_UN_population_data
to compute population proportions for Uganda/USA. - Computed crude and age-standardized death rates for Uganda/USA.
-
$G$ : number of age groups -
$n_i$ number of deaths in age group$i$ -
$N_i$ population in age group$i$ -
$p_i$ proportion of deaths in age group$i$ -
$\bar{p}_i$ proportion of the standard population in age group$i$ .