BookmarkSubscribeRSS Feed
oves
Fluorite | Level 6
3 REPLIES 3
Ksharp
Super User

Use PROC FREQ, and check its documentation 's example ,especial about Relative Risk Test.

 

 

proc freq data=have;

table Medicine*Yes_No / Chisq    riskdiff ;

run;

Reeza
Super User

@oves wrote:

That's likely some basic math so you could take the formula and calculate it manually but I would likely be checking PROC POWER to see if it could calculate that number. Are you assuming that the groups are equally sized as well? Ie 100 people? I believe the denominator may be important as well. If it heals 68 out of 1000 that's different than 68 out of 100 so you may need to be looking at rates instead. 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 3 replies
  • 1127 views
  • 2 likes
  • 3 in conversation