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
New Package: FLEXMAT: Create Tables and matrices with flexibilityI have published a new package -- flexmat -- on the SSC. To install Code: ssc install flexmat Descr…
Stata independent data format csv/xmlThis is not a Stata question as such. My department is a Windows / Stata environment but some of ou…
panel data questionHi how I want my individual country observations not to generate multiple country graphs but show on…
Wrangling date plus time variableI have some data where the date and time is all together in one string variable. I originally tried …
"missing predicted values encountered within the estimation sample" r(322) errorHi everyone, I have the following code: bootstrap, reps(200) nodrop: probit ftptmain1 imm_percepti…
Subscribe to:
Post Comments (Atom)
0 Response to Synthetic matching with Pre-Intervention Outcomes ONLY
Post a Comment