Displaying 2 results from an estimated 2 matches for "xtlogit".
Did you mean:
logit
2009 Feb 06
1
glm package
Hi all,
can the glm package be used to estimate a logit model to panel data? I am
asking this
because stata has a standard logit model and then an xtlogit for
longitudinal data. Is there something
similar in R?
Thank you
jcm
[[alternative HTML version deleted]]
2012 Apr 17
1
random effects using lmer
...STATA.
Can I just check that this is the correct code
lmer(IsPos ~ Dist + (1 | HouseID), family=binomial)
Where IsPos is a binary vector of positives and negatives, Dist is the
variable of interest and HouseID is the household ID number.
For those STATA users, the equivalent I'm using is
xtlogit IsPos Dist, i(HouseID)
Any help would be much appreciated..!
Thanks!
Hugh
--
View this message in context: http://r.789695.n4.nabble.com/random-effects-using-lmer-tp4566030p4566030.html
Sent from the R help mailing list archive at Nabble.com.