Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.Rmd #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update index.Rmd #4

wants to merge 1 commit into from

Conversation

adammwilson
Copy link

Nice job, Anuwat. Now please think about:

  1. I think you need to calculate the per capita deaths to account for different population sizes in each location before you do the regression on socio-economic data.
  2. adding more comparisons of the morbidity and additional socio-economic data. Which other variables might be associated with morbidity? You could do a multivariate regression.
  3. consider a model that accounts for spatial autocorrelation in the data. Check out this example

@@ -1,5 +1,5 @@
---
title: "Opoid-Related Deaths in New York State"
title: "Opioid-Related Deaths in New York State"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check spelling throughout.

Opioid analgesics are pain relievers derived from opium or have an opium-like activity. There are no better drugs than opioids for treating severe pain and suffering, however, opioids are the main drugs associated with overdose deaths. Opioid prescription rates have increased almost threefold associated with an increase of opioid related overdoses and deaths in the last 15 years. New York has been greatly impacted by the opioid epidemic. The rate of deaths related to any opioid in New York has increased by 210% from 2010 to 2016. The opioid overdose death rate in the overall state was 18 deaths per 100,000 residents, which was higher than many states in the United States.

# Materials and methods


1. Download all packages
2. Downlaod opioid data and New York census, and join opioid data and New York census
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please expand this to be a narrative instead of bullet points. Where did the data come from? how can someone find them?

@@ -37,7 +37,7 @@ library(plyr)
knitr::opts_chunk$set(cache=TRUE) # cache the results for quick compiling
```

## Download and clean all required data
## Download and clean all required data
```{r, message=FALSE, warning=FALSE, results = 'hide'}
NY <- get_acs(geography = "county",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is where you should also get the population estimates. And you may want to limit this to some ages (18-30)? Do you know how old the people who died were? Maybe use a similar range?

@@ -105,4 +105,4 @@ ggPredict(fit,se=TRUE,interactive=TRUE)
I learned how to prepare data, create plots for final porject.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of course you'll need to update this to be a more formal conclusion about the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant