Displaying 1 result from an estimated 1 matches for "xtpoi".
Did you mean:
xtpois
2005 Aug 17
1
two-level poisson, again
...------------------
m2 <- lmer(.D ~ offset(log(.Y)) + (1|pcid2) + educy + agri, male, poisson)
-------------------------------------------------------------------------------------------
In Stata, I type:
-------------------------------------------------------------------------------------------
xtpois _D educy agri, e(_Y) i(pcid2)
-------------------------------------------------------------------------------------------
Results using R look like:
-------------------------------------------------------------------------------------------
...
Random effects:
Groups Name Variance...