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

Re: st: missing values with outsheet/outfile


From   Jean-Benoit Hardouin <jean-benoit.hardouin@orscentre.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: missing values with outsheet/outfile
Date   Mon, 17 Oct 2005 13:08:25 +0200

OK ! Thank you Joseph,
Jean-Benoit

Joseph Coveney a écrit :

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.

Joseph Coveney

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




--
***************************************************************************
Jean-Benoit Hardouin
Biostatisticien
Observatoire Régional de la Santé du Centre
BP 2439
1, rue Porte Madeleine
45032 Orléans Cedex 1
tél : 02 38 74 48 80
fax : 02 38 74 48 81
Email : jean-benoit.hardouin@orscentre.org
**************************************************************************

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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