search for: alcmiss

Displaying 1 result from an estimated 1 matches for "alcmiss".

2011 Jul 19
2
Incorrect degrees of freedom for splines using GAMM4?
...ays get reported degrees of freedom of less than 1, even when I know that my spline is using more than 1 degree of freedom. For example, here is the code for my model: > global.gamm4<-gamm4(zcog~s(adjpatx, fx=TRUE, k=5)+int234+cogagec+cogagesq + + + oldfran +newus +alc2 +alc3 +alc4 +alcmiss +smk2 +smk3 + +mdinc10c +mdinc10sq+ pwhtc +pwhtsq +edu2+ edu3 +husbgs +husbcol+ husbmiss + +currpmh +pastpmh +neverpmh, random= ~(1|id) +(1|cogtest), data=global) Using > summary(global.gamm4$mer), I get the following output for my spline term, indicating that...