Hi there,
I have a panel dataset and wish to do a regression analysis that involves a variable, "Years since the Financial Crisis" (which refers to the most recent financial crisis of 2007).
I am looking for advice on how to code this.
Should I simply code all years as 0 up to and including 2007, and then 1 for 2008, 2 for 2009 etc? Or is there a better method?
Thanks in advance!
Related Posts with Creating Variable - years since an event
Using a nested foreach loop to merge and then append multiple files from multiple folders into one dataset.Essentially, I have a few thousand text files, for which I have a nested foreach loop to import them…
P-ValueCan some one explain to me what this piece of code is doing? I know it is related to creating a P-Va…
Difference in Difference (DiD) with xtabond and xtdpdsysHello everyone, I am trying to work out how to complete a DiD analysis with Difference GMM and Syst…
Age Period Cohort analysis GraphsHi everyone! I have just fitted a regression model using apcfit command. I would like to build a gra…
multilevel models with non-nested dataHello, I'd like information about multilevel models with non-nested data. . Could someone indicate a…
Subscribe to:
Post Comments (Atom)
0 Response to Creating Variable - years since an event
Post a Comment