Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Pulling out observations based on a condition


From   Howard Lempel <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Pulling out observations based on a condition
Date   Wed, 29 Jul 2009 12:03:03 -0400

Dimitriy,

You'll get a better answer for this question if you describe your data a bit (maybe by listing a representative portion of it) and are a little more specific about exactly what you want your output to look like.

You say you have a "dichotomous" variable, which I think is what confused Jeph.  It seems that your "status" variable actually has 5 values.

A couple questions that might show the type of detail that would be helpful:

Does the transition have to take place in ONE quarter?  If someone starts in state 1 and increases by 1 state in each quarter until they get to state 5, should they be kept?

If someone starts in state 1, transitions to state 5, but then goes back to state 1, do you want this person to be kept?

Howie

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dmitriy Krichevskiy
Sent: Wednesday, July 29, 2009 11:56 AM
To: [email protected]
Subject: Re: st: Pulling out observations based on a condition

Thanks a lot Jeph,
First, to clarify - I would like to keep those that do transition. But
I want to handpick those who transition from state 1 to state 5 - not
just those that leave state 1 to go anywhere. Thanks again, Dmitriy


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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