Announcement

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

  • Interaction Term between a binary and a discrete variable

    Hi I am currently using a logistic regression.

    I now want to include an interaction term that includes the amount of partners a firm has, into the model, the variable (num_partners) is discrete and ordered, its values are 0;1;2;3. num_partners is supposed to be my moderator.
    I tried to use the following code (which did not provide any results)

    Code:
    logit customers i.NetZeroPledge##i.num_partners suppliers partners ROA EMPL_ln SlackR_ln firm_age i.Year

    or do I need to use another model do fully account for my discrete variable amount of partners?

    Thanks
    Last edited by Kim Schwartau; 15 Nov 2023, 07:56.

  • #2
    Kim:
    I'm not clear with the issue you're facing.
    Please share what you typed and what Stata gave you back (as per FAQ), Thanks.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment

    Working...
    X