Statalist


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

Re: st: How to select missing variables for analysis?


From   Richard Goldstein <[email protected]>
To   [email protected]
Subject   Re: st: How to select missing variables for analysis?
Date   Thu, 04 Oct 2007 09:25:08 -0400

You can either explicitly set them to missing
(e.g., replace weight=. if weight==888) or you can
use the -mvdecode- command

Rich

Ziad El-Khatib wrote:
Hi!
it might be very basic question, but any tips will be great!
In my dataset, missing variables are given value of "888", I know how
to label them as missing in SPSS and this won't affect analysis, so
they will not be shown.

I ma trying to find a way to let STATA analyse dataset by avoiding
including records with value 888 in variable "weight" (for example)

Any tips how to do in STATA?


Thank you and best regards
ziad
*
*   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