BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Shawn08
Obsidian | Level 7

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

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);

View solution in original post

3 REPLIES 3
Reeza
Super User
output out=want;
Reeza
Super User

My mistake, the TEST data does not get included in the OUTPUT data set.

 

StatDave
SAS Super FREQ

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);

sas-innovate-2024.png

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.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 3 replies
  • 1563 views
  • 2 likes
  • 3 in conversation