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" <>
To   "Statalist" <>
Subject   st: how to make xi dummies inherit labels
Date   Thu, 3 Oct 2002 21:34:37 +0100

Roger Harbord <> 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 (e.g. type "net from";
in Stata). To check which version of -reformat- you are currently running
type "which reformat" in Stata.

Tony Brady

*   For searches and help try:

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