avatar
G*G
1
y depends on three variables, a, b, and c
so which method is good to determine if there are interaction between a, b,
and
c?
and then how to determine if there are interaction between a and b,
a and c,
and b and c?
which method is best for this purpose?
thanks.
avatar
G*G
2
please help.

,

【在 G***G 的大作中提到】
: y depends on three variables, a, b, and c
: so which method is good to determine if there are interaction between a, b,
: and
: c?
: and then how to determine if there are interaction between a and b,
: a and c,
: and b and c?
: which method is best for this purpose?
: thanks.

avatar
p*l
3
you can model interaction with multiple linear regression in R
for example, y~a+b+c assumes no interaction, and
for interaction, use y~a+b+c+a:b+a:c+b:c+a:b:c
a:b/a:c/b:c are two-way interaction terms
a:b:c is the three-way interaction term
if a/b/c are continuous, t-test in summary() should be enough to see if the
interaction terms are significant. if categorical, use Anova().
avatar
p*l
4
also keep in mind, with the presence of interaction terms, you can not
interpret the significance of main effects.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。