[R] logistic Regression using lmer

2011-11-12 Thread arunkumar1111
Hi

can we perform logistic regression using lmer function. Please help me with
this

--
View this message in context: 
http://r.789695.n4.nabble.com/logistic-Regression-using-lmer-tp4034056p4034056.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] logistic Regression using lmer

2011-11-12 Thread Ben Bolker
arunkumar akpbond007 at gmail.com writes:

 
 Hi
 
 can we perform logistic regression using lmer function. Please help me with
 this
 

  Yes.  
  
  library(lme4)
  glmer([reponse]~[fixed effects (covariates)]+(1|[grouping variable]),
data=[data frame], family=binomial)

  Further questions on this topic should probably go to the
r-sig-mixed-models mailing list.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.