Statalist


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

Re: st: (no subject)


From   "Michael I. Lichter" <[email protected]>
To   [email protected]
Subject   Re: st: (no subject)
Date   Tue, 13 Jan 2009 18:40:41 -0500

I'm guessing that you are trying to read data from a spreadsheet (using -insheet-) and that Stata is not treating the data exactly as you'd like. For example, you have a numeric dummy variable (1/0) and it's being read by Stata as a string variable, perhaps because missing values are indicated with some sort of non-numeric character. If you could be more specific, that would be helpful.

-ml

Ian C Zink wrote:
How do ensure Stata reads my variables that I want to be categorical (binary) as such?
Thank you...


--
Michael I. Lichter, Ph.D.
Research Assistant Professor & NRSA Fellow
UB Department of Family Medicine / Primary Care Research Institute
UB Clinical Center, 462 Grider Street, Buffalo, NY 14215
Office: CC 125 / Phone: 716-898-4751 / E-Mail: [email protected]

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