Hi all,
I am trying to keep value labels for my variables after a collapse. I am in a, possibly rare, situation in which the labels are still relevant after the collapse. Long story short, I take a long format parent-child file, create unique variables for each child number, then collapse to a respondent level long format with child characteristics wide.
When I collapse, I lose variable labels and value labels. I used the following resource to retain variable labels: https://www.stata.com/support/faqs/d...with-collapse/ , but I am struggling to convert this into value labels. Any insight is greatly appreciated.
I am trying to keep value labels for my variables after a collapse. I am in a, possibly rare, situation in which the labels are still relevant after the collapse. Long story short, I take a long format parent-child file, create unique variables for each child number, then collapse to a respondent level long format with child characteristics wide.
When I collapse, I lose variable labels and value labels. I used the following resource to retain variable labels: https://www.stata.com/support/faqs/d...with-collapse/ , but I am struggling to convert this into value labels. Any insight is greatly appreciated.
Comment