Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Comparing Variable Name Labels Between Datasets

From   "Nick Cox" <>
To   <>
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. 


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:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index