Re: [R] GAM Poisson

2018-01-11 Thread Simon Wood
Not exactly, as by default you are using a log link in the Poisson model, but not the Gaussian model. Simon On 14/12/17 22:57, Miluji Sb wrote: Dear all, I apologize as this may not be a strictly R question. I am running GAM models using the mgcv package. I was wondering if the interpretatio

[R] GAM Poisson

2017-12-14 Thread Miluji Sb
Dear all, I apologize as this may not be a strictly R question. I am running GAM models using the mgcv package. I was wondering if the interpretation of the smooth splines of the 'x' variable is the same in the following two cases: # Linear probability model m1 <- gam(count ~ factor(city) + fact