Hello,

I am currently analyzing the relationship between consumption and income and I have quarterly data from 1990-2019.
Now I want to include a dummy variable to isolate the period 2013q1 - 2013q4 since this period is systematically different from other periods covered by my data set.
Is there any possibility to generate a dummy variable and analyze whether this period influences my results?

I tried the command

[gen fc=1
replace flag=0 if date_y=2013q1]

However this doesn't work and I think it is because of the format of my date_q variable:
date_q
2013q1
2013q2 (and so on from 1990q1 to 2019q4)
Is there any other possibility how I can exclude the year 2013 temporary out of my regression to analyze whether it has a substantial impact on my results?

Thank you very much in advance!