Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Comparing Variable Name Labels Between Datasets
From
Beth Gifford <[email protected]>
To
[email protected]
Subject
st: Comparing Variable Name Labels Between Datasets
Date
Fri, 14 May 2010 17:22:09 -0400
Hi there
Both suggestions were helpful and taught me something. I thought I'd
share what I think my final solution will be in case it can help
someone else.
Use descsave [by Roger Newson]
--then I had left out a step from my original email which is to parse
the information in the variable label (variables are labeled V154:
drinks per week).
*I use strparse by Blasnik and Cox (webseek strparse)
--then I use cf to compare across 2 datasets for relevant variables.
Many thanks,
Beth
--
Elizabeth Gifford, PhD
Research Scientist
Center for Child and Family Policy
Duke University
214 Rubenstein Hall
Box 90545
Durham NC, 27708-0545
Work Phone: 919-613-9294
Fax: 919- 684-3731
http://www.duke.edu/~ejg141/
Check out my new creation:
http://substanceabuse.ssri.duke.edu/
*
* 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/