peconomi / spring2021_core_metrics_lab

Spring 2021 University of Oregon Economics PhD Core Econometrics III Lab materials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Core Metrics III Lab

Prepared in support of Ed Rubin's classes in Economics 607: Econometrics III (Spring 2021). Be sure to prepare the basics before Lab sessions. Please be aware of my contact details below. Be sure to install the below items as well.

Lab Session:

  • Friday 12:30pm–1:30pm, Zoom

Office Hours:

  • Wednesday 1:00pm-2:00pm, Zoom
  • Friday 1:30pm-2:30pm, Zoom

Email: peconomi@uoregon.edu

Prerequisite Installations

Lab Slides

Slides will be posted after class. Use these resources to recap over what has been covered. If using the Pull feature, be sure to do so regularly before engaging with material.

Week 1

  1. An introduction to R.
  2. Project and package management.
  3. Markdown files and knitting.
  4. Revisiting OLS.

Content: .html | .Rmd | Example_Code

Week 2

Dataframes: Using dplyr

  1. Recap on Example Code Week 1.
  2. Verbs.
  3. Merging.
  4. Cleaning.

Content: .html | .Rmd | Example_Code

Week 3

Visualization: Using ggplot2

  1. Introducing object type.
  2. Basic Components.
  3. Exploring various geometric objects.

Content: .html | .Rmd | Example_Code

Week 4

Loops and Functions

  1. For() by vectors.
  2. Functional programming.
  3. For() by dataframe.
  4. Storing outputs.
  5. Conditional functions.

Content: .html | .Rmd

Week 5

Simulations and Parallelization

  1. Simulations overview
  2. Recipe
  3. Examples
  4. Parallelization furrr

Content: .html | .Rmd

Week 6

Regressions and Standard Errors

  1. Revisiting OLS
  2. Regression Output
  3. Fixed Effects (w/ Clustering)
  4. Instrumental Variables
  5. Standard Errors

Content: .html | .Rmd

Week 7

DAGs

  1. Brief Recap
  2. Simple DAG using ggplot2
  3. Chain Effects
  4. Collider Bias Example

Content: .html | .Rmd

Week 8

Missing Data

  1. Theory
  2. Application
  3. Reweighting

Content .html | .Rmd

Week 9

Regression Discontinuity

  1. Packages
  2. Examples
  3. Drunk Driving Replication

Content .html | .Rmd

Week 10

Bootstrapping and Final Words

  1. Non-Parametric
  2. Multiple Statistics
  3. Parametric
  4. Future Research Tips

Content .html | .Rmd

About

Spring 2021 University of Oregon Economics PhD Core Econometrics III Lab materials.


Languages

Language:HTML 73.0%Language:CSS 25.8%Language:JavaScript 1.0%Language:R 0.2%