Yes! An odds ratio from a 2x2 using case-control data. Not tied to STDRATE - just looking for a way to get the PAF and corresponding 95% confidence interval. STDRATE only calculates risks/rates. Example below: Event_E = # exposed cases, Count_E = total # exposed, Event_NE = # unexposed cases, Count_NE = total # unexposed data example ; input Event_E Count_E Event_NE Count_NE; datalines; 20 200 59 1065 ; proc stdrate data=example refdata=example method=indirect(af) stat=risk; population event=Event_E total=Count_E; reference event=Event_NE total=Count_NE; run;
... View more