Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a Predict function for gsynth? #66

Open
svknair opened this issue Aug 29, 2021 · 1 comment
Open

Is there a Predict function for gsynth? #66

svknair opened this issue Aug 29, 2021 · 1 comment

Comments

@svknair
Copy link

svknair commented Aug 29, 2021

Hi Yiqing,

I would like to check if there is a predict option in the gsynth package. I am thinking of conducting some what-if simulations by varying the treatment time and then predicting the corresponding outcomes. For instance, what if the treatment had occurred sooner or later than the actual time. I could think of using the model output to calculate predicted values as follows:

predOutcome_t = ATT_t * D_t + factor 1_t * loading1 + factor2_t * loading2 + time_FE + unit_FE

I am able to obtain the loadings and unit fixed effects for each treated unit. But I am not sure how I can get average of loadings and fixed effects for all treated units. Do you have any suggestions for how the desired predicted outcomes can be calculated from the model output?

Thanks,
SVK

@xuyiqing
Copy link
Owner

xuyiqing commented Aug 29, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants