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
Assigning different time values to the same dependent and control variableDear, I am trying to estimate how well the U.S. yield spread predicts future inflation. The regres…
Command for calculating household level expenditureHi, I am working with the National Sample Survey Organization dataset from India. It is an individu…
double loops.Dear All, I run the following code Code: clear set obs `=40 * 500 * 10' set seed 2803 egen year…
create a table from loopsHello, I have a series of loops. Right now they are set to display, but I want them to write the dat…
Upper confidence intervalDear Statalist, How to construct an upper 95% confidence interval for the mean of scores for a subgr…
Subscribe to:
Post Comments (Atom)
0 Response to programming a dummy
Post a Comment