Skip to content

About

Lecture slides: Quantitative Research - descriptive statistics, graphics, inference, regression, classification

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Quantitative Research

Lecture slides (LaTeX Beamer), companion Jupyter notebooks and a separate Python course by Prof. Dr. Christoph Weisser.

Part Folder Topic
1 Part_1_Descriptive_Statistics Revision material: basic concepts, levels of measurement, frequencies, measures of central tendency (incl. trimmed and geometric mean) and dispersion (range, IQR, variance, coefficients of variation)
2 Part_2_Graphical_Representations Revision material: empirical CDF, histogram, boxplot -- constructing, reading and comparing distributions
3 Part_3_Statistical_Inference Foundations (normal distribution, CLT), confidence intervals, sample size, hypothesis tests, p-values, types of error (appendix: estimator properties, law of large numbers, one-sided tests, power)
4 Part_4_Regression Correlation, least squares step by step (running exercise "online shop"), goodness of fit, inference for regression, multiple regression (appendix: derivation of the OLS estimators, minimum property, residual analysis, leverage, QQ-plot, interactions, diagnostics, collinearity)
5 Part_5_Classification Two-way tables and conditional probability, logistic regression, classification rules, confusion matrix, base rates and precision, ROC/AUC (appendix: total probability and Bayes' theorem; Bayes classifiers -- naive Bayes, LDA)
Py Python_Course Separate Python course: a 90-minute introduction (Python basics, pandas, a first chart) and a self-paced track from NumPy, pandas and visualisation to scikit-learn and PyTorch -- see below

Every section contains exercises (many adapted from the course Statistik für Ökonomen and its mock exams) with step-by-step solutions -- roughly one exercise every 15--20 minutes of lecture time.

Each part folder contains

  • Part_k_<Topic>.tex — the slide deck (compiled PDF next to it),
  • Part_k_<Topic>.ipynb — companion Jupyter notebook: same sections as the slides, all Python examples and every exercise (try it yourself, then the solution),
  • Part_k_<Topic>.py — Python script that reproduces every number on the slides,
  • make_figures.py — regenerates the computed figures in images/ (Parts 2–5),
  • images/ — all figures used by the deck.

All decks share common/preamble.tex (theme, colours, boxes, code listings, course-overview slide). The data sets for Parts 4 and 5 are in data/ (Advertising, Credit and Default data from James, Witten, Hastie, Tibshirani: An Introduction to Statistical Learning, www.statlearning.com).

Jupyter notebooks and Google Colab

Every part has a companion notebook that follows the slides section by section. The slides point to it with "Try it yourself" links. Open a notebook locally in Jupyter / VS Code, or directly in Google Colab (nothing to install):

Part Notebook Colab
1 -- Descriptive Statistics (revision) Part_1_Descriptive_Statistics.ipynb Open In Colab
2 -- Graphical Representations (revision) Part_2_Graphical_Representations.ipynb Open In Colab
3 -- Statistical Inference Part_3_Statistical_Inference.ipynb Open In Colab
4 -- Regression Part_4_Regression.ipynb Open In Colab
5 -- Classification Part_5_Classification.ipynb Open In Colab

The notebooks load the data sets from the local data/ folder when they run inside the repository and from GitHub otherwise (e.g. in Colab). Run the cells from top to bottom; in the exercise sections, try the "Your turn" cell first and then compare with the solution.

🐣 Python for Data Science Workshop — a separate course

Python_Course/ holds a separate, self-contained beginner Python course that comes with Quantitative Research Methods — no programming experience needed, and it teaches the Python basics behind the code on the slides and in the notebooks of Parts 1–5. It is vendored from the Bridging AI & Society Summer Schools' Python-for-Data-Science-Workshop (MIT-licensed; see Python_Course/README.md for full attribution) and kept here for convenient local access. Two tracks, twenty-one notebooks, all Colab-ready.

Track 1 — Introduction Session (90 min, live, five notebooks + one optional bonus)

# Notebook Time Open in Colab
1 Welcome to Python ~15 min Open in Colab
2 Data Structures ~18 min Open in Colab
3 Control Flow ~12 min Open in Colab
4 Functions ~12 min Open in Colab
5 First Steps with Pandas ~18 min Open in Colab
✨ A First Look at Seaborn (bonus) ~10 min Open in Colab

Track 2 — Advanced & Self-Learning (self-paced, ~12–14 h, fifteen notebooks)

# Notebook Time Open in Colab
1 Python Basics 30–35 min Open in Colab
2 Control Structures 35–40 min Open in Colab
3 Lists and Sequences 30–40 min Open in Colab
4 Dictionaries and Nested Data 35–45 min Open in Colab
5 Functions and Modules 35–40 min Open in Colab
6 NumPy Fundamentals 45–55 min Open in Colab
7 Pandas Essentials 45–55 min Open in Colab
8 Data Cleaning and Preprocessing 45–55 min Open in Colab
9 Visualisation with Matplotlib 50–60 min Open in Colab
10 Visualisation with Seaborn 50–60 min Open in Colab
11 Exploratory Data Analysis 50–60 min Open in Colab
12 Machine Learning Basics 45–55 min Open in Colab
13 The Scikit-Learn Workflow 70–85 min Open in Colab
14 PyTorch Basics 50–60 min Open in Colab
15 Capstone Project 75–105 min Open in Colab

Full descriptions for every notebook and a suggested path alongside Parts 1–5: Python_Course/README.md.

Mock exams

Three mock exams on Parts 3--5 (with detailed solutions) are handed out separately; they are not part of this repository.

Building

cd Part_4_Regression
latexmk -pdf Part_4_Regression.tex

Speaker notes (talk tracks in Part 3) can be enabled in common/preamble.tex.

Requirements

  • TeX Live (beamer, tikz, pgfplots, listings, booktabs)
  • Python 3 with numpy, pandas, scipy, statsmodels, matplotlib (>= 3.8), scikit-learn (Part 5) and Jupyter, e.g. via the Anaconda Distribution or pip install numpy pandas scipy statsmodels matplotlib scikit-learn jupyter (the Python course additionally uses seaborn and, in one notebook, PyTorch) -- or use Google Colab (see above), where everything is preinstalled

Run a script from its folder, e.g. cd Part_4_Regression && python3 Part_4_Regression.py.


👤 About

I am Christoph Weisser, Professor of Mathematics, specialising in Business Data Science, and former Technical Lead Analytics & Artificial Intelligence at BASF. My work focuses on Artificial Intelligence, Generative AI, Business Data Science, and agentic AI systems that bridge research with real-world industrial applications.

Before joining academia, I led international AI initiatives at BASF from strategy through production deployment. Today, I combine research, teaching, open-source software development, and selected industry collaborations to advance the practical application of AI.

I hold two master’s degrees from the University of Oxford and the University of St Andrews and completed the PhD Program in Applied Statistics & Empirical Methods (summa cum laude) at Georg-August-Universität Göttingen. I was awarded scholarships by the Studienstiftung des deutschen Volkes, the Konrad-Adenauer-Stiftung, and the Evangelisches Studienwerk Villigst. I regularly publish research in leading journals and at international conferences and contribute to open-source software.

About

Lecture slides: Quantitative Research - descriptive statistics, graphics, inference, regression, classification

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages