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

st: how to make xi dummies inherit labels


From   "Tony Brady" <tony@sealedenvelope.com>
To   "Statalist" <statalist@hsphsun2.harvard.edu>
Subject   st: how to make xi dummies inherit labels
Date   Thu, 3 Oct 2002 21:34:37 +0100

Roger Harbord <Roger.Harbord@bristol.ac.uk> asked

"Is there a way to make the dummy variables created by -xi- inherit their
variable labels from the value labels of the variable in question?"

and went on to report that -reformat- failed to pick up these value labels.
I wrote -reformat- specifically to do this as I was fed up with labelling my
variables and values nicely only to be faced with incomprehensible terms
like "_Iage10yr2_2" in my regression output. I suspect the reason
that -reformat- is failing on Roger's machine is that he is running an early
version of -reformat- that was expecting -xi- created variables to start
with "I", the default in Stata 6. This prefix was changed to "_I" in Stata
7. The most recent version of -reformat- is 1.1.3, available from
www.sealedenvelope.com (e.g. type "net from http://www.sealedenvelope.com";
in Stata). To check which version of -reformat- you are currently running
type "which reformat" in Stata.

Tony Brady

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