Bookmark and Share

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]

Re: st: Compare two datasets wrt value labels


From   Nick Cox <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Compare two datasets wrt value labels
Date   Thu, 29 Aug 2013 13:31:57 +0100

Not clear exactly what you are seeking. Presumably you have datasets
that should be compatible but there are might be clashes in detail.

Running -labelbook- in each dataset separately and looking at the
results should help.

A -decode- on each variable with value labels would produce string
variables that should be compatible.

(-multencode- (SSC) is a tool to ensure that the process can be
reversed consistently.)
Nick
[email protected]


On 29 August 2013 13:10, Meisfjord, Jørgen Rajan
<[email protected]> wrote:
> Is there a simple way to compare two datasets with respect to value labels?
>
> Thanks.
>
> Jørgen Meisfjord
> Dpt. of Health Statistics | Norwegian Institute of Public Health
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index