Letizia Campioni wrote:
> 
> 
> Hi,
> 
> I am starting to work with R. 
> 
> I need to performe a General linear model and a Generalized mixed model,
> what are the package I have to use for?
> 
> what is the difference between them?
> 
> 

General linear models (called GLM mostly by SAS users) are implemented by lm
(no need
to install or load additional packages).
General*ized* linear models (called GLM by everyone else): use glm (still no
need for
extra packages).
Linear mixed models (LMMs): nlme (library("nlme"), no need to install
extras.
Generalized linear mixed models (GLMMS): lme4 -- install.packages("lme4");
library("lme4"), ?glmer

  This list is not generally for "general statistics" questions -- you're
expected to know *what*
you want to do, and we will help you with *how* to do it in R (provided you
have read
the posting guide and formulated a useful question).  I would suggest a book
-- check out
the R books page ( http://www.r-project.org/doc/bib/R-books.html ) -- maybe
Faraway?

  

-- 
View this message in context: 
http://www.nabble.com/GLMs-tp25150823p25151455.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.

Reply via email to