Dear Zelig developers,
I'm trying to fit a panel data model with random intercepts for countries
and years with the following syntax:
model <- zelig (y ~ x1 + x2 +....+Xn + tag(1 | country) + tag (1 | year),
model="ls.mixed", data=data)
Is there a way to plot the intercepts for the country and year?
Also, when I try to recover the intercepts typing,
ranef(z.out)
the intercepts for the variable year are all 0. Is this normal?
$year
(Intercept)
1965 0
1966 0
1967 0
1968 0
1969 0
1970 0
1971 0
1972 0
1973 0
1974 0
1975 0
1976 0
1977 0
1978 0
1979 0
1980 0
1981 0
1982 0
1983 0
1984 0
1985 0
1986 0
1987 0
1988 0
1989 0
1990 0
1991 0
1992 0
1993 0
1994 0
$country
(Intercept)
1 -1.5937
2 1.7322
3 1.3499
4 0.1067
5 -1.3251
6 1.9233
7 -2.1994
8 -2.4623
10 1.6205
11 3.1561
12 -1.9093
14 2.0440
15 -1.1238
17 -2.2060
18 0.8868
Thanks,
Jose Aleman, Ph.D.
Assistant Professor
Political Science Department
Fordham University
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/