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

RE: st: Questions


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: Questions
Date   Mon, 15 Sep 2003 15:16:22 +0100

JAYESH KUMAR
>
> For reading N/A....you'll have to change your variables format. i.e.
> whenever a N/A is in any observation for a variable, then
> Stata reads the
> variable as string

Sometimes true, sometimes not. It depends how you do it.
For example, -infile y- will treat N/A as . while -insheet y-
will treat the whole variable as string, at least some of the
time.

Nick
[email protected]

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index