作者:萝莉分享创意科技 | 来源:互联网 | 2022-11-29 10:22
当我跑步时gam.check(my_spline_gam)
,我得到以下输出.
Method: GCV Optimizer: magic
Smoothing parameter selection converged after 9 iterations.
The RMS GCV score gradiant at convergence was 4.785628e-06 .
The Hessian was positive definite.
The estimated model rank was 25 (maximum possible: 25)
Model rank = 25 / 25
Basis dimension (k) checking results. Low p-value (k-index<1) may
indicate that k is too low, especially if edf is close to k'.
k' edf k-index p-value
s(x) 24.000 22.098 0.849 0.06
我的问题是我是否可以将这个p值分别提取到表中.