hi Reeza, the follwoign code is using to get odds ratio and Clopper-Pearson method for CI for response i can use logistic, but dont know how to For odds ratio: ods output RelativeRisks=rr(where=(StudyType eq 'Case-Control (Odds Ratio)')); proc freq data=have; weight count; tables trt*res/chisq relrisk; run; Clopper-Pearson method: proc freq data=ci noprint; tables grp/ binomial alpha = 0.05; by trt ; output binomial out=_ci; run; data final_ci retain ci; set _ci; by trt; lcl = round(100 * (1 - xu_bin),.1); ucl = round(100 * (1 - xl_bin),.1); ci = ' ('||put(lcl,4.1)||', '||put(ucl,4.1)||')'; run; Thanks Sam
... View more