我使用 R 中的重复测量单变量 ANOVA 制作了一个模型。
> g <- aov(bis ~ x1 + x2 + bg.sol + x1:x2:I(bg.sol * k1) + Error(subject), coded)
> summary.lm(g$Within)
Call:
NULL
Residuals:
Min 1Q Median 3Q Max
-24.7459 -4.8055 -0.1518 5.1696 17.6015
Coefficients:
Estimate Std. Error t value Pr(>|t|)
x1 3.1170 0.8444 3.691 0.000275 ***
x2 -1.0906 0.1230 -8.864 < 2e-16 ***
I(bg.sol * k1) 2.0522 1.0216 2.009 0.045645 *
x1:x2:I(bg.sol * k1) -0.3191 0.1254 -2.545 0.011543 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 7.256 on 246 degrees of freedom
Multiple R-squared: 0.2743, Adjusted R-squared: 0.2654
F-statistic: 30.99 on 3 and 246 DF, p-value: < 2.2e-16
我计算了每个估计的置信限。我认为 SE * 临界值会起作用。在x1
(连续变量)95%置信限的情况下,
> 0.8444 * qt(0.975, df = 1)
[1] 10.72912
我想知道计算值是否是x1
. 估计为x1
3.1170,限制为 10.72912。加减它包括零值。但是P值显示值小于0.05!
我想知道我哪里出错了!