Skip to content

nz44/Bayesian-Logistic-Regression-Using-JAGS----Predict-Probability-of-Death-in-Game-of-Throne

Repository files navigation

This is an individual course project at George Washington University 2019 Summer DATS 6450 Bayesian Methods for Data Science

DIRECTIONS:

After you have downloaded the folder, first open "Character_Deaths_A_Song_Ice_Fire.rmd" and hit run. The source file "Character_Deaths_Source.R" and "DBDA2E-utilities.R" are linked in the rmd file. The dataset character-predictions.csv will be automatically loaded. The folders are saved pdf plots generated by JAGS. The model outputs are captured by "TEMPmodel_VarSelect.txt" and "TEMPmodel.txt". Please refer to "Character_Deathes_A_Song_of_Ice_and_Fire.html" for the final report. Since I have not included the PNG files for display within R-markdown file, so you will not see them inline, but you can look at the knitted html file.

CITATION:

  • "DBDA2E-utilities.R" is provided from the book by Professor John K. Kruschke Please find the reference to and website of the book below: Kruschke, J. K. (2014). Doing Bayesian Data Analysis: A Tutorial with R, JAGS, and Stan. 2nd Edition. Academic Press / Elsevier https://sites.google.com/site/doingbayesiandataanalysis/

  • Dataset for this project is Kaggle Dataset from: https://www.kaggle.com/mylesoneill/game-of-thrones

  • Some codes within "Character_Deaths_Source.R" and "Character_Deaths_A_Song_Ice_Fire.rmd" are from various homework and exercises of this class, and they cited withitn those files.

About

This is my individual final project for GWU 2019 Summer DATS 6450 Bayesian Method for Data Science

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published