Welcome

This is the companion site to the course “Introduction to Economic Analysis with R” taught at the University of Göttingen in 2022. Chapters 1 to 4 were written by Sebastian S. Schmidt; chapters 5 to 8 by Felix Turbanisch.

This course is designed for self-study. It includes explanations, code examples, exercises, and solutions. We do not expect any prior experience with R or other programming languages. The first part of the course is meant as a general introduction to R and R Studio and is not specific to economic analysis. Feel free to use other materials such as the recently updated R for Data Science (2e) instead.

The second part is designed more specifically for students of economics and related disciplines, with an emphasis on making publication-ready plots, conducting regression analysis in cross-sectional and panel data, and formatting regression output. We conclude the second part by introducing dynamic documents (also known as literate programming) which allow students to combine prose and code output in a single document.