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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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