I have 16 countries and 19 years and want to create country *year dummies, what is the easiest way of doing this. I used: tabulate country, gen (country_dummy) and tabulate year, generate( year_dummy) to create all the dummies BUT how do I interact/multiply these country year dummies in STATA?

Please help

Tried i.country#i.year but its not working. I am using STATA 16

More Busani Moyo's questions See All
Similar questions and discussions