search for: mean_scl

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

2012 Aug 22
2
AIC for GAM models
...ariates: mean size, mean capture year, growth interval, having tumors vs. not The models work fine, and fit the data well, however when I try to compare models using AIC I cannot get an AIC value. This is the code for the gam model: >model1=gam(growth_rate~s(sampling_year)+s(growth_interval)+s(mean_SCL)+FP_status,family=quasi(link=identity),method="REML") > AIC(model1) [1] NA or: > model2=gam(growth_rate~s(sampling_year)+s(mean_SCL),family=quasi(link=identity),method="REML") > AIC(model1,model2) df AIC model1 13.722861 NA model2 9.898634 NA I have t...