Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: How to drop individuals from sample?


From   Dheepan Ratha Krishnan <d.rathakrishnan@student.unimelb.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to drop individuals from sample?
Date   Wed, 25 Jul 2012 16:54:28 +1000

Hello all,

I am writing my dissertation on happiness adaptation to life events
(such as being fired or getting married) and am looking for a stata
command that will enable me to exclude individuals who have
experienced a particular life event more than once in my dataset. My
reason for doing this is so that I can analyse how individuals adapt
(in terms of happiness scores) to a life event at one particular time
within a specific sample period. For example, within a sample period
of 6 years, if individual A gets fired once and individual B gets
fired twice, how do I omit individual B and others like him from the
sample?

Dheepan Ratha
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index