MLB Data

The information used to create the following models was collected by the MLB. This data covers a large range of game related info such as everything from attendance, teams playing, types of hits, type of stadium.

Hits by Sky Conditions

In every major league baseball game, the question could come into the thoughts of spectators of weather or not the sky conditions during a game can relate to the number of hits per game.

This graphic shows that throughout a majority of games during the regular season, the average number of hits per game is consistent between 15 to 20 hits regardless of the weather, Their are some exception in almost all conditions where more hits are made but there is an average. When looking ate the post season games, the average number of hits per game was much lower in all weather conditions but also held a consistent average of about 10-15 hits per game with little to no outlines.

Attendance throughtout 2016 Games

Over the span of the 2016 year we can look at the attendance of each game and how well games were attended.

This graphic shows that most games resulted in an attendance of 20000 to about 45000 people,With their also being a outline spike of attendance around 43000 people at a large number of games.

Weather and the game play

Weather can play i vital role in the out comes of a baseball game so the question can arise as to does the game conditions such as wind speed and type of field affect the total runs per game? $x [1] “total_runs”

$y [1] “Wind_speed(MPH)”

$title [1] “Total Runs by Wind Speed by Field Type”

attr(,“class”) [1] “labels”

The model shows that between grass fields and turf fields, a game played on a grass and turf field seem to have one correlation in that at about 23 MPH winds the games would result in about 5 runs. Overall as wind speeds increase on both grass and turf, the total runs per game do decrease. Note: With these graphics due to there being substantially less games played on turf field there is more info related to grass games then turf.

Time, Day and Home

In every game of baseball there there are always a lot of possible factors which could impact the result of a game such as the day of the week or the length of the game. The model shows that on average games that take greater then three hours to play will result in a home team loss with games lasting 3 hours or just under that will more likely result in a home team win. This is all regardless of the day of the week. Now looking at how often a game will exceed 4 hours it appears that on the week days Tuesday and Thursday, games barely exceed 4 hours.