Variablen kombinieren
Verfasst: Mi 5. Mär 2014, 17:50
<
Beratung und Hilfe bei Statistik und Datenanalyse mit Stata
http://www.stata-forum.de/
http://www.stata-forum.de/statistik-allgemein-f5/variablen-kombinieren-t706.html
la de stadt 0 Land 1 Stadt
g byte stadt:stadt = 1if inrange(v736, 1, 3)
replace stadt = 0 if inlist(v736, 4, 5)
egen eastwestplace = group(v5 v736) ,l