BookmarkSubscribeRSS Feed
dstyle
Calcite | Level 5
Hello,
I have a table 2x2 and I am using the proc freq procedure

proc freq data=datos;
tables a*b / RELRISK;
run;

to get the odds ratio but when I ask about a table 2x3 I don't get any information about odds ratio. Can you help me?

Thanks
Dani.
1 REPLY 1
Ksharp
Super User
Hi.
I do not think you can yield odds ratio from 2*3 table,it is only suited for 2*2 tables.
From the definition of odds ratio ,you can get the answer. But you can use cmh option to
see whether the odds ration is the statistical significant for every 2*2 table.Or you can split it into three table 2*2.


Ksharp

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
  • 1 reply
  • 1302 views
  • 0 likes
  • 2 in conversation