How gedeck/practical-statistics-for-data-scientists works
This repository accompanies *Practical Statistics for Data Scientists* (2nd edition): readers run chapter examples or notebooks in Python or R and inspect statistical analyses and visualizations. The main subject areas progress from exploration and sampling through experiments, regression, classification, machine learning, and unsupervised learning. Python code shares a data-directory helper and uses the repository’s datasets. The README documents online notebooks and Binder execution. Some R and notebook internals were not sampled, so their links are limited to documented capabilities.
Main entry points: data Example datasets · Chapter 1 - Exploratory Data Analysis.py Exploratory analysis · Chapter 2 - Data and sampling distributions.py Sampling distributions · Chapter 3 - Statistical Experiments and Significance Testing.py Experiments and tests
Components 13
Learning materials
- Python notebooks
python/notebooks - R notebooks
R/notebooks - R chapter examples
R/code
Exploration and inference
- Exploratory analysis
python/code/Chapter 1 - Exploratory Data Analysis.py - Sampling distributions
python/code/Chapter 2 - Data and sampling distributions.py - Experiments and tests
python/code/Chapter 3 - Statistical Experiments and Significance Testing.py
Predictive modeling
- Regression and prediction
python/code/Chapter 4 - Regression and Prediction.py - Classification
python/code/Chapter 5 - Classification.py - Statistical machine learning
python/code/Chapter 6 - Statistical Machine Learning.py
Unsupervised analysis
- Unsupervised learning
python/code/Chapter 7 - Unsupervised Learning.py
Shared resources
- Data directory helper
python/code/common.py - Example datasets
data
Other components
- Reader
Connections 19
- Reader → Python notebooks: runs examples
README.md - Reader → R notebooks: runs examples
README.md - Reader → R chapter examples: runs examples
README.md - Reader → Exploratory analysis: runs examples
README.md - Reader → Sampling distributions: runs examples
README.md - Reader → Experiments and tests: runs examples
README.md - Reader → Regression and prediction: runs examples
README.md - Reader → Classification: runs examples
README.md - Reader → Statistical machine learning: runs examples
README.md - Reader → Unsupervised learning: runs examples
README.md - Exploratory analysis → Data directory helper: locates data
python/code/Chapter 1 - Exploratory Data Analysis.py - Sampling distributions → Data directory helper: locates data
python/code/Chapter 2 - Data and sampling distributions.py - Exploratory analysis → Example datasets: reads datasets
python/code/Chapter 1 - Exploratory Data Analysis.py - Sampling distributions → Example datasets: reads datasets
python/code/Chapter 2 - Data and sampling distributions.py - Experiments and tests → Example datasets: reads datasets
python/code/Chapter 3 - Statistical Experiments and Significance Testing.py - Regression and prediction → Example datasets: reads datasets
python/code/Chapter 4 - Regression and Prediction.py - Classification → Example datasets: reads datasets
python/code/Chapter 5 - Classification.py - Statistical machine learning → Example datasets: reads datasets
python/code/Chapter 6 - Statistical Machine Learning.py - Unsupervised learning → Example datasets: reads datasets