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)

 

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 450 views
  • 0 likes
  • 2 in conversation