admbrgd / youlldie

A web app that statistically predicts your life expectancy based on your inherited risk factors and lifestyle choices, leveraging data from peer-reviewed literature and public databases
https://youlldie.com
GNU Affero General Public License v3.0
11 stars 1 forks source link

Addition of the Risk Factor "World Region" #5

Closed admbrgd closed 1 year ago

admbrgd commented 1 year ago

Discussed in https://github.com/admbrgd/youlldie/discussions/4

Originally posted by **admbrgd** March 7, 2023 The risk associated with different causes of death varies significantly between world regions. I suggest to add the risk factor "World Region" to the app so that the output takes into account the physical and cultural landscape of the user. I suggest to use the World Bank Regions (i.e.: East Asia & Pacific, Europe & Central Asia, Latin America & Caribbean, Middle East & North Africa, North America, South Asia, Sub-Saharan Africa) as parameters because those regions represent clear distinctions in physical landscape (location, climate type and terrain) and cultural landscape (traditions, ethnicity, language, religion, economics and politics). Data related to these world regions is also available from open access sources.
admbrgd commented 1 year ago

Cause of Death data is available for individual World Bank Regions (WBR). Namely, ourworldindata.com offers data corresponding to the number of death associated with the most common causes of death that are open access under the Creative Commons BY license.

This data (number of death per region) can be divided by the individual regions' populations to obtain the rates of death in different regions. The rates for the different regions can than be compared against their mean to obtain a percent variation from the world death rate, which is what the app provides by default. This percent variation from the mean can then be applied to the RISK and RATE of DEATH.

admbrgd commented 1 year ago

OK. Please Create a Branch for this issue, make suggested updates and submit a Pull Request.

admbrgd commented 1 year ago

The AGE of DEATH associated with the different causes of death which is currently being used in the app corresponds to a world wide averages. In reality, age of death from different conditions is significantly different between world regions. Unfortunately, data related to the age of death associated with individual causes of death in the different world region is not available. Nevertheless, data related to life expectancy in each of the world bank regions is available for download on their website: https://data.worldbank.org/indicator/SP.DYN.LE00.IN

I suggest to use the data available from worldbank.org to compute a longevity percent variation from the mean for each world bank region. Those percent variation form the mean can then be applied to the AGE of DEATH associated with every causes of death.

admbrgd commented 1 year ago

I agree. Please Create a Branch for this issue, make suggested updates and submit a Pull Request.