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
Frequency table with value labelsDear all, I want to create a frequency table, with frequency of open ended and close ended question…
Omitted period dummies in GMM xtabondThis paper contains a short panel data set with 69 cross-sectional countries and 5 periods length co…
Sum from multiple variablesPlease advise syntax for obtaining the total from multiple variables (T1worst_ethos90 T2worst_ethos9…
Occupation, education and college cohort fixed effectsI hope someone can help me with this issue in estimating the below model The model includes : The …
markdown headersDear All, working with markdown command, I am puzzled why the headers, such as Code: # Example are…
Subscribe to:
Post Comments (Atom)
0 Response to treated unit not found in panelvar - check tr(). error help
Post a Comment