Simulations for regression analysis
What is the usefulness of simulations in regression analysis and how to implement them?
After this session, you should be able to implement a basic simulation for regression analysis in R and use it to test some of the hypotheses you made in you own analysis.
Summary
In this session, we first discuss why we should implement simulations. The basic idea behind simulations is that the Data Generating Process is known: in particular, that allows to evaluate the performance of our analysis and to study what happens if an hypothesis made does not hold, etc. To build simulation, one should start with a simple DGP, wondering whether their analysis performs well in a rather “pristine” setting. Then, they can complexify the DGP. In the second part of the lecture, we implement a simulation in R
.
Session Outline
- What are simulations?
- Why do simulations?
- To understand econometric concepts
- To design a study
- For tests and checks
- As a rhetorical tool
- How to implement a simulation?
- Coding a simulation in R together
Materials
Exercise
During the lecture, we emulate an RCT studying the impact of additional courses on students’ grades, in this document.
In addition, you have a graded assignment for next week.