can anyone tell me how can i control the method of estimation (i.e. scoring method or Newton raphson method) in glm and compute deviance function ? -- View this message in context: r.789695.n4.nabble.com/changing-method-of-estimation-in-GLM-tp3170836p3170836.html Sent from the R help mailing list archive at Nabble.com.
On 02.01.2011 12:32, ATANU wrote:> > can anyone tell me how can i control the method of estimation (i.e. scoring > method or Newton raphson method) in glm and compute deviance function ?See ?glm. With method="model.frame" the model frame is returned and you can do any fitting yourself. Default is scoring (in particular: IWLS). Uwe Ligges
ATANU <ata.sonu <at> gmail.com> writes:> can anyone tell me how can i control the method of estimation (i.e. scoring > method or Newton raphson method) in glm and compute deviance function ?I don't think you can; you would have to write your own, although you can take advantage of the framework of the current glm() [for interpreting formulas, etc.]: see the "method" argument in ?glm. You might also find install.packages("sos"); library("sos"); findFn("glm newton-raphson") helpful; it finds a few special cases (logistic regression via Newton-Raphson) in the logistf and glmmAK packages.
can you please explain me this with an example(preferably NEWTON RAPHSON METHOD)? -- View this message in context: r.789695.n4.nabble.com/changing-method-of-estimation-in-GLM-tp3170836p3172088.html Sent from the R help mailing list archive at Nabble.com.