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
Diff-in-diff collinearity problem with leads and lagsDear Statlist users, This is my first post so I hope I've done everything according to Statalist pr…
Easier and faster way to get casewise statistics using tabstat?In my data set, I compare analytes analyzed in a test analyzer (X) to those analyzed in a reference …
new ASA "statement" re: p-valuesas has been discussed in this Forum in the past, the ASA previously issued a statement attempting to…
Help with Bar graph of three categorical variables and ratesDear Stata Community, I am working with a dataset which has three categorical variables, whether pr…
Converting Variables to a dummy variableHello, Actually I have three variables in percentage (Formal credit - semi-formal credit - Informal …
Subscribe to:
Post Comments (Atom)
0 Response to Creating Variable - years since an event
Post a Comment