Peppy <s.adi.purnomo at EnergyLink.co.nz> writes:
> What is the difference between glm and lm in R? I am so sorry the help
> pages dont really help me much since they dont have description how R
> handles the two.
lm fits linear models. glm fits generalized linear models. A
generalized linear model can include a specification of a link
function for the linear predictor, etc. See the description of the
family argument in the help page for glm.
You may find it useful to refer to Venables and Ripley, "Modern
Applied Statistics with S-PLUS" (Springer, 1999) for a more complete
description of linear models and generalized ("generalised" in
V&R?)
linear models.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._