Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Figuring out if variables that were read in are strings or not


From   Debs Majumdar <debs_stata@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Figuring out if variables that were read in are strings or not
Date   Tue, 27 Dec 2011 10:35:54 -0800 (PST)

Hi All,

   Is there a way to find out if any of the variables are read in as string?

I am using the --insheet-- command to read in a text file with around 20K variables which might contain "NA" in which case they would be read in as string.

Thanks,

Debs


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index