search for: year1985

Displaying 2 results from an estimated 2 matches for "year1985".

Did you mean: year1989
2009 May 01
0
Confusion going from Stata -> R
...l to "ME" attributes(d$i.st) # Difference-in-difference estimate reg1 <- lm(hwover ~ i.treatment*i.year + i.st, data=d, weights=weight1) summary(reg1) # Output (correctly) omit state "14" ("ME") # Estimates of average treatment effect (coefficient on i.treatment1:i.year1985) same as Stata's # So is the coefficient on i.year1985. # All other params are off. For comparison, I am pasting Stata's output below. Any ideas would be much appreciated! xi: reg hwover i.treatment*i.year i.st if st1976==1 [pw=weight1] i.treatment _Itreatment_0-1 (naturally c...
2008 Oct 29
1
Subsetting data in a loop
...  20            17     0       0         0          0      0 1992    12   5            18     0       0         0          0      0 1992    12   9            19     3       0         0          0      0 1993     1  24            20     5       0         0          0      0     What I would like is: Year1985 1985     8  13             1     1       0         0          0      0 Year 1986 1986     8   5             2     3       0         0          0      0 Year 1991 1991     4  24             3     0       0         0          0      0 1991     4  25             4     0       0         0          0 ...