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]

st: AW: Replace missing values by 0


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: Replace missing values by 0
Date   Mon, 9 Aug 2010 10:58:23 +0200

<> 



*************
clear*
input myvar
1
3
5
.
3
6
7
end

recode myvar (mis = 0)
l
*************



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Hobst
Gesendet: Montag, 9. August 2010 10:55
An: [email protected]
Betreff: st: Replace missing values by 0

I have two variabled called "prean" and "pa_kum" that contain missing
values.
These missing values i would like to replace by 0 (zero). What command can i
use to do this? 

Thanks in advance for your support. Regards
-- 
View this message in context:
http://statalist.1588530.n2.nabble.com/Replace-missing-values-by-0-tp5388239
p5388239.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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