This lab assignment is not mandatory and will be used for extra credit purposes. If you choose to submit this lab assignment, it will replace the lowest grade on a different lab assignment.
This assignment is designed to review the materials you learn in the lab. Be sure to comment your code to clarify what you are doing. Not only does it help with grading, but it will also help you when you revisit it in the future. Please use either RMarkdown or knitr to turn in your assignment. These are fully compatible with R and LaTeX. If your code uses random number generation, please use set.seed(12345)
for replicability. Please post any questions on Piazza.
Think about a relationship between an outcome variable \(X\) and explanatory variable \(Y\) that you are interested in for your research.
Describe an example of an omitted variable \(Z\) in that context, why it might be a concern, and what you might do to address that concern.
Describe examples of measurement error in that context, both regards to outcome measurement (\(Y^* = Y_i + \nu_i\)) and explanatory measurement (\(X_{i}^{*} = X_i + \nu_i\)), why they might be a concern, and what you might do to address those concerns.
Describe how reverse causality might be a concern, and what you might do to address that concern.