<>
(1) Please use meaningful subjects for your Statalist posts per the FAQ.
(2) Stata is not an acronym.
(3) Stata has no concept of 'categorical variables'. Numeric variables
may be stored as various integer data types, which would correspond to
categorical variables, as well as various real data types. As other
posters have suggested, using something like -codebook- or -inspect-
may be helpful. Also note that missing values are the largest positive
numbers, so beware of statements like 'if response > 4', as that will
include observations with a missing response.
Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
On Jan 14, 2009, at 02:33 , Iant wrote:
I am very new to STATA and would like to ensure that while running a
model, STATA understands that a certain variable is categorical
(actually binary response, either yes or no). It seems from the
response post that as long as the values I have entered for the
variable
are binary, that STATA will understand the variable as categorical.
*
* 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/