[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: variable labels lost due to reshape
Dear Statalist subscribers,
I am using Stata 9. After I reshape my data from child-level to mother-level,
I lose all the variable labels. This makes sense, since my reshape drops all
variables and creates new ones from them. But, losing all the variable labels
is rather inconvenient. How can I retrieve them?
I searched ths listserv, and couldn't find the answer. I tried to use label
save, but this refers to label values, not variable labels.
It seems that there would be two ways to approach this:
- Force Stata to somehow keep the variable labels (I doubt this is possible)
- Use some efficient method of retrieving the labels from the original dataset
and applying after the reshape.
Your help is most greatly appreciated.
Department of Economics
University of Washington, Seattle
* For searches and help try: