Hi,
I calculated the Kappa coefficient using the following command:
proc freq data = gabarit_final;
tables manager_A_initial_decision * manager_B_initial_decision /norow nocol nopercent agree;
test kappa wtkap;
by reference_number metho;
run;
Could someone guide me on how to save the coefficient in a new dataset?
Thank you in advance,
Shawn
Actually, you need to add this in your PROC FREQ step:
ods output kappa=mykappas;
If you just want the kappa values:
ods output kappa=mykappas(where=(label1='Kappa') keep=label1 nvalue1);
output out=want;
My mistake, the TEST data does not get included in the OUTPUT data set.
Actually, you need to add this in your PROC FREQ step:
ods output kappa=mykappas;
If you just want the kappa values:
ods output kappa=mykappas(where=(label1='Kappa') keep=label1 nvalue1);
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.