BookmarkSubscribeRSS Feed
Ken_oy
Fluorite | Level 6
a 2X2 table below.

N (row %)

70(89.7) 8(10.3)
62(68.9) 28(31.1)


Question:
Is there any way to calculate the difference, e.g. 31.1%-10.3% and its 95%CI?
Thanks.
1 REPLY 1
Reeza
Super User
AFAIK Not by default because its not a standard statistical measure. I think if you want it you'll also need to calculate a formula for the 95% CI via the delta method.

The odds ratio is more commonly used and for a 2x2 table that can be included in the output.

You may also want to look up the binomial proportion estimates.

HTH,
Reeza

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

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 1503 views
  • 0 likes
  • 2 in conversation