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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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