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 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) + factor(year) + s(x),
> # Poisson
> m2 <- gam(count ~ factor(city) + factor(year) + s(x),data=data,
> Thank you!
> [[alternative HTML version deleted]]
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> 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.