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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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