/Basic-Statistics-With-Python

Introduction to statistics featuring Python. This series of lecture notes aim to walk you through all basic concepts of statistics, such as descriptive statistics, parameter estimations, hypothesis testing, ANOVA and etc. All codes are straightforward to understand.

Primary LanguageJupyter NotebookMIT LicenseMIT

Basic Statistics With Python MIT License

[Last updated on 19th Aug 2022]

This is a series of lecture notes that I prepared in my statistics tutorial (used prepared for one-night new-hire statistical training in hedge fund), which are supposed to be concise and straightforward, without any unnecessary proofs or derivation. The tutorials will cover most of the core statistic concepts starting from descriptive statistics to statistic inferences and hypothesis testing, some probability distribution will also be refreshed.

Once you have walked through the tutorial notes, you should be confident to move further to notes of Econometrics, Bayesian statistics/econometrics, which I will upload in the near furture.

Who Can Benefit From These Notes

Perfect for university students who wants to have a walkthrough of core structure of frequentist statistics, also very beneficial for practioners, such as junior quantitative analysts, who wants to refresh their knowledge as fast as possible (i.e. within 3 days). All the examples in the notes are demonstrated by Python, including all figures and charts.

Prerequisites

Though the lectures are introductory level, it would be ideal that attendants have a slight exposure to probability theory.

And you would benefit more from the tutorials if you have basic knowledge of:

  • NumPy
  • Matplotlib
  • Pandas

Contents

It is advisable to either open the notebooks in Jupyter nbviewers (links below) or download them, since github has frequent rendering glitches in LaTeX and sometimes even missing a plot.

Lecture 1 - Descriptive Statistics
Lecture 2 - Probability Review
Lecture 3 - Point and Interval Estimation
Lecture 4 - Hypothesis Testing
Lecture 5 - Analysis of Variance and Chi-Squared Test

Screen Capture Examples

截图00 截图01 截图02 截图03 截图04 截图05 截图00