Re: [R] Help with using unpenalised te smooth in negative binomial mgcv gam

2013-07-24 Thread Simon Wood
Hi Alice, This is a bug in gam.side, which was assuming that any interaction smooth that needed identifiability constraints would be penalized. thanks for reporting it - fixed for next version. In the meantime have you considered using `ti' terms instead of `te'? These provide a more satisfa

[R] Help with using unpenalised te smooth in negative binomial mgcv gam

2013-07-23 Thread alice.jones
Hi, I have been trying to fit an un-penalised gam in mgcv (in order to get more reliable p-values for hypothesis testing), but I am struggling to get the model to fit sucessfully when I add in a te() interaction. The model I am trying to fit is: gam(count~ s(x1, bs = "ts", k = 4, fx = TR