Dear all,
I am trying to estimate the difference of impact of the Athenes Olympic and the Paralympic games in on tourism for my bachelor thesis. Usually, previous litterature use the gravity model but it´s not possible in this case as I cannot find the monthly data needed. Anyway, I was thinking of running a difference-in-difference, in this case comparing monthly tourist arrivals between hosting [treatment group] and non hosting countries [control group, including spain, italy and croatia]. I would like to have the difference before the event, during the event and after the event. It is shown in my data file by the column timeOG, where timeOG=0 for the period before the Olympics, =1 during the Olympics in august and =2 after the Olympics.
Array
But when I do the diff-in-diff on stata I have several problems :
- First I only have two periods, before and after. Stata considers that it is a binary variable. Is there any way that it could be turned into a "triple variable" ?
- And I would like to include a fixed effect for country but I don´t know if it can be done in the case of a diff-in-diff nor have to do it.
Array
Array
Here are snapshot of my stata file. I am quite new in econometrics so these questions might seem futile but it would help me a lot. Don´t hesitate to tell me if it´s not the right method or anything, I can´t tell by myself.
Thank you very much.
Related Posts with Difference-in-difference with three time periods
How to analyze data for reapeated measure mixed model design? Research objectives: 1. What is the association between tourists' and residents' aesthetic experien…
xtgee adjusted R-sqDear All, Hello I'm using xtgee for longitudinal data after I failed to get appropriate results by …
Help in creating so many dummiesHi I have a data set of 94 countries and number of observations for each country is different. The…
(Error) Calculating average by each groupDear all, I have been struggling with computing average by group, and I know that it is done with …
How to write the objective function in optimize command?Hi Statalist, I am trying to minimize the below objective function in Stata using optimize command …
Subscribe to:
Post Comments (Atom)
0 Response to Difference-in-difference with three time periods
Post a Comment