Teaching

Introduction to statistical methods with R

Teaching material for introductory courses of statistics in R.

Courses

HTML notebooks for each session. Slides are available upon request; the original Rmd files are in the supplementary material below.

  1. Introduction to the tidyverse: plotting, filtering, organising data
  2. Basic R instructions: package installation, data generation, matrix & dataframe manipulation, loops and simple functions
  3. Distributions: descriptive statistics, parametric distributions, plots, histograms, etc.
  4. Maximum likelihood estimation: moment matching versus the mle/mle2 functions
  5. Monte-Carlo simulations: random number generation with sequential tournaments as examples + cool exercises
  6. Time-series analysis: fitting autoregressive processes & predictions using French economic data
  7. Bayesian inference: conjugate priors, grid approximation and a snapshot of Markov Chains (but no MCMC sadly)
  8. Statistical tests & regressions: one and two mean tests, basic regression analysis

Supplementary material

Datasets

The data and code are meant for pedagogical use only.