Hello all!

 

If I define a gam(mgcv) model with a bi-dimensional smoother  (say: Y ~
s(X,Z) ) because I am quite sure that Y is being driven by the interaction
of the smoothers s(X) and s(Z), am I obliged to include the main terms s(X)
and s(Z) in the model (say Y ~ s(X,Z) + s(X) + s(Z) ) or am I free to enter
them or not according to their significance in the model?

 

Thanks for your help!

 

 

Maria Dulce Subida

 

 


	[[alternative HTML version deleted]]

