Hi everyone,
I am new to using Stata and have a problem with setting up a linear regression model with a moderating variable. The hypothesis is as follows:
"The female gender of journalists increases the relationship between media attention and sales"
DV=sales
IV=number of articles published in the WSJ
moderating variable: female gender
I am not sure whether the model should include an interaction term like this:
DV= b0 + b1 * IV + b2 * Moderating variable + b3 * (IV *Moderating variable) + e
Or if the following command sufficiently describes the Moderation effect:
reg DV IV ModeratingVariable
Thank you so much for your help,
Lena
I am new to using Stata and have a problem with setting up a linear regression model with a moderating variable. The hypothesis is as follows:
"The female gender of journalists increases the relationship between media attention and sales"
DV=sales
IV=number of articles published in the WSJ
moderating variable: female gender
I am not sure whether the model should include an interaction term like this:
DV= b0 + b1 * IV + b2 * Moderating variable + b3 * (IV *Moderating variable) + e
Or if the following command sufficiently describes the Moderation effect:
reg DV IV ModeratingVariable
Thank you so much for your help,
Lena
Comment