Course Materials

Day 1

What did we cover?

  • Object types
    • vectors
    • matrices
    • dataframes
    • lists
  • Linear algebra
  • Boolean logic for filtering data
  • for loops

Class Slides

Day 2

What did we cover?

  • More practice with for loops
  • Practice simulating data
  • Confidence intervals with simulations

Data

For one of the exercises, please use the data here.

  • The code for cleaning this data can be found here.

Class Slides

Day 3

What did we cover?

  • The first homework assignment
  • User created functions
  • If statements
  • The sandwich package for robust standard errors
  • More plotting practice

Class Slides

Day 4

What did we cover?

Note that this is subject to change:

  • Final homework check
  • Optimization
  • Graphing regression results
  • Parallelization with map
  • Advanced Applications of Course Content

Class Slides