We were to use Splus for
GAM procedure with smooth terms using cubic splines, knots and for specifying
df, we need to include in our output p-values for parametric coefficients,
significance of smooth terms, R-sq, and GCV score.
We want S plus to run
GAM procedure for this analysis.
The formula we want to
create should mimic R SOFTWARE output for the following model:
response~ variable1 +
factor(variable2) +factor(variable3)+ s(variable4,k=25,fx=true)+
s(variable5, k=4,
fx=true)+ s(variable6, k=25, fx=true)
I have attached here the basic model I
have run in Splus, and SAS along with dummy Splus dataset which we are using for
this model.
Your advice and
suggestions to get the above specified model and output will be highly
appreciated.