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: RE: Comparing Variable Name Labels Between Datasets
From
"Nick Cox" <[email protected]>
To
<[email protected]>
Subject
st: RE: Comparing Variable Name Labels Between Datasets
Date
Mon, 17 May 2010 13:13:58 +0100
Thanks for thread closure.
It looks as if you are using some ancient version of Stata.
-webseek- is out of date as of Stata 7.
-strparse- (SSC) is something that any users of Stata 7 might find useful, but for Stata 8 upwards the official command -split- is the thing to use.
Nick
[email protected]
Beth Gifford
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.
*
* 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/