*disclaimer
449075
reghelper
https://rdrr.io/cran/reghelper/
交互作用のプロット
graph_model(モデル, y=値, x=x軸, lines=統制群と実験群)
graph_model(si.model2, y=score, x=time, lines=cond)
- オプションで、bargraph=T とすると棒グラフになる
- オプションで、errorbars="SE"とすると、標準誤差を指定できる
- デフォルトは CI、なくすには noneを指定
beta(モデル)
回帰係数β一覧
simple_slopes(モデル)
単純主効果の分析
time cond Test Estimate Std. Error df t value Pr(>|t|) Sig. 1 1 sstest -4.75 3.9797 62.7286 -1.1936 0.23715 2 2 sstest 23.50 3.9797 62.7286 5.9050 1.558e-07 *** 3 3 sstest 9.00 3.9797 62.7286 2.2615 0.02721 * 4 sstest (2) control 0.50 3.4914 76.0001 0.1432 0.88650 5 sstest (3) control 3.50 3.4914 76.0001 1.0025 0.31930 6 sstest (2) experiment 28.75 3.4914 75.9975 8.2346 3.913e-12 *** 7 sstest (3) experiment 17.25 3.4914 75.9975 4.9408 4.514e-06 ***
https://sugiura-ken.org/wiki/