You can -append- the two datasets and look for duplicates using -duplicates-.
There should be 200; if there are mismatches there will be fewer. If
there are fewer, you need to look again at the 200 - whatever that are
not matches.
Nick
On Tue, Jan 29, 2013 at 1:14 PM, Lars Folkestad
<lfolkestad@health.sdu.dk> wrote:
> I have to data sets
>
> dataset1: Consists of 40 variables and 800 unique observations (persons).
> dataset2: consists of the same 40 variables and 200 randomly selected from
> dataset 1 entered to be able to check for concistancy in entry.
>
> All data are based on data from a questionnaire.
>
> I want to know if there are many mis matches.
>
> I am going to use the following command:
>
> .use dataset1, clear
> .cf _all using dataset2, verbose
>
>
>
> But how do i get stata to only compare the 200 sets of questionnaire data
> that was double entered?
*
* 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/