Statalist The Stata Listserver


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

Re: st: missing values nightmare?


From   Jeph Herrin <junk@spandrel.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: missing values nightmare?
Date   Tue, 03 Oct 2006 19:09:36 -0400

Diego Bassani wrote:
>
> The way around it was tricking the system by recoding the missing values into
> some very small or negative value, temporarily, so we can make the
> transformations without the giant missing value bug playing its tricks...
>

The usual way to fix it is

  recode x 0=1 if z>2&z<.

hth,

Jeph

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index