[R-lang] Model comparison with restricted cubic splines

Ariel M. Goldberg ariel.goldberg@tufts.edu
Thu Feb 3 09:16:18 PST 2011


Hello,

I have a really really basic question that I can't seem to figure out.  I'm interested in determining whether a non-linear predictor (using restricted cubic splines) is warranted in my model.  For a predictor X, how do I determine using lmer whether rcs(X,3) is significantly better than just X?

Thank you,
Ariel




More information about the ling-r-lang-L mailing list