Bookmark and Share

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

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

st: RE: RE: RE: RE: Replace missing values by 0

From   "Nick Cox" <>
To   <>
Subject   st: RE: RE: RE: RE: Replace missing values by 0
Date   Tue, 10 Aug 2010 19:33:04 +0100

I'd put it this way. 

If blanks that should be zeros are interpreted by Stata on input as
missings, then it's appropriate to map those missings to zeros before

It's easy enough to show that this can happen, e.g. by copy and paste
from a spreadsheet to Stata's data editor.

Clearly, anyone doing this should be certain that it is exactly what
they want. If there are other genuine missings, replacing them by zero
is a very bad idea. 


Lachenbruch, Peter

But the original question was about missing values being represented as
Use of a blank cell for 0 allows the confusion of missing and true 0.
At any rate, if you want to code missing as 0 that's a problem to my

*   For searches and help try:

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