Hi,

I have a question about time dummies. Is it possible to have an ‘or’ condition for a time dummy? What I mean is for example: say my panel data is for the years 2000-2010, and I want to include a time dummy for whether two specific years (2005 and 2008) were significant or not. So D=1 if the given year is 2005 OR 2008, and D=0 otherwise. I am struggling to code this, help would be much appreciated!!

Many thanks,
Riaz