Ross Boylan <[EMAIL PROTECTED]> writes: > Thanks to Thomas Lumley, Spencer Graves, and Steve Sullivan for their > advice on and off list to modify the formula with +0 (which I did; it > worked) or -1 at the end. ... > > > Also, I noticed that S-Plus but not R has a glim routine that uses > > > maximum likelihood. What would be the equivalent? > > > > glm. > > > I thought glm was a minimize the deviations approach, which is different > from maximize likelihood.
It minimizes deviance, which is a constant minus twice the log-likelihood.... I.e. it's equivalent to ML (unless you want to quibble about bias-corrected scale parameter estimation in the Gaussian case.) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help