Skip to content

NokwaziX/MortalityAnalysis2022

Repository files navigation

2022 Multiple Cause of Death (MCOD) Analysis

Project Overview

This project was completed as part of the AWS AI & ML Scholars Program using AWS PartyRock (Whiskers AI).

The objective was to explore a Multiple Cause of Death (MCOD) dataset from 2022 and use generative AI to identify mortality trends, leading causes of death, and the relative impact of disease-related and injury-related mortality.

The project demonstrates how Large Language Models (LLMs) can assist with exploratory data analysis by generating insights from structured datasets through natural-language prompts.


Tools Used

  • AWS PartyRock (Whiskers AI)
  • Generative AI Prompting
  • GitHub
  • CSV Dataset Analysis

Future enhancements include:

  • Python
  • Pandas
  • Matplotlib
  • Jupyter Notebooks

Dataset

Dataset: Fact_MCOD2022_Causes_Info_Horizontal.csv

The dataset contains over 500,000 mortality records and includes:

  • Underlying Cause of Death
  • Contributing Causes
  • Injury-related Causes
  • ICD-10 Cause Groupings

The full dataset is not included in this repository due to file size limitations.


Research Questions

The following prompts were used in AWS PartyRock:

  1. What are the top 10 causes of death?
  2. What are the least common causes of death?
  3. How important are injuries as a cause of mortality compared with diseases?
  4. List 3 to 5 insights discovered from the data.

Key Findings

Top Causes of Death

ICD-10 Code Death Count
R99 67,581
E14 29,880
I64 24,855
X59 24,162
I10 21,892
J18 19,338
I50 15,762
A16 15,681
B33 13,394
B20 12,042

Disease vs Injury Mortality

Category Deaths Percentage
Disease / Natural Causes 449,021 87.16%
Injury / External Causes 66,156 12.84%

Insights

1. Ill-defined causes were the most common category

R99 (Other ill-defined and unspecified causes of mortality) was the leading cause of death.

2. Chronic diseases remain a major health burden

Diabetes, hypertension, stroke, and heart failure were among the leading causes of death.

3. Infectious diseases continue to have a significant impact

Tuberculosis, HIV, and pneumonia remained prominent contributors to mortality.

4. Disease-related mortality dominates

Nearly 87% of deaths were attributed to disease-related causes compared to approximately 13% caused by injuries.

5. Rare causes of death exist but contribute minimally

Several causes appeared only once in the dataset.


Limitations

  • No age information available.
  • No sex or gender information available.
  • No geographic information available.
  • High prevalence of R99 classifications may affect interpretation.
  • Findings are based on AI-assisted exploratory analysis and should be independently validated.

Reflection

AWS PartyRock enabled rapid exploration of a large mortality dataset through natural-language prompts. The exercise demonstrated how generative AI can assist analysts in identifying trends and generating hypotheses for further investigation.

Future work will focus on validating these findings using Python-based data analysis techniques.


Author

Completed as part of the AWS AI & ML Scholars Program using AWS PartyRock.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors