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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1593 views
  • 2 likes
  • 3 in conversation