Statalist


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

st: RE: kappa command: select raters with complete data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: kappa command: select raters with complete data
Date   Fri, 4 Sep 2009 18:40:56 +0100

egen rowmiss = rowmiss(rater*) 
kap rater* if rowmiss == 0 

See for a broader discussion 

SJ-9-1  pr0046  . . . . . . . . . . . . . . . . . . .  Speaking Stata:
Rowwise
        (help rowsort, rowranks if installed) . . . . . . . . . . .  N.
J. Cox
        Q1/09   SJ 9(1):137--157
        shows how to exploit functions, egen functions, and Mata
        for working rowwise; rowsort and rowranks are introduced

Nick 
n.j.cox@durham.ac.uk 

Frank Gallo

I am running the kap command, and I want to limit the analysis to the  
raters that gave complete ratings for a set of objects (or variables).  
The data matrix is in the form of columns(raters) and rows(variables).  
For example:

kap rater1-rater94 if rater1-rater94 != . in 1/49

I know this "does not equal missing" designation here is incorrect,  
but it illustrates what I want to do and where I am stuck. 

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



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index