我想問我應該使用哪個函數來計算以下問題
You could use option RELRISK or RISKDIFF option of PROC FREQ .
Check @Rick_SAS wrote a blog you could refer to:
She wants to be an airborne ranger - The DO Loop (sas.com)
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!