Hi!

I pretend to do in my dissertation a graph similar to the one attached.

I have a dummy variable in my database that represents the crisis-years. In the graph, T represents the first crisis year, T+1 the year following, etc.
I need help because I just can't figure out how to generate a variable equal to the one in the x axis in order to construct the graph.

I hope I was clear.

Thank you in advanced.