Problem Set 2
Important
Due Friday, February 20, at 11:59 pm on Canvas
Use the RMarkdown file provided (.Rmd extension) and write your answers and code in the spaces provided. Submit the PDF that is “knitted.”
Files
Purpose
This second problem set will help you practice:
- Setting the working directory
- Loading data into R
- Computing and interpreting the mean of a variable for different subsets of a sample
- Estimating and interpreting the average treatment effect for a randomized experiment
Criteria for success
In addition to providing the correct code and/or answer, a successful problem set will:
- Have clear explanations that demonstrate your knowledge of the material
- Use the “comment out” function to explain what the code is doing