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 notebooks to derive summary statistics #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

LisaHopcroft
Copy link
Contributor

This PR contains changes necessary to derive summary statistics of the opioid prescribing reductions identified by the change detection methodology (analysis continues to use the cached dataset).

This includes:

  • changes to lib/outliers.py to capture all changes before filtering and returning them from the filtered_sparkline() function
  • additions to the notebooks to filter those changes for reductions (i.e., where the level is >0) and then calculate/present the summary statistics

@LisaHopcroft
Copy link
Contributor Author

I'm getting a warning when doing the final multiplication by 100 when generating the summary statistics table. Interested to hear if @alexwalkerepi would do this any differently.

@LisaHopcroft LisaHopcroft marked this pull request as ready for review March 9, 2022 14:33
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.

2 participants