[R] glm: offset in poisson

Juli G. Pausas juli at ceam.es
Thu Mar 16 13:52:49 CET 2000


Can an offset term be included in a Poisson model? 
I get an error message when trying that:

>r3o <- glm(tax ~ areal + offset(o), family=poisson)
Error in (if (is.empty.model(mt)) glm.fit.null else glm.fit)(x = X, y = Y,  : 
        inner loop 1; can't correct step size
In addition: Warning message: 
Step size truncated due to divergence in: (if (is.empty.model(mt))
glm.fit.null else glm.fit)(x = X, y = Y,  

(this error message doesn't appear with family= gaussian)


Juli G. Pausas
Centro de Estudios Ambientales del Mediterraneo (CEAM)
C/ C.R. Darwin 14
Parc Tecnologic,
46980 Paterna, Valencia, SPAIN
Tel: (+ 34) 96 131 8227
Fax: (+ 34) 96 131 8190
E-mail: juli at ceam.es

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