我有多个回归模型未能通过 Breusch-Pagan 测试,因此我使用异方差校正的协方差矩阵重新计算了方差,如下所示coeftest(lm.model,vcov=hccm(lm.model))
:coeftest()
是来自lmtest
包,hccm()
而是来自car
包。
我想提供 F 分数和标准化测试版,但我不确定如何执行此操作,因为输出看起来像这样......
t test of coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.000261 0.038824 0.01 0.995
age 0.004410 0.041614 0.11 0.916
exercise -0.044727 0.023621 -1.89 0.059 .
tR -0.038375 0.037531 -1.02 0.307
allele1_num 0.013671 0.038017 0.36 0.719
tR:allele1_num -0.010077 0.038926 -0.26 0.796
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
关于如何报告这些内容的任何建议,以便它们尽可能与标准summary()
和Anova()
R and 的输出以及包car
中的函数保持一致?std_beta()
sjmisc