Explore BrainMass

Explore BrainMass

    Interaction Dummy Variables

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Let's suppose that we have 2 variables year and age.. I use STATA to make them into dummy variables as follows:

    tabulate YEAR, generate(dum)
    tabulate AGE, gen (dum)

    Now, my question is....how can I make interactions for all of the dummy variables?

    © BrainMass Inc. brainmass.com October 9, 2019, 7:46 pm ad1c9bdddf

    Solution Preview

    If you need to create interactions between two series of dummies, I would suggest that you use "xi" command.
    Once ...

    Solution Summary

    This solution explains how to make interactions for all of the dummy variables.