hello,
I am struggling a lot with how to program my dummy. I want to generate a dummy that equals 1 if the firm was an SME at the end of 2012, and 0 if the firm was not. In order to be an SME, a firm has to be between certain boundaries for a couple of years before. Therefore, I already programmed whether or not the firm was within these boundaries from 2010 to 2012, I named these SME2010 SME2011 SME2012. The firm will have the status 'SME' at the end of 2012 if the firm has exceeded these limits for no more than one of these three years. I, however, have no idea how to program this correctly. Could you please help me?
thanks a lot!
Timea De Wispelaere
Related Posts with programming a dummy
different results using stata14 and stata15Hi all I'm running a pool OLS regression with the command as follows. xi: reg lnnumber_d_w post soe …
Breusch-Pagan LM Test for Random Effect ModelHi everyone, I'm confused by xttest0 result and wondering about this result inference. My data cons…
If Command executed when condition is falseHi everyone Stata 16 I run capture regress and have an if-else command to handle errors. The data s…
How to create treated column after policy effective dateDear All STATALIST members I have a quick question about making treated column after policy effecti…
Simulating data with summary statistics from empirical dataI have some empirical data, and I'd like to simulate multivariate normal data with the same mean and…
Subscribe to:
Post Comments (Atom)
0 Response to programming a dummy
Post a Comment