Dear list,
I have a simple random effect that I would like to include in a GAM.
I've seen that a simple random effect can be treated as a smooth in the
library "mgcv" as follow s(x,bs="re").
My questions are:

- In this way can I compare models with and without a random effect?
- Can I decide to drop a random effect if it is not significant in the model
summary?

Thank you in advance for any help or suggestions.

Valerio Bartolino

	[[alternative HTML version deleted]]


