Displaying 1 result from an estimated 1 matches for "otherregmodel".
2004 Apr 29
3
Dummies in R
Dear all,
my problem is following. I know Stata, but currently I have to use R. Could You please help in finding the analogy to R.
(1) creating of City-Dummy.
I know in Stata:
g byte city=0
replace city=1 if city==12&year==2000
and
(2) Create a Time-Dummy-Variable
g byte T2000=0
replace T2000=1 if year==2000
(3) I need the City DUmmy for the following combination: I have the