Displaying 2 results from an estimated 2 matches for "flbs".
Did you mean:
fabs
2009 Apr 28
2
Why there is no p-value from likelihood ratio test using anova in GAM model fitting?
...ficant from more complicated model. However, when I run LRT to compare
them, the test did not return F value and p-value for me. What's the reason?
How can I get such important information?
####################################################
Analysis of Deviance Table
Model 1: sum_surv15 ~ s(FLBS) + s(byear) + s(FLBS, byear)
Model 2: sum_surv15 ~ s(FLBS) + SES + s(byear) + s(FLBS, byear)
Resid. Df Resid. Dev Df Deviance F Pr(>F)
1 1202.21094 601.27
2 1201.43848 601.29 0.77246 -0.02
####################################################...
2009 May 05
1
A question about using “by” in GAM model fitting of interaction between smooth terms and factor
...found they gave the same results. That is, the
codes ?y~z+s(x,by=z)? and ?y~z+s(x,by=z)-1? gave the same results. The
following is my result:
###########################################################################
?anova(model1,model2,test="Chisq")
Analysis of Deviance Table
Model 1: FLBS ~ SES + s(FAFR, by = SES) + s(byear, by = SES) + s(FAFR,
byear, by = SES)
Model 2: FLBS ~ SES + s(FAFR, by = SES) + s(byear, by = SES) + s(FAFR,
byear, by = SES) - 1
Resid. Df Resid. Dev Df Deviance P(>|Chi|)
1 1.2076e+03 1458.4
2 1.2076e+03...