I have two datasets, or .dta files. One has certain variables where each value has a corresponding label. The other datafile has no value labels, but the values of the variables are similar to certain variables in the first datafile. What I want is to copy those value labels from the first file to the second file.
$\begingroup$
$\endgroup$
2
-
1$\begingroup$ You might be better off sending this question to statalist. $\endgroup$– Jeremy MilesCommented Apr 8, 2013 at 19:54
-
$\begingroup$ Additional links to Stata resources can be found at meta.stats.stackexchange.com/a/794. $\endgroup$– whuber ♦Commented Apr 9, 2013 at 2:43
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
Take a look at -label save-. This saves the labels as a do-file that you can use on your second data set.