~ Coauthored by Varsha Chawla and Dale Rierson ~
Here at SAS, we take our sports seriously. With our corporate headquarters in a city surrounded by major universities and with offices all over the world, it’s no wonder that sports data often becomes the forefront of our demos and projects.
As the World Series took place last week, I thought it would be fun to visualize some data from the New York Mets. Luckily, much of the historical World Series baseball data can be found online. With this data source you can analyze schedules, team batting, team pitching, wins, attendance, and comparison to other teams, dating all the way back to 1871. Using SAS Visual Analytics, analyzing lots of data fast is easy.
Using SAS Visual Analytics we can see how the 1969 Mets team did against their opponents that year and even look for trends on how well they played on different days of the week.
Correction (HT: Mets Fan Dan)
Thanks go out to Mets fan Dan for pointing out that our screenshot needed correcting. Also, the Opponent in this graph represents the team franchise. For example, WAS represents the Washington Nationals franchise which most baseball fans know did not exist in 1969. In 1969, that team was known as the Montreal Expos.
The screenshot is meant to convey the changes in ERA that each team sees during the course of a season. There are varying windows of time because it took the Mets longer to play 15 games with the St. Louis Cardinals (STL) than it did to play 9 games with the San Diego Padres (SDP). In the highlighted section, the blue line shows the Mets cumulative ERA in Cardinals Stadium at 3.77. While the Cardinals playing at home against the Mets had an ERA of around 6. Translation: The Mets outpitched the Cardinals on the road but were not as dominant at Shea.
The second graph shows you just how dominating the Mets were when they played on Sunday or even on Tuesdays at home, but were pretty ordinary Thursdays on the road.