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

st: RE: Anova with string variables


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Anova with string variables
Date   Sun, 24 Nov 2002 15:35:27 -0000

Ricardo Ovaldia
> 
> It is unfoutunate (and strange) that -anova- does not
> accept string variables as factors. String variables
> first need to be -encoded-. This is okay, except that
> -anova,regress- does not display the value lables from
> -encode- so unless you keep track of how the variable
> was encoded one can not interpret the output. Is there
> a way to display the output displaying the value
> labels?  

I agree with you largely. The generic difficulty 
is that -anova, regress- will show not any 
value labels, even truncated, and I don't 
know a work-around. 

FWIW, that code has been in Stata a very 
long time. That may help explain -- but 
not justify -- the state of affairs. 

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