没有使用过GAM, 不过gam.check 里有写一部分内容:
"This estimate divided by the residual variance is the k-index reported. The further below 1 this is, the more likely it is that there is missed pattern left in the residuals. " k-index低于1,并且距离1越远,有越高概率miss pattern left in residuals.
"The p-value is computed by simulation: the residuals are randomly re-shuffled k.rep times to obtain the null distribution of the differencing variance estimator, if there is no pattern in the residuals"
重点是,gam.check是diagnostics for a fitted gam model.
你如果是想看gam的结果, 是不是应该summary(GAMmodel)这样来看输出结果. 或者使用GAMmodel$converged来看拟合效果
可以搜索一下广义加性模型的一些案列看看别人是怎么做的