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: checking for concistant entery


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: checking for concistant entery
Date   Tue, 29 Jan 2013 13:28:18 +0000

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
<[email protected]> 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/


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