| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: value labels in output regression model
On Aug 3, 2006, at 9:20 AM, raoul reulen wrote:
If I create an ordinal variable which has several categories
(1,2,3,4 etc) and add value labels to the values. For example,
1=group1, 2=group2 etc. , why doesn;t STATA show these value labels
when I use the variable in a regression model as a dummy/indicator
variable?
So for example if I run the model:
xi:reg X1 i.var1
then STATA doesn't use the value labels in the ourput for var1. Is
it possible to show the value labels of the variable in the output?
You might find John Hendrickx's program -desmat- helpful (-search
desmat-). In addition to offering several features that -xi- does
not, the accompanying command -desrep- can be used to generate a
table of coefficients in which the various contrasts are labeled
using the value labels assigned to the original variables.
-- Phil
*
* 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/