BookmarkSubscribeRSS Feed
kevin575
Calcite | Level 5

我想問我應該使用哪個函數來計算以下問題

 

平均而言,1 年 2022 月 31 日至 20 年 22 <>(含當日)期間,收到優惠券的男性客戶購買的次數是否比未收到優惠券的男性 客戶 編寫一個SAS程式報告 統計資訊,允許您在不進一步計算的情況下結束查詢

 
 
1 REPLY 1
Ksharp
Super User

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)

 

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 797 views
  • 0 likes
  • 2 in conversation