Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: dummy for multiple intervals


From   "Daniele Gori" <[email protected]>
To   "statalist" <[email protected]>
Subject   st: dummy for multiple intervals
Date   Fri, 12 Oct 2007 18:59:13 +0200

Dear all,

sorry for this new question. I have a large (incomplete) panel database of firm level variables (5 variables) over ten years (y1-y10). I need to create a dummy variable, embodying
a combination of changes in the value of two variables. In particular, I would have a value of "1" iff the firm has increased the value of "var1" at the end of the year (than at the beginning) more than 5% and, during the same gap, has
decreased the value of "var 2", more than 10%.
Could somebody help me writing a procedure to implementing this calculation?

Many thanks in advance,

Daniele



------------------------------------------------------
Leggi GRATIS le tue mail con il telefonino i-mode� di Wind
http://i-mode.wind.it/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index