Skip to content
/ rstats Public

Material & code for a course in statistical analysis with R

Notifications You must be signed in to change notification settings

shokru/rstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to statistical methods with R

This repository contains teaching material for introductory courses of statistics in R.


Courses

We provide the Github markdown below, but the rendering is much better in html notebook. The latter can be found [here].

  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: AR, VAR fitting & 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:

The original Rmd files (.zip) as well as the correction of exercises: data + html and Rmd format (.zip also).

R memo : a compilation of everything you need to know (survival toolkit).

Example on financial data: exercises on 30 large US firms; data here.

Short tutorial: online exercises (& solutions) on the core functions of the tidyverse.

Links: R on the web: a short list of links, sorted by themes.


Datasets:

ANES data: US political surveys (1990-2016) and in Excel form

French economic indicators

Financial data on 30 large US firms

You can download all files at once here.


DISCLAIMER: the data and code are meant for pedagogical use only.


About

Material & code for a course in statistical analysis with R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages