# Dunn Predicts Royals Win Series

How often do you get to mix work with fun? Well, if you work at Dunn Solutions with SAP products, all the time.  But when we got the opportunity to enter the “Early Bird Baseball Challenge” we got a chance to take fun to the next level; predict who was going to win the 2014 World Series!

Obviously, lots of people try to predict who is going to win and for many reasons (just go to Las Vegas and you will see).  This prediction is for pure fun and for exposure of some cool SAP technology: SAP Predict Analysis.  We decided to approach this in a different way, so I was elected to do the predictions.  “How is that different?”  You might ask… I didn’t know anything about baseball!  But now I do and I will be watching the World Series to see how good we are at predicting baseball.

If I look at this from the American League side, I nailed all the playoff winners.  From the National League side, San Francisco messed up my predictions… who would think that the weakest, wild card team would end up in the World Series? Regardless of this, The Royals are too strong (based on my power index) to be taken down by a Cinderella wild card team.  (See, I have learned a little about baseball).

So, how did we do it?  We first accrued data of all teams in the playoff games from the last five years, then calculated the average of each team’s batting and pitching statistics. It’s important to note, that we separated a team’s offensive power from their primary defensive power (pitching).  From this we would create our power index (which was a weighted combination of the two facets).

We split the data by leagues, two datasets were used to train the “Multi-Regression” algorithm in SAP Predictive Analysis separately to determine which statistics influenced the percentage of wins to what extent.  The regression functions generated by the trained model for each league then was used with this year’s data accordingly to determine the strength of each team.

We predicted the outcome for each matchup based on the metric for team strength generated, and successfully picked 3 out of the 4 team to make it to the League Championships.  According to our prediction, “Kansas City Royals” and “St. Louis Cardinal” would have been in the World Series.   Moreover, in order to determine the final champion, we built up another model fitted for both leagues which showed “Kansas City Royals” caught the trophy!

Turns out, the Cardinals choked, and the San Francisco Giants will face off with the Royals.  The Giants did much better than our analysis predicted. Why could that be? Our analysis shows that they are a very well rounded team, as opposed to teams like the Cardinals, who have great batting stats, but weaker pitching stats.  This would mean that a temporary slump in one of these areas would have less of an overall effect on the Giants, putting them ahead of our analysis.

We still predict the Royals to win, though, because they are also a well-rounded team and they have great pitching stats. Besides, my boss tells me I should be an American League girl and so the Royals it is… Go Royals.

Here is the hyper link to our infographic, check it out!!!

https://cloud.saplumira.com/open?key=5445F4E549CA1F73E10000000A4E4243&type=HANALYTIC