Small coding exercises or empirical demonstrations of some of the concepts show in Essential Biostatistics - A nonmathematical Approach by Harvey Motulsky.
As I work through the book I find moments in which I think "Ah! That's something I would like to do by myself". This is what this repo is about :)
You need python 3. Follow these steps to create a new python virtual environment and install the dependencies:
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools
pip install -r requirements
Just run the main.py
file in each subfolder. For example:
python -m confidence_intervals.main
Or if you use VSCode make use of its Jupyter support