Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20111112T160722-348@post.gmane.org>
Date: 2011-11-12T15:09:31Z
From: Ben Bolker
Subject: logistic Regression using lmer

arunkumar1111 <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.