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
Diff-in-diff analysis with two filesDear Stata community I am having some problems with my data. I want to run a diff-in-diff analysis …
Small sample mixed methods with varying degrees of freedom and lincomHi Stata experts! I have a situation that I've been unable to Google my way to a resolution. I hav…
Creating a variable that counts the number of respondents in different ethnic groups per yearGreetings, I'm running Stata 15.1 and working with data from the American Community Survey. My goal…
"record too long" in Stata16 MPI was dealing with a dataset (about 50 thousand variables and unknown observations) download from So…
Cannot get ipdfc to workI happened to come across a user written program which might be the solution to what I am attempting…
Subscribe to:
Post Comments (Atom)
0 Response to Difference-in-difference with three time periods
Post a Comment