Hello,
I am using the synth.ado file and I am attempting to run a placebo test and I continue to get the following error: treated unit not found in panelvar - check tr().
Here is my code which I am using from a previous stata post and it is a proper format. Any advice on what I may be doing wrong?
tsset statenum quarterdate
foreach var of varlist teen_logwage lnteen_emp overall_logwage lnemp{
forvalues i=1/36{
synth `var' `var'(92) `var'(93) `var'(94) `var'(95) `var'(96) `var'(97) `var'(98) `var'(99) `var'(100) `var'(101) `var'(102) `var'(103) `var'(104) `var'(105) `var'(106) `var'(107) `var'(108) `var'(109) `var'(110) `var'(111) `var'(112) `var'(113), trunit(`i') trperiod(114) keep(2Biii_`var'_`i', replace)
}
}
0 Response to treated unit not found in panelvar - check tr(). error help
Post a Comment