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

From |
Albert Robinson <robinson9837@hotmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: help- overlapped sample splittings |

Date |
Mon, 22 Oct 2007 13:57:15 +0400 |

Fellow listers I am running a panel data model with Stata and my database is an incomplete panel of 997 firms and some variables, max range: 1980 - 2000 (but some firms have a lower range). I need your help to make some calcutation on a variable, hereafter called "mvalue" (it's a ratio). First of all, for each year, we can find negative or positive or zero values of "mvalue". What I need to build: * by considering the distribution of this variable, I would identify as "LOW mvalue" those firms that are above the 25th percentile of the distribution of the negative values. Note that this selection should produce a dummy-column where - e.g. - the same firm could have zero and one randomly distributed or only zero or one. Vice versa, HIGH mvalue firms are above the 25th percentile of the distribution of firms experiencing positive values of the values. ** Finally, created these two dummies (two columns), for a firm to be identifies as a PERSISTENTLY LOW (HIGH) mvalue, I require that it be identified as a LOW (HIGH) mvalue firm for at least two consecutive periods. This would produce two other columns, for PERSISTENTLY LOW and PERSISTENTLY HIGH mvalue. I am new to the list, so I apologize in advance if the answer to these questions was easy. I would appreciate your help and I would be very, very grateful I somebody could write me the Stata commands (with or without an example) useful for sample splittings of this kind. Albert Robinson _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us * * 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/

- Prev by Date:
**Re: st: Using adofiles from Stata 10 in Stata 8?** - Next by Date:
**st: How to perform a productory** - Previous by thread:
**st: Stata 10SE crashes on Windows Vista 64-bit** - Next by thread:
**st: How to perform a productory** - Index(es):

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