{"id":13857586,"url":"https://github.com/mrtkp9993/Statistical-Modeling-Examples","last_synced_at":"2025-07-13T21:33:09.257Z","repository":{"id":40986098,"uuid":"143592387","full_name":"mrtkp9993/Statistical-Modeling-Examples","owner":"mrtkp9993","description":"Basic statistical modelling examples.","archived":false,"fork":false,"pushed_at":"2024-06-17T22:46:56.000Z","size":5415,"stargazers_count":41,"open_issues_count":2,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-17T22:12:36.053Z","etag":null,"topics":["analysis-of-variance","anova","matplotlib","pandas","pystan","python","python3","r-language","r-markdown","r-programming","regression-analysis","regression-models","seaborn","stan","statistical-analysis","statistical-inference","statistical-modeling"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrtkp9993.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-05T07:27:16.000Z","updated_at":"2024-07-04T15:07:27.000Z","dependencies_parsed_at":"2024-11-17T22:11:49.145Z","dependency_job_id":null,"html_url":"https://github.com/mrtkp9993/Statistical-Modeling-Examples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtkp9993%2FStatistical-Modeling-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtkp9993%2FStatistical-Modeling-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtkp9993%2FStatistical-Modeling-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrtkp9993%2FStatistical-Modeling-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrtkp9993","download_url":"https://codeload.github.com/mrtkp9993/Statistical-Modeling-Examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225920406,"owners_count":17545482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis-of-variance","anova","matplotlib","pandas","pystan","python","python3","r-language","r-markdown","r-programming","regression-analysis","regression-models","seaborn","stan","statistical-analysis","statistical-inference","statistical-modeling"],"created_at":"2024-08-05T03:01:41.262Z","updated_at":"2024-11-22T15:30:58.199Z","avatar_url":"https://github.com/mrtkp9993.png","language":"R","readme":"# Statistical Modeling Examples\n\n\u003cp align=\"right\"\u003eAll we need is just\u003c/p\u003e\n\u003cimg align=\"right\" src=\"bayes.png\" width=\"200px\"\u003e\n\n[![GitHub license](https://img.shields.io/github/license/mrtkp9993/Statistical-Modelling-Examples.svg)](https://github.com/mrtkp9993/Statistical-Modelling-Examples/blob/master/LICENSE)\n[![DOI](https://zenodo.org/badge/143592387.svg)](https://zenodo.org/badge/latestdoi/143592387)\n\n---\n\n## Case Studies\n\n* Diabetes dataset: [Dataset info](http://biostat.mc.vanderbilt.edu/wiki/pub/Main/DataSets/diabetes.html), [Markdown](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/case_studies/Case_Study_1_-_Diabetes_dataset.md).\n\n## Examples\n\nPyStan examples includes these methods:\n\n* Linear Regression [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/linearRegression.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/linearRegression.py).\n* Multiple Linear Regression [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/multipleLinearRegression.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/multipleLinearRegression.py).\n* Robust Regression [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/robustRegression.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/robustRegression.py).\n* Logistic Regression [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/logisticRegression.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/logisticRegression.py).\n* Multinomial Logistic Regression [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/multinomialLogisticRegression.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/multinomialLogisticRegression.py).\n* Ordered Logistic Regression [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/orderedLogisticRegression.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/orderedLogisticRegression.py).\n* One-way ANOVA [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/onewayANOVA.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/onewayANOVA.py).\n* Two-way ANOVA [Model](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/models/twowayANOVA.stan), [Script](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/scripts/twowayANOVA.py).\n\nR examples includes these methods:\n\n* Factor analysis [Markdown](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/notebooks/Factor_Analysis.md).\n* Correlation analysis [Markdown](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/notebooks/Correlation_Analysis.md).\n* Multiple Linear Regression with interaction terms [Markdown](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/notebooks/Multiple_Linear_Regression_with_interaction_terms.md).\n* Poisson Regression [Markdown](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/notebooks/Poisson_Regression.md).\n* Bayes Factors [Markdown](https://github.com/mrtkp9993/Statistical-Modeling-Examples/blob/master/notebooks/Bayes_Factor.md).\n\n## Useful Resources\n\n### General\n\n* Glossary of statistical terms [Link](https://www.stat.berkeley.edu/~stark/SticiGui/Text/gloss.htm).\n* Statistical tests with Python [Link](https://machinelearningmastery.com/statistical-hypothesis-tests-in-python-cheat-sheet/).\n* Michael Betancourt: “A Conceptual Introduction to Hamiltonian Monte Carlo”, 2017; arXiv:1701.02434.\n* Hamiltonian Monte Carlo explained, [Link](http://arogozhnikov.github.io/2016/12/19/markov_chain_monte_carlo.html).\n\n### Stan\n\n* Stan Reference Manual [Link](https://github.com/stan-dev/stan/releases/download/v2.17.0/stan-reference-2.17.0.pdf).\n* PyStan Getting Started [Link](https://pystan.readthedocs.io/en/latest/getting_started.html).\n* Stan example models [Link](https://github.com/stan-dev/example-models/tree/master/misc).\n* Prior choices [Link](https://github.com/stan-dev/stan/wiki/Prior-Choice-Recommendations).\n\n### R\n\n* R-bloggers [Link](https://www.r-bloggers.com/).\n* Quick-R [Link](https://www.statmethods.net/index.html). \n\n\n## Datasets\n\n* R datasets [Link](https://vincentarelbundock.github.io/Rdatasets/datasets.html).\n* Datasets for teaching [Link](https://www.sheffield.ac.uk/mash/data).\n\n## Books\n\n* Korner-Nievergelt, F., Korner-Nievergelt, P., Roth, T., Almasi, B., Felten, S. V., \u0026 Guélat, J. (2016). Bayesian data analysis in ecology using linear models with R, BUGS and Stan. Amsterdam: Elsevier/Academic Press.\n","funding_links":[],"categories":["R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtkp9993%2FStatistical-Modeling-Examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrtkp9993%2FStatistical-Modeling-Examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtkp9993%2FStatistical-Modeling-Examples/lists"}