[R] Interactions in GAM

2010-09-08 Thread Lucia Cañas
Thank you so much for your answer, it has been really useful. I have already included the interactions in the models and I have obtained better results. Best regards, Lucía Cañás Lucía Cañás Ferreiro Instituto Español de Oceanografía Centro Oceanográfico de A Coruña Paseo Marítimo Alcalde Fr

Re: [R] Interactions in GAM

2010-09-03 Thread Simon Wood
> My main doubts are: > 1.Is the use of "by" and "te" right with the negative binomial > distribution and with the binomial distribution? -- yes! These things specify the `linear predictor' of the model --- the correctness of the linear predictor does not usually depend on the response di

[R] Interactions in GAM

2010-09-03 Thread Lucia Cañas
Hello R users, I am working with the GAM to inspect the effect of some factors (year, area) and continuous variables (length, depth, latitude and longitude) on the intensity and prevalence of the common parasite Anisakis. I would like introduce interaction in my models, both "continuous variabl