[R] errors using step function

From: silvia narduzzi <narduzzi_at_asplazio.it>
Date: Fri, 18 Jul 2008 16:18:03 +0200


Dear R users,
I have had a problem using the "step" function for the selection of the variables from a gamma model with log link function.

CODE:
step.glm.gam1.infroma <- step(glm.gam1.infroma, direction = "backward", k=2)

ERROR MESSAGE:
Error in glm.fit(x[, jj, drop = FALSE], y, wt, offset = object$offset, :   inner loop 1; cannot correct step size In addition: Warning message:
step size truncated due to divergence  

Could someone help me???
Thanks

Silvia Narduzzi
Dipartimento di Epidemiologia
ASL RM E
Via di S. Costanza, 53
00198 Roma
Tel +39 06 83060461
Mail narduzzi_at_asplazio.it



R-help_at_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. Received on Fri 18 Jul 2008 - 13:28:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jul 2008 - 13:31:57 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive