Hi!

I'm doing interrater agreement analysis and want to do Cohens' kappa on all combinations of 14 raters. This is the equivalent of "if 14 guests at a party all shake hands, how many handshakes will there be". For 14 participants that is 91 unique pairs.

The syntax for analysing one pair is straight forward;

CROSSTABS

/TABLES=rater_1 BY rater_2

/FORMAT=AVALUE TABLES

/STATISTICS=KAPPA

/CELLS=COUNT

/COUNT ROUND CELL.

Then changing the first rater

CROSSTABS

/TABLES=rater_2 BY rater_3

/FORMAT=AVALUE TABLES

/STATISTICS=KAPPA

/CELLS=COUNT

/COUNT ROUND CELL.

But how do I use syntax to repeat this, changing to rater_3, rater_4, rater_5 etc., which would be easier than copying the CROSSTABS-command 91 times? The DO REPEAT-command can loop an analysis but I haven't got it to change one variable at a time by each cycle.

More Rasmus Walter Green's questions See All
Similar questions and discussions