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

st: RE: Re: replacement of missing values [was: RE: Help]

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: replacement of missing values [was: RE: Help]
Date   Tue, 8 Mar 2005 12:14:03 -0000

Yes. -missing()- should work for you. 

The Statalist FAQ advises 
"The current version of Stata is 8.2. Please specify 
if you are using an earlier version; otherwise, the 
answer to your question is likely to refer to commands 
or features unavailable to you."  

[email protected] 

Fanwell Bokosi
> Nick, Thank you for the codes. The first part of the command 
> is working 
> properly, that is
> bysort hhid (indicode member): gen firstnonmiss=indicode[1]
> When I try the second command
> bysort hhid (indicode member): replace indicode=indicode[1] 
> if mi(indicode) 
> & member==1
> I am getting the folowing error message:
> Unknown function mi()
> r(133);
> I should alos mention that I am using stata 7.0. Has this 
> anything to do 
> with the verison of stata I am using?

*   For searches and help try:

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