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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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