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.

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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