I want to run the following logistic regression models but with each age group (i.age) as an interaction term:
  • meqrlogit highlyactive c.scale_1 c.scale_2 i.new_age i.gender i.area i.parenthood || country:, or
  • meqrlogit active c.scale_1 c.scale_2 i.new_age i.gender i.area i.parenthood || country:, or
I've attached the above models to this post for reference: Array

Do I create a new variable for each age group and then run the same models? Or is there a quicker step?


Any advice would be greatly appreciated!