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

RE: st: missing values with outsheet/outfile

From   "Nick Cox" <>
To   <>
Subject   RE: st: missing values with outsheet/outfile
Date   Mon, 17 Oct 2005 13:23:08 +0100

-outfile- seems to use the Stata code for 
missing anyway. 

I guess the history with -outsheet- was 
that it produced files for reading into 
other software for which Stata conventions 
were irrelevant. 

It sounds as if there should be an option
for -outsheet- to provide this. Recourse
to -tostring- may solve the problem, but 
at best it is a work-around (not that I 
have anything against -tostring-). 


Joseph Coveney
> Jean-Benoit Hardouin wrote:
> how can I obtain a point (.) instead a blank in the text file 
> with -outsheet- or -outfile- for a numerical variable ?
> --------------------------------------------------------------
> ------------------
> You can use -tostring- just prior to -outsheet- in order to 
> create a string
> variable that contains a point whereever the numeric variable 
> was missing.

*   For searches and help try:

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