[R] How can I fit a fixed-effect linear model or generalized linear model with method="ml"?
Achim.Zeileis at uibk.ac.at
Sun May 30 12:02:05 CEST 2010
On Sun, 30 May 2010, Sherrie Jin wrote:
> I want to fit a linear model (without any random effect) with method "ml". I
> tried to use "glm" I found that there is no option for "ml" or "reml" and
> the default one is "reml". THen I tried to use "lme" but it requires a
> random effect. How can I fix this problem?
> Of course, it's not necessary to be "glm" or "lme", I am just looking for
> commands which allow me to fit a linear model (without any random effect)
> with "ml" method. And later I may also need to fit generalized linear models
> (probit, gamma and negtive binomial) with method "ml". Any suggestions?
glm() always performs Maximum Likelihood estimation and thus has no
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help