Displaying 1 result from an estimated 1 matches for "birthnation".
2012 May 08
2
mgcv: inclusion of random intercept in model - based on p-value of smooth or anova?
...82
Can I interpret this as there being no support for a random intercept
for country? However, when I compare the simpler model to the model
including the random intercept, the latter appears to be a significant
improvement.
> anova(gam1,gam2,test="F")
Model 1: ....
Model 2: .... + s(BirthNation, bs="re")
Resid. Df Resid. Dev Df Deviance F Pr(>F)
1 789.44 416.54
2 753.15 373.54 36.292 43.003 2.3891 1.225e-05 ***
I hope somebody could help me in how I should proceed in these
situations. Do I include the random intercept or not?
I also have a rela...