Diabetes Associations

Posted on Sep 3, 2022

Introduction

Diabetes is among the most prevalent diseases, impacting millions of Americans each year. It is a serious chronic disease in which individuals lose the ability to effectively regulate levels of glucose in the blood. Complications, such as heart disease, vision loss, lower-limb amputation, kidney disease and infections are associated withΒ  high levels of sugar remaining in the bloodstream for those with diabetes.

Adult-onset diabetes is caused by both genetic and lifestyle factors. Strategies like losing weight, eating healthily, being physically active, and receiving medical treatments can mitigate the harms of this disease in many patients. Patients with pre-diabetes or diabetes early in the disease process may be able to reverse the process of insulin resistance through lifestyle measures. Early diagnosis is, therefore, key to prompting lifestyle changes and more effective treatment, making predictive models for diabetes risk important tools for public and public health officials.

The significance and scale of this problem is also important to recognize. The Centers for Disease Control and Prevention (CDC) has indicated that as of 2018, 34.2 million Americans have diabetes and 88 million have prediabetes. Furthermore, the CDC estimates that 1 in 5 diabetics, and roughly 8 in 10 prediabetics are unaware of their risk. Adult-onset (Type 2) diabetes is the most common form and its prevalence varies by age, education, income, location, race, and other social determinants of health. Much of the burden of the disease falls on those of lower socioeconomic status as well. Diabetes also places a massive burden on the economy; diagnosed diabetes costs of roughly $327 billion dollars annually (1).

Tools Used

Python

Visiaulisation - Pandas, Matplotlib, Seaborn

About the data set

Every year, the CDC carries out a Behaviour Risk Factor Surveillance System (BRFSS), telephone survey of around 400,000 Americans on health related behaviorss, chronic health conditions and the use of preventative services. For this project, the dataset available for the year 2015 was used, with 21 variables and 253,680 survey results from the telephone survey analyzed for their association with pre-diabetes and diabetes.

Overview & Interesting Facts

The dataset examines the following variables

  • Whether the individual has diabetes, pre-diabetes or no diabetes
  • Information on their health conditions such as high blood pressure, high cholesterol, a raised body mass index (BMI), stroke or heart disease history
  • Lifestyle factors such as their level of physical activity and whether they eat fruit, whether they smoke or drink alcohol
  • The state of their general health, mental health, physical helath and difficulty in walking
  • Demographic factors such as gender, age, education and income

The questionaireΒ  yielded 253,680 responses that I examined to determine how many had diabetes or pre-diabetes. This demonstrated that 13.9% of respondents were diabetic with a further 1.8% being pre-diabetic. However, the diagnosis of pre-diabetes is dependent on the level of testing carried out within healthcare. It is likely to be unrecognized in a large proportion of the population because it is entirely asymptomatic. Consequently, those that are tested are likely to be a self-selected, which raises the problem of aΒ  potentially biased population sample and further analysis on whether this is reflective of the true incidence of pre-diabetes within the population would need to be performed to ensure the validity of these survey results.

Next I examined the distribution of each variable using histograms. This demonstrated that most variables had been converted into catagorical types – with the exception of BMI. This is likely to lead to over-simplification of modelling of the dataΒ  for predicting diabetes. Several of these variables would have yieleded more granular data if they had been kept as continuous variables such as age, income, blood pressure, cholesterol. Similarly the status of whether an individual eats fruits or vegetables has been made binary when the amount they eat is also likely to have significance on the risk of developing diabetes. This visualization enables an assessor to gauge the limitations of the data set and also potentially identify outliers in the data. There was no missing data within the dataset.Β 

Β Correlation between the variables

As several of these variables are interrelated, I first sought to determine the correlation between the variables provided in the dataset. This was performed through a Pearson correlation plot that demonstrated a positive correlation between general health, physical health, mental health and difficulty walking. A high correlation was also demonstrated between higher education level and income. There was also a strong negative correlation between general/physical health, as well as education and general health.

Next I examined the relationship between these factors and whether an individual has diabetes, pre-diabetes or neither of those condition.. This demonstrates a positive correlation of diabetes with general health, hypertension, difficulty walking and raised BMI. There was also correlation with heart disease, increasing age and poor physical health. There was a negative correlation with increasing educational attainment and income.

Body mass index and diabetes

I examined the relationship of BMI with diabetes. Initially, I examined this using a boxplot. Although this demonstrated a step-wise increase in BMI in pre-diabetics and diabetics,Β  due to outliers, it did not allow granular detail to be analyzed.Β  Therefore, I went on to examine the association of diabetes with BMI with a stacked bar-graph. This demonstrates a clear relationship between increasing BMI until a BMI of around 70. After this, the relationship is not demonstrated, likely as a result of very few patients within these cateagories (data now shown).

Age and diabetes

Next, I examined the relationsip of age and diabetes. In the stacked bar-graph below, you can clearly see a relationship between both pre-diabetes and diabetes with increasing age bands.

Diet and diabetes

Next I examined lifestyle factors, such as diet and smoking, and their association with diabetes. This demonstrates no association with smoking. However, an association was observed with lower incidence of eating fruit/vegetables and lower physical activity and the development of diabetes as well as with drinking excess alcohol.

Income, Education and Diabetes

As shown in the pearsons correlation above, socioeconomic factors such as higher income and higher educational attainment were negatively associated with diabetes. As these associations are likely to be lifestyle related, I went on to examine the relationship between income and lifestyle factors such as physical activity, excess alcohol consumption and diet within these groups to understand the relationship further. Higher income was associated with higher vegetable and fruit consumption as well as increased activity. Alcohol was not as strongly correlated with higher income although a weak association was seen. Better general and physical health were also positively correlated with higher income. These lifestyle factors may partially explain reduced rates of diabetes within the higher income group population.

Key Takeaways

  • Modifiable risk factors: Modifiable risk factors, such as an increased diet of vegetables/fruits, increased physical activity and reduced weight, appear to be negatively correlated with diabetes. Public health measures aimed at increasing availability of fruits and vegetables and measures to reduce weight within the population may improve rates of diabetes.
  • Non modifiable risk factors: There were several non-modifiable factors associated with diabetes within this analysis, such as age, income levels and educational attainment. However, understanding why increasing income and education are associated with reduced rates of diabetes is also important for public health interventions targetted at particular populations. For example, I have demonstrated the relationship between lower physical activity and lower rates of eating vegetables and fruits in the population with lower income.

Conclusions

I have shown a clear correlation between increasing body mass index and diabetes. While it may be easy to draw conclusions in terms of correlation and causation, the clear inter-relationship between several of these factors makes the interpretation of this data more challenging. It is important to remember that correlation does not equate to causation and that further analysis using other methods outside of telephone surveys would be required in order to use data in public health measures to improve rates of diabetes or its identification in the general population.

Resources for the data

https://www.kaggle.com/datasets/alexteboul/diabetes-health-indicators-dataset?resource=download&select=diabetes_012_health_indicators_BRFSS2015.csv

References

(1) https://www.cdc.gov/chronicdisease/resources/publications/aag/diabetes.htm

About Author

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI