Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • moderation analysis with two moderator variables after multiple imputations

    Dear all,

    I would like to conduct a moderation analysis on my MI-set (constructed with mvn), but I am unsure if my code is giving the desired output. My DV is DSM_Antisocial, the IV is HIT. The two moderator variables are Flanker_ERN and GNG. Lastly, I would like to add IQ and alcohol as covariate variables. All variables are continuous, with the exception of alcohol. This is a categorical variable with three categories. As I am new to stata, I am not sure if my code is correct.

    Code:
    mi estimate: reg DSM_Antisocial c.HIT_S_T0##c.Flanker_ERN HIT##c.GNG c.IQ i.alcohol
    Is it possible to examine multiple moderator variables in one analysis by adding the interactions?
    Is it sufficient to use the prefix i. or do I need to create two dummy variables for alcohol?

    Any help is much appreciated!
    Last edited by Mazikeen Lagarde; 14 Nov 2019, 09:56.
Working...
X