Programming the statistical procedures from SAS

Risk Ratio and Confidence interval

Reply
N/A
Posts: 0

Risk Ratio and Confidence interval

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)
Frequent Contributor
Posts: 77

Re: Risk Ratio and Confidence interval

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;
N/A
Posts: 0

Re: Risk Ratio and Confidence interval

Thank you so much.
Ask a Question
Discussion stats
  • 2 replies
  • 158 views
  • 0 likes
  • 2 in conversation