Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Reshape from wide to long with some missing observations


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Reshape from wide to long with some missing observations
Date   Mon, 30 Sep 2002 22:38:19 +0100

Sayer, Bryan
>
> I have a wide dateset of individual subjects with up to six
> exams.  I am
> reshaping to long form, but I only want to include those
> exams with actual
> data (it seems that some inconsiderate subjects died before
> the end of the
> study...).  Anyway, is there an option to only include in the output
> observations that have data for varlist that I am missing?
> If not, what is
> a good solution for dropping the observations with missing data?

There are no special options associated with -reshape- for this
situation, or so I believe.




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