Skip to content

Practical session for the Bayesian statistics in epidemiology class .

License

Notifications You must be signed in to change notification settings

kraemer-lab/bayesian_stats_epi_practical

Repository files navigation

Bayesian Stats in Epidemiology Practical

In this repository you will find the bayesian_stats_practical.Rmd file (R markdown file) containing instructions for the practical session with examples and exercises. All data required for the practical are in this repository.

You can also find the slides from the introduction to the session (01_workflow_presentation.pptx).

Setup

In the Desktop or Documents directory of your computer open a git bash and run the command:

git clone https://github.com/kraemer-lab/bayesian_stats_epi_practical.git

Alternatively download the data folder from here: https://www.dropbox.com/scl/fo/13g8cmo208oztjlnbelph/h?rlkey=k6rumw71olun000x73otaxtv7&dl=0; set your working directory to that data folder using setwd('') and use either R Markdown or R code.

Alternatively, you can download the data folder and the bayesian_stats_practical.Rmd file manually into a properly named directory.

Once you have everything downloaded, open the bayesian_stats_practical.Rmd file in R studio and begin your practical session.

References

The maps used for this session should be credited to: https://github.com/epibayes/john-snow-data (Jon Zelner).

The data used for this session should be credited to: https://geodacenter.github.io/data-and-lab/snow/ (Marcos Falcone, Julia Koschinsky, Peter Vinten-Johansen, Thomas Coleman, Luc Anselin).

The essential R packages for running the statistical models should be credited to: https://github.com/rmcelreath/stat_rethinking_2023 (Richard McElreath) and https://mc-stan.org/ (Stan Development Team).

MIT License

Copyright (c) 2023 Kraemer Lab, University of Oxford.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Practical session for the Bayesian statistics in epidemiology class .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published