Re: [R] basic question predict GLM offset

2012-04-15 Thread peter dalgaard
On Apr 15, 2012, at 01:37 , David Winsemius wrote: > > On Apr 14, 2012, at 6:47 PM, smfa wrote: > >> Hi, >> >> I know this is probably a basic question... But I don't seem to find the >> answer. >> >> I'm fitting a GLM with a Poisson family, and then tried to get a look at the >> predictions,

Re: [R] basic question predict GLM offset

2012-04-14 Thread David Winsemius
On Apr 14, 2012, at 6:47 PM, smfa wrote: Hi, I know this is probably a basic question... But I don't seem to find the answer. I'm fitting a GLM with a Poisson family, and then tried to get a look at the predictions, however the offset does seem to be taken into consideration: model_g

[R] basic question predict GLM offset

2012-04-14 Thread smfa
Hi, I know this is probably a basic question... But I don't seem to find the answer. I'm fitting a GLM with a Poisson family, and then tried to get a look at the predictions, however the offset does seem to be taken into consideration: model_glm=glm(cases~rhs(data$year,2003)+lhs(data$year,200