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-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

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
  • 871 views
  • 0 likes
  • 2 in conversation