Re: [R] GAM using penalized regression splines with 4 degress o.f.

2014-02-19 Thread Collin Lynch
Hi Katharina, what gam package are you using? With mgcv you can inspect the results of the output variables to check whether the fixed field is true which would indicate whether the df is fixed or floating. I'm not sure if this is applicable to what you want. My rough translation of your German

[R] GAM using penalized regression splines with 4 degress o.f.

2014-02-19 Thread Katharina Mersmann
Dear R-Users, I am fairly new to R and got in trouble by understanding how to run a GAM using penalized regression splines with 4 degress of freedom (even by reading the R Documentation). I tried the following: > gamreg1.2<-gam(num_FCRlong ~ s(GDP,df=4)+s(cupol_GDPpCapita,df=4) +