BookmarkSubscribeRSS Feed
Primohunter
Obsidian | Level 7

Hello everyone, 

I am looking for suggestions on methods of analysis and what SAS PROC i can use for the following variables/dataset

Primohunter_0-1643764926805.png

Suggestions such as: how to find the win probability for the Home_Team?!

Many thanks in advance.

1 REPLY 1
ballardw
Super User

One way is to add a numeric variable for "Home_team_win" or similar with a value of 1 for Win and 0 for Loss. Don't assign when a tie happens.

 

Proc means on that variable will give the decimal form of the percent of wins .

 

Proc means data=yourdata;

   var Home_team_win;

run;

 

If you add CLASS variables such as tournament you will get a separate result for each tournament.

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