Hello everyone,
To estimate a gravity model with panel data, I need importer-time dummies, which I tried to generate using:
However, I got the error “too many values” after the command "tab" because I have 238 importers over 56 months.
Is there an alternative to creating such dummies?
Thank you.
To estimate a gravity model with panel data, I need importer-time dummies, which I tried to generate using:
Code:
egen impdate = group(importer date) tab impdate, gen (impmth_)
Is there an alternative to creating such dummies?
Thank you.

Comment