1

step()当我在 R 中使用带有test = 'F'选项的函数时,有人知道停止规则吗?

即,我想设置一个停止程序的显着性水平。目前我做这样的事情:

m.full = lm(score ~ ., data=evals)
m.best.backward = step(m.full, direction = 'backward', test = 'F', trace=T)

在这种情况下,最大的 p 值为 0.148605。我想继续,直到最大的 p 值小于某个指定的水平。有谁知道怎么做?

4

0 回答 0