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
Problem with similar equation (gen)Hello everyone! I am new in this forum. I face a problem with the following: When I write gen Demp…
2x2 table and generating p-value for Chi-squared test?Hi, I am trying to create a table 1 for my research project. How do I generate a p-value for EACH of…
Staggered difference in differenceDear Statalist Community, I am experiencing studying the impact of the introduction of body cameras…
Compute covariance and store in columnMy data are the following. I want to compute the covariance of dclose and dclose_lag for each ticker…
Creating a list of most common households in a census dataset.I have a dataset which shows the population of Copenhagen in the late 1800s. And I am interested in …
Subscribe to:
Post Comments (Atom)
0 Response to programming a dummy
Post a Comment