Description Usage Arguments Details
Simulate regression discontinuity datasets given fitted model
1 | simulate_rd(object, ...)
|
object |
object fit with RDRobust, rdd, rdtools, or just linear regression |
This function accepts a fit that estimates a regression discontinuity, and then assumes that the fitted model represents the true data generating process. Then it simulates several datasets given that process, returning them in a data.table well suited to accompanying visual checks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.