Announcement

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

  • clogit interaction terms

    Hi,

    Please can you advise how to do this code correctly. I want to run the clogit command within a nested case-control dataset. I have one outcome variable, three independent variables, one propensity score I wish to control for and three variables I want to see if have a moderating effect on the independent variables.

    So I have the following code:

    Code:
    clogit case i.var1 i.var2 i.var3 (c.p_score), group(set) or
    I do not know how to fit my three other variables as interactions to assess if any one of these three variables has a moderating effect.

  • #2

    clogit case i.var1 i.var1#c.p_score i.var2 i.var2#c.p_score i.var3 i.var3#c.p_score, group(set) or or clogit case c.p_score##(i.var1 i.var2 i.var3), group(set) or

    Comment

    Working...
    X