https://github.com/teddygroves/putting
Statistical analysis of putting data using cookiecutter-cmdstanpy-analysis.
https://github.com/teddygroves/putting
arviz bayesian-statistics cmdstanpy cookiecutter cookiecutter-cmdstanpy-analysis stan
Last synced: 3 months ago
JSON representation
Statistical analysis of putting data using cookiecutter-cmdstanpy-analysis.
- Host: GitHub
- URL: https://github.com/teddygroves/putting
- Owner: teddygroves
- License: mit
- Created: 2022-03-25T14:52:34.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-16T11:10:46.000Z (about 3 years ago)
- Last Synced: 2025-01-15T07:15:27.679Z (4 months ago)
- Topics: arviz, bayesian-statistics, cmdstanpy, cookiecutter, cookiecutter-cmdstanpy-analysis, stan
- Language: Jupyter Notebook
- Homepage:
- Size: 608 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Putting
==============================Statistical analysis of putting data, reproducing the analysis from
[here](https://statmodeling.stat.columbia.edu/2019/03/21/new-golf-putting-data-and-a-new-golf-putting-model/)
and [here](https://mc-stan.org/users/documentation/case-studies/golf.html) using
[cookiecutter-cmdstanpy-analysis](https://github.com/teddygroves/cookiecutter-cmdstanpy-analysis).

# How to install dependencies
Run this command from the project root:
```
pip install -r requirements.txt
install_cmdstan
```# How to run the analysis
To run the analysis, run the command `make analysis` from the project root.
This will run the following commands
- `python prepare_data.py`
- `python sample.py`
- `jupyter execute investigate.ipynb`# How to create a pdf report
First make sure you have installed [pandoc](https://pandoc.org).
Now run this command from the `docs` directory:
```
make report
```# How to run tests
Run this command from the project root:
```
python -m pytest
```