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)
}
}
Related Posts with treated unit not found in panelvar - check tr(). error help
Probit model with sample selectionDear Stata users, I want to estimate a model in which the dependent variable is the labor force par…
Whether we need to show all coefficients of all variables after testing DiD?I am curious about whether it is a need to show all coefficients of all variables after testing DiD.…
sfpanelI have a quick query regarding the stochastic frontier models. I am running a stochastic frontier mo…
Random implementation test/ falsification check for Diff-in-Diff with staggered adoptionDear all, I employ difference-in-differences estimation to analyze the effect of a legislative poli…
a Regression with missing ValuesHallo Statalist, i am trying to find out the effect of the macro variables on the credit Rating in …
Subscribe to:
Post Comments (Atom)
0 Response to treated unit not found in panelvar - check tr(). error help
Post a Comment