Hi everyone,
I think I'm experiencing a brain fart because this task feels like it shouldn't be giving me this hard of a time.
I am supposed to run a diff-in-diff regression for before declaration of bankruptcy and after bankruptcy that occurred Dec 1, 1994.
So far my treatment command is:
gen treatment=1 if orange==1 & year<=1994 & month<12
Is this code right for the treatment group?
I'm stumped on the code for the after group. I was thinking:
gen after=1 if orange==1 & year<=1994 & ...(but how do I code for any day after Dec 1st?)
Best,
Amy (struggling and on the verge of pulling my hair out)
I think I'm experiencing a brain fart because this task feels like it shouldn't be giving me this hard of a time.
I am supposed to run a diff-in-diff regression for before declaration of bankruptcy and after bankruptcy that occurred Dec 1, 1994.
So far my treatment command is:
gen treatment=1 if orange==1 & year<=1994 & month<12
Is this code right for the treatment group?
I'm stumped on the code for the after group. I was thinking:
gen after=1 if orange==1 & year<=1994 & ...(but how do I code for any day after Dec 1st?)
Best,
Amy (struggling and on the verge of pulling my hair out)
Comment