A long term crisis

Visualizing the last 30 years of the US Opioid Epidemic 

IMG_1826.JPG

Background

IMG_1827.JPG

Unsurprisingly, the public health conversation in 2020 has been dominated by the threat of the global Coronavirus pandemic that has killed more than 500,000 in the United States and 2.3 million worldwide to date¹. In addition to that staggering loss of life, one additional consequence of the global COVID-19 pandemic is the negative effect it seems to be having on the ongoing opioid epidemic in the US. This public health crisis was already a serious problem before COVID-19. In 2019 opioid overdoses killed more than 50,000 people in the United States². Tragically, recent data suggest that the opioid crisis was worsening prior to the spread of COVID-19 in the US and that the pandemic may be exacerbating it further³⁴. You will explore those data through graphs and basic statistical modeling in this series of activities. 

Untitled_Artwork 47.jpg

As a society, we are much more aware of the threat of drug addiction as a public health threat now than we were thirty years ago. However, the past thirty years have seen an increase across the board in drug overdose deaths, including an alarming increase in the number of opioid-related deaths. Opioids include heroin, synthetic opioids such as fentanyl, and pain relievers available by prescription such as oxycodone, hydrocodone, and morphine. Opioids reduce the sensation of pain by blocking pain receptors in the brain and stimulating the production of dopamine. A side-effect of all opioids is that they can slow breathing to dangerous levels, potentially resulting in death.


The Dataset

The Center for Disease Control manages a database with every cause of death for each death reported across the country. With regard to the causes of death related to drug overdose, the CDC has reliable data going back to 1989, which we used for this activity.


Variables

Year: This numeric variable is the year for which drug-overdose death type and number were recorded.

Type of overdose: This categorical variable has the value of either non-opioid or opioid-related. Opioid-related deaths include deaths caused by heroin, fentanyl, and other synthetic opioids, whether illicit or prescription drugs. 

Overdose deaths per year: This numeric variable is the number of overdose deaths in a given year according to data collected by the Center for Disease Control.

t (year): This numeric variable is a common way of representing time in a dataset starting from year 1 of the dataset. The value of 1 represents the year 1989 in this study; the value of 31 represents the year 2019.

Activity

png;base6459b093004a3d592d.png

1. Make a graph to show the trend in overdose deaths for both opioid and non-opioid drugs in the US from 1989 to 2019. 

First, go to the Graph tab (near the top of the screen when viewing the data table in the DataClassroom app). Show Overdose deaths per year on the Y axis and Year on the X axis. To visually separate the opioid deaths from non-opioid deaths, click Show for the Type of overdose variable and make it show on your graph by clicking Z on the right (it will turn red when you do).

2. One of the most important aspects of data science is being able to make inferences from data. If you were to begin researching the cause of the accelerated growth in opioid-related overdoses, approximately what time frame would you begin your search? Why?

png;base64230757094fbe8408.png

3. Configure your graph to only display the opioid-related deaths. 

To do this, go to the Type of overdose variable above the graph. Click on the Values button. In the Label, the values window that pops up, exclude values for non-opioid deaths by clicking in the check box. This should leave only opioid deaths represented on your graph.

4. Fit a line of best fit to these data by checking the Regression line box to the right of the graph. 

What is the overall trend highlighted by the linear regression model? What is the r squared value?


png;base641916040e4874004f.png

5. Now try an exponential regression model instead of a linear one. Choose Exponential from the dropdown menu that currently says Linear. You will need to make a small change to the data on the graph. Replace Year with t on the X axis. 

Note: Even computers have a tough time handling certain numbers that are really large, and so it’s typically best to use small values for X when using exponential models. We can change our independent variable this way as long as it doesn’t change what the data represents. In this case, representing 1989 as year 1, 1990 as year 2, and so on, is a simple way to do so. 

What is the r-squared value for the exponential regression? Which do you think is the better model, linear or exponential, for these particular data? What are the implications of this for opioid addiction treatment programs in the US?

png;base642f60f64124083bfb.png

Teacher’s note

When working with r-squared values, it’s important to explain to students that this statistic represents what percentage of the total variation in the dependent or response variable is explained by the independent or predictor variable and that there are limits for any model in what amount of variance should be explicable. A higher r-square is not necessarily the indication of a better model. For instance, in the example of this dataset, a cubic regression yields a slightly higher (.982) r-squared value than does an exponential regression (.981), but it is generally accepted that exponential models are better than cubic models for population statistics. Allowing for higher order flexibility in a curve when fitting a model runs the risk of overfitting, which is essentially mathematically just connecting each data point with a very jagged curve and saying that the model is perfect. We expect some variation around the line of best fit for even a very good model. 


Additional resources for your classroom

For more about the dangers of opioids, there are a number of resources to access, including this quick explanation from drugabuse.gov:

The Body’s Response to Opioids

The history and science behind opioids from TED-Ed

Confidential, free help from public health agencies is available 24/7/365 via the Substance Abuse and Mental Health Services Administration National Helpline as 1-800-662-4357. Additionally, the SAMHSA website can help locate local treatment resources.

Training and information about naloxone for bystanders is available at Get Naloxone Now.


Want an Answer Key? Fill out the form below.