Re: [R] GAM P value (package mgcv)

2019-06-30 Thread Abby Spurdle
> I try to build a model for five parameters > But, We found these five parameters have multicollinearity. We observed a significant correlation between these parameters. So, we performed a PCA to convert the set of five correlated air pollution variables into a set of linearly uncorrelated main va

[R] GAM P value (package mgcv)

2019-06-27 Thread Jason 林俊
Dear R-helpers, My system: R 3.5.3 osx, mgcv 1.8-28 I try to build a model for five parameters Model = gam( Y ~ s(x1) + s(x2) + s(x3) + s(x4) + s(x5)) But, We found these five parameters have multicollinearity. We observed a significant correlation between these parameters. So, we performe