BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I need some procedure to calulate risk ratio and confidence interval for two treatment groups A and B , I am very new to Statistics, so kindly help.

The data is like as shown below:

EVENT Treatment_A Treatment_B
ABC 19 29

And i Need to calculate RR and CI as follows

EVENT TRT_A (N=58) TRT_B(N=73) RR(95% CI Lower-Upper)
ABC 20 21 1.21(0.76,1.93)
2 REPLIES 2
statsplank
Calcite | Level 5
Hi sagar,

Here is one way to calculate RR and it's 95% CI:

data risk;
input trt $ outcome $ count;
datalines;
A yes 19
A no 39
B yes 29
B no 44
;

proc freq data=risk;
table trt*outcome/relrisk;
weight count;
run;
deleted_user
Not applicable
Thank you so much.

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
  • 2 replies
  • 1192 views
  • 0 likes
  • 2 in conversation