Prev: Oracle Prepare Error
Next: sas time value
From: demin on 30 Oct 2009 11:57 I found the simple kappa value different in proc freq: proc freq; (by default order=internal) proc freq order=data; why? The simple kappa will be higher in order=internal than in order=data; order=DATA orders values according to their order in the input data set. order=INTERNAL orders values by their unformatted values, which yields the same order that the SORT procedure does. This order is operating-environment dependent. proc freq data=aaa; tables q11ts6s1*q11ts6s1r2 q11ts6s2*q11ts6s2r2 / nocol norow agree; run; why this happen? related to the definition of simple kappa coefficient? thanks.
From: John Uebersax on 30 Oct 2009 23:48 Would this option affect the match-up of levels of your two variables? For example, suppose one has two formatted integer variables: X: 1 = 'Low', 2 = 'Med', 3 = 'High' Y: 1 = '1Low', 2 = '2Med', 3 = '3High' The numeric values of X and Y would match up correctly, but not the formatted variables (because the alphanumeric ordering of X is 'Low', 'High', 'Med'. This would affect the kappa value, which depends on which cells are on the diagonal of the 2-way table. Hope this helps. Also maybe check some of the comments here: http://www.john-uebersax.com/stat/saskappa.htm John Uebersax http://www.john-uebersax.com On Oct 30, 8:57 am, demin <qdmi...(a)gmail.com> wrote: > I found the simple kappa value different in proc freq: > proc freq; (by default order=internal) > proc freq order=data; > why? The simple kappa will be higher in order=internal than in > order=data; > > order=DATA > orders values according to their order in the input data set. > order=INTERNAL > orders values by their unformatted values, which yields the same order > that the SORT procedure does. This order is operating-environment > dependent. > > proc freq data=aaa; > tables q11ts6s1*q11ts6s1r2 q11ts6s2*q11ts6s2r2 / nocol norow agree; > run; > > why this happen? related to the definition of simple kappa > coefficient? thanks.
|
Pages: 1 Prev: Oracle Prepare Error Next: sas time value |