Hi,
I want to compare the treatment effect on the patent quantity produced by treatment and control group. The dependent variable is lnpatent (log value of patent )and there is no other predictors. Without synthetic matching my equation looks like this:
reghdfe lnpatent treatment##post, a(assignee appyear) vce( cluster assignee)
Now for the synthetic matching, I want to match treatment and control firms based on Pre-Intervention Outcomes ONLY. As I have multiple treatment groups I have created one dummy variable called interact with the interaction of treatment and post. The code I'm using is:
synth_runner lnpatent lnpatent(1970) lnpatent(1972) lnpatent(1974), d(interact)
and its showing me the following error:
. synth_runner lnpatent lnpatent(1970) lnpatent(1972) lnpatent(1974), d(interact)
(9834 missing values generated)
Estimating the treatment effects
Error estimating treatment effect for unit 1045
Re-running last -synth- command with output/errors un-captured
------------------------------------------------------------------------------------------------------------------------
Synthetic Control Method for Comparative Case Studies
------------------------------------------------------------------------------------------------------------------------
First Step: Data Setup
------------------------------------------------------------------------------------------------------------------------
invalid numlist has too few elements
r(122);
Any help is appreciated.
Regards,
Syeda
Related Posts with Synthetic matching with Pre-Intervention Outcomes ONLY
replacing missing with non-missing within the same variableBelow is an example of the dataset (for some reason the columns are not lining up with the variables…
For each i, calculate median value of observations in the dataset whose value falls within an interval defined by i's valueHello! I have 430 observations, each of whom declare a GOAL time (in seconds), and whose FINISH tim…
Errors using random slope on dummy variableHello, Thank you for reading my post. I am seeking advice about the following problem: I am estimat…
IVprobit with Cluster option and F testDear Statalist users, I have a panel dataset for 15 years and my dependent variable is binary in na…
How to select/specify variables to include in a table with descriptive statistics?Dear Stata Users, I run the following code to generate a table: Code: unab stubs : *_X local st…
Subscribe to:
Post Comments (Atom)
0 Response to Synthetic matching with Pre-Intervention Outcomes ONLY
Post a Comment