Announcement

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

  • Interaction term: multiple identical values

    Hello All,

    I am having problem in creating my interaction term. This variable is obtained by multiplying banks*time. It is a panel dataset and I have a sample of 45 banks across 94 time periods identified by numerical variables (no strings). Unfortunately, when I am generating the interaction term bank*time I obtain multiple identical values (ex. bank n.3 * time 5=15, but also bank n.5 * time 3=15). Generating this variable using also the country in witch the country is located does not fix my problem.

    Do you have any suggestions?

    Thanks,
    Chiara

  • #2
    Chiara:
    the best suggestion is to rely on -fvvarlist- notation instead of creating interactions (and categorical variables) by hand.
    Kind regards,
    Carlo
    (Stata 19.0)

    Comment

    Working...
    X