Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
--- On Wed, 17/11/10, Lidia Panico wrote: > After some manipulation of my dataset (mostly merging in > new variables from other stata > files as well as from an excel file), I seem to have lost > all my value labels. The variable labels > are still there. Any clue as to why this might have > happened and, more importantly, if there's > any way to fix it other than by trying to recover an older > version of my dataset? Type in Stata -label list- to get a list of labels that are still in memory. If it returns labels, you can use -label value- to attach the appropriate value labels to the appropriate variables, otherwise you'll just have to go back to the original data. Hope this helps, Maarten -------------------------- Maarten L. Buis Institut fuer Soziologie Universitaet Tuebingen Wilhelmstrasse 36 72074 Tuebingen Germany http://www.maartenbuis.nl -------------------------- * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/ Lidia Panico ---------------------------------------------------------- Research Student Dept. Epidemiology and Public Health, UCL Room 3.09, 1-19 Torrington Place, London, WC1E 6BT Tel: 020 7679 1704 http://www.ucl.ac.uk/epidemiology/people/panicol.htm --Alt-Boundary-23776.12169031 Content-type: text/html; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"><head> <title></title> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <meta http-equiv="Content-Style-Type" content="text/css"/> </head> <body> <div align="left"> <font face="Arial" size="2"> <span style=" font-size:10pt"> Thank you Maarten.</span></font> </div> <div align="left"> <font face="Arial" size="2"> <span style=" font-size:10pt"> <br /> </span> </font> </div> <div align="left"> <font face="Arial" size="2"> <span style=" font-size:10pt"> Unfortunately -label list- doesn't return anything, so I think you are right, I will have to go back to the original data.</span></font> </div> <div align="left"> <font face="Arial" size="2"> <span style=" font-size:10pt"> <br /> </span> </font> </div> <div align="left"> <font face="Arial" size="2"> <span style=" font-size:10pt"> Best wishes, Lidia</span></font> </div> <div align="left"> <font face="Arial" size="2"> <span style=" font-size:10pt"> <br /> </span> </font> </div> <div align="left"> <font face="Arial" size="2"> <span style=" font-size:10pt">