Help using Base SAS procedures

Proc freq

Reply
Frequent Contributor
Posts: 128

Proc freq

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.
Super User
Posts: 19,877

Re: Proc freq

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
Ask a Question
Discussion stats
  • 1 reply
  • 228 views
  • 0 likes
  • 2 in conversation