当我多次运行以下代码时,只有在 0.01 以上时,p 值才会显示超过两位数。当低于 0.01 时,我无法访问数字。
我怎样才能获得更多的数字?
library(fUnitRoots)
x = rnorm(13)
y = rnorm(13)
m <- lm(y ~ x + 0)
adfTest(coredata(resid(m)), type="nc")@test$p.value
多次运行上述打印:
0.01290496626
0.01 (with warning: "p-value smaller than printed p-value")
0.01 (with warning: "p-value smaller than printed p-value")
0.08404833863