This repository contains notes, explanations, and code snippets covering essential statistics concepts and techniques. Topics range from basic probability and descriptive statistics to more advanced concepts such as hypothesis testing and confidence intervals.
The programming examples are implemented in Python for its simplicity, versatility, and rich scientific computing ecosystem. The code makes use of widely used libraries such as:
- NumPy for numerical computing
- SciPy for advanced scientific computations
- pandas for data manipulation and analysis
A basic understanding of Python and its scientific libraries will help you make the most of the code examples.
We recommend using a virtual environment to avoid package conflicts.
# Create a virtual environment
python3 -m venv env
Activate the environment:
# On Windows
env\Scripts\activate
# On Unix or macOS
source env/bin/activate
Install the dependencies:
pip install -r requirements.txt
Now you’re ready to run the scripts:
python scripts/basic_concepts/basic_concepts.py
Replace scripts/basic_concepts/basic_concepts.py
with the actual path to the script you want to run.
When finished, deactivate the environment:
deactivate
Concept | Notes | Implementation | Examples |
---|---|---|---|
Correlation | |||
Covariance | |||
Simple Linear Regression | |||
Multiple Regression | |||
Logistic Regression | |||
Metrics |
Concept | Notes | Implementation | Examples |
---|---|---|---|
Point Processes | |||
Spatial Autocorrelation | |||
Geostatistics |
We encourage contributions that enhance the repository's value. To contribute:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
- The Signal and the Noise: Why So Many Predictions Fail--but Some Don't
- The Black Swan: The Impact of the Highly Improbable Antifragile: Things That Gain from Disorder https://amzn.to/4mhWf7e
- Naked Statistics: Stripping the Dread from the Data
- How Not to Be Wrong: The Power of Mathematical Thinking
- Antifragile: Things That Gain from Disorder
- Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets
- SpringerLink: An Introduction to Statistical Learning
- SpringerLink: The Elements of Statistical Learning
- Think Bayes by Allen Downey
- Online Statistics Education: An Interactive Multimedia Course
- OpenStax: Introductory Statistics 2e
- Introduction to Probability by Charles M. Grinstead and J. Laurie Snell (PDF)
- Probability Cheatsheet on GitHub
- Allen Downey's Blog on Probability and Bayesian Stats
- Saylor Academy: Introductory Statistics
- Statistical Learning with Sparsity by Hastie, Tibshirani, and Wainwright
- Statistics How To: Probability and Statistics Main Index
This project is licensed under the MIT License - see the LICENSE file for details.