Re: [R] Fitting a model with an offset in bigglm

2011-02-09 Thread Richard Jacques
Hi, Sorry, I should have said the bigglm() is in the biglm package. I have tried putting the offset in the model formula as you suggested but it doesn't make any difference. I was comparing the results of bigglm() with glm() on a small data set before I applied it to the much larger data set

Re: [R] Fitting a model with an offset in bigglm

2011-02-08 Thread Ben Bolker
Dennis Murphy gmail.com> writes: > > Hi: > > Did you try putting the offset in the model formula, as in > > bigglm( y ~ offset(z) + x, ...) ? > > I haven't tried bigglm() personally (BTW, it's in the biglm package, which > wasn't mentioned), but this syntax works in the standard glm() fu

Re: [R] Fitting a model with an offset in bigglm

2011-02-08 Thread Dennis Murphy
Hi: Did you try putting the offset in the model formula, as in bigglm( y ~ offset(z) + x, ...) ? I haven't tried bigglm() personally (BTW, it's in the biglm package, which wasn't mentioned), but this syntax works in the standard glm() function, so perhaps it maps to bigglm() as well... (?)

[R] Fitting a model with an offset in bigglm

2011-02-08 Thread Richard Jacques
Dear all, I have a large data set and would like to fit a logistic regression model using the bigglm function. I need to include an offset in the model but when I do this the bigglm function seems to ignore it. For example, running the two models below produces the same model and the offset