[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Re: replacement of missing values [was: RE: Help]
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."
> Nick, Thank you for the codes. The first part of the command
> is working
> properly, that is
> bysort hhid (indicode member): gen firstnonmiss=indicode
> When I try the second command
> bysort hhid (indicode member): replace indicode=indicode
> if mi(indicode)
> & member==1
> I am getting the folowing error message:
> Unknown function mi()
> 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: