BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
HitmonTran
Pyrite | Level 9

Hi,

 

I was assigned to calculate Negative & Positive agreement but have no clue where to start.  When I googled, they presented a 2x2 table (true positives, true negatives, false positive, false negative).  however, in my situation I have more than a 2x2 table (see screenshot)

 

HitmonTran_1-1658769397564.png

should I calculate them for individual row? (see screenshot)

HitmonTran_2-1658769481942.png

 

or should I keep create a 2x2 like the one below?

HitmonTran_3-1658769522879.png

 

 

again, i have no idea where to start, any suggestions will help, thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Quentin
Super User

Perhaps create a 2X2 by making a new variable which combines High Pos and Low Pos into a single Category Positive, and also collapses High Neg and Negative into a single category, Negative.

The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.

View solution in original post

4 REPLIES 4
Quentin
Super User

Perhaps create a 2X2 by making a new variable which combines High Pos and Low Pos into a single Category Positive, and also collapses High Neg and Negative into a single category, Negative.

The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.
HitmonTran
Pyrite | Level 9
so you wouldn't separate only High Pos with Negative, Low Pos with Negative, High Neg with Negative? thank you
Reeza
Super User

This is subject matter specific and depends on the question being asked/answered.

You'd need to know the data and how the results are being interpreted to answer this correctly. 

 


@HitmonTran wrote:
so you wouldn't separate only High Pos with Negative, Low Pos with Negative, High Neg with Negative? thank you

 

Quentin
Super User
No, you want a 2X2.

As Reeza said, how you handle low pos/high neg depends on the subject matter. But the simplest thing for a homework assignment would be to treat low pos as pos and treat high neg as neg.
The Boston Area SAS Users Group is hosting free webinars!
Next webinar will be in January 2025. Until then, check out our archives: https://www.basug.org/videos. And be sure to subscribe to our our email list.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 759 views
  • 4 likes
  • 3 in conversation