Maybe I'm an idiot for asking this, but why do these produce different results?
The connect options help file doesn't really specify why these would be different. It seems like they should be the same right?
Code:
clear * u "http://fmwww.bc.edu/repec/bocode/s/scul_Reunification.dta", clear loc int_time = 1990 cls qui xtset local lbl: value label `r(panelvar)' loc unit ="West Germany":`lbl' g treat = cond(`r(panelvar)'==`unit' & `r(timevar)' >=`int_time',1,0) cls twoway tsline gdp if code ~=7, connect(L) name(gr1, replace) twoway line gdp year if code ~=7, connect(L) name(gr2, replace)
Comment