[R] Logistic regression : dicrepancies between glm and nls ?

Emmanuel Charpentier charpent at bacbuc.dyndns.org
Fri Dec 14 17:56:23 CET 2001


Prof Brian Ripley wrote:

>Your call to nls fits by least squares, whereas glm fits by maximum
>likelihood.  Not the same thing: ml gives more weights to values with
>fitted values near zero or one.
>
[ Feeling *very* dumb ... ] Quite right !

So my only hope is to embark on ML-estimations and likelihood ratio (or 
Akaike IC) tests ...

What would you recommend for this task ? I am not aware of a R package 
directly built to do that, except GLMM, which I do not yet know how to 
use (but I'll have a serious look at it).

Or should I bite the bullet and write my own functions ?

Thak you for your insight !

>
>On Fri, 14 Dec 2001, Emmanuel Charpentier wrote:
>
[ some silly question he shoudn't have posed ih he had had more sense ... ]
 
                                Emmanuel Charpentier


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



More information about the R-help mailing list