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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Calculating Percent Agreement


From   Alan Acock <acock@mac.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Calculating Percent Agreement
Date   Thu, 14 Feb 2013 10:27:58 -0800

Help lap should work

Sent from my iPhone

On Feb 14, 2013, at 10:20 AM, Lynne Morgan <lmorgan3@wisc.edu> wrote:

> Hi all,
> I have a data set based on a questionnaire similar to the one below. There are two entries for each object because each was rated twice. We would like to look at the percent agreement between the two questions but there were several raters so we just want to look at the differences for each question. In this case, I want to calculate that q1 has a % agreement of 66%, q2 agreement= 33% and q3 % agreement=100%.
> 
> Because it is not by rater, I can't use the stata kappa command or kap. What is the best way to calculate this in stata? Or, what is the best way to transpose the data in order to use kappa?
> 
> obs q1    q2    q3    dup
> 1    0        0     0         1
> 1     0       1     0         2
> 2     0       1     1         1
> 2     1       1     1         2
> 3    1        0     1         1
> 3    1        1     1         2
> 
> Thanks so much,
> Lynne
> 
> -- 
> Lynne Morgan, MPH
> Assistant Researcher
> Survey of the Health of Wisconsin
> University of Wisconsin, Madison
> (e) lmorgan3@wisc.edu
> (p) 608-821-1243
> 
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index