On Sun, 30 May 2010, Sherrie Jin wrote:
Hi,
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
method="ml" argument.
Z
Thanks.
[[alternative HTML version deleted]]
______________________________________________
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.
______________________________________________
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.