Description Usage Arguments Value
Use Athey (2017) matrix completion panel data code
1 | fit_prog_mcpanel(X, y, trt, unit_fixed = 1, time_fixed = 1)
|
X |
Matrix of covariates/lagged outcomes |
y |
Matrix of post-period outcomes |
trt |
Vector of treatment indicator |
unit_fixed |
Whether to estimate unit fixed effects |
time_fixed |
Whether to estimate time fixed effects |
y0hat Predicted outcome under control
params Regression parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.