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 up: Lisa Mendez & Richann Watson present Get Tipsy with Debugging Tips for SAS® Code: The After Party on Wednesday Jul 16.
Register now at https://www.basug.org/events.

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 up: Lisa Mendez & Richann Watson present Get Tipsy with Debugging Tips for SAS® Code: The After Party on Wednesday Jul 16.
Register now at https://www.basug.org/events.
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 up: Lisa Mendez & Richann Watson present Get Tipsy with Debugging Tips for SAS® Code: The After Party on Wednesday Jul 16.
Register now at https://www.basug.org/events.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1328 views
  • 4 likes
  • 3 in conversation