A collection of R lab notes, designed for beginner R users to help you learn how to do your own econometric analyses. Designed for Lucianna Etcheverry's Fall 2019 Class
Here is where you can see the lab notes for Luciana Etcheverry’s Econometrics (EC421) for Fall 2019. We’ll periodically update these after class on Tuesdays, and I will generally try to make these serve as a complement rather than a substitute for lab.
For those having difficulty finding their filepath:
Mac: control+click on the file, hold down alt, and then select copy as filepath. That object should be able to go straight into an R read_csv() function. Make sure it’s surrounded by either ‘ ‘ or “ “
Windows: hold shift, right click, copy filepath. Paste this into read_csv(). Flip the direction of the slashes.
Some Useful Resources:
Lab Notes
Homework 1
Lab 1: Learning R: Introduction link 1 Alternatively, link 2
Lab 1.5: Learning R: Enter the Tidyverse Alternatively, link 2
In Lab Activity 1: Getting started for Problem set 1
Homework 2
In Lab Activity 2: Having fun with ggplot
In Lab Activity 3: Problem set 2 Help
In Lab Activity 4: For loops, functions and time series
Mid-term Thursday, Oct 30th in class.
Homework 3
In-Lab Activity 5 Running Regressions with Time Series
In-Lab Activity 6 Problem Set 3 Help
Homework 4
In-Lab Activity 7 Soft Introduction to IV
Homework Helper, Problem Set 4 The help site
If you’re adventurous, Grant McDermott’s data science for economists is an amazing resource. It’s designed for PhD students, but not those with any experience with computers. If metrics is your calling, you might enjoy looking at these.