Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: 回复: st: re: missing string entry


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: 回复: st: re: missing string entry
Date   Tue, 9 Mar 2010 09:15:49 +0100

<> 



-mi()- was introduced in Stata 8 (-help whatsnew7to8-), so if you are a Stata 7 user, then the mystery is solved. If not, it lingers on...



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von lydia huang
Gesendet: Dienstag, 9. März 2010 04:46
An: [email protected]
Betreff: st: 回复: st: re: missing string entry

i typed 

replace nosocomial_infection = "NULL" if mi(nosocomial_infection)

and it says "unknown function mi()".
what does this mean? how solve it? I want to change all the missing string variables into "null", do i type the following?

replace _all = "NULL" if mi(_all)

Best wishes
Lydia

--- 10年3月9日,周二, Kit Baum <[email protected]> 写道:

> 发件人: Kit Baum <[email protected]>
> 主题: st: re: missing string entry
> 收件人: [email protected]
> 日期: 2010年3月9日,周二,上午10:36
> <>
> How to convert all the missing string entry into entry
> shows "null"? 
> 
> replace myvar = "NULL" if mi(myvar)
> 
> Kit Baum   |   Boston College
> Economics & DIW
> Berlin   |   http://ideas.repec.org/e/pba1.html
>                
>               An
> Introduction to Stata Programming 
> |   http://www.stata-press.com/books/isp.html
>    An Introduction to Modern Econometrics
> Using Stata  |   http://www.stata-press.com/books/imeus.html
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


      


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index