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" <>
To   <>
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. 


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index