Runs Created Vs. Runs Scored in Steroid and Contemporary Eras April 20, 2016 Runs Created Vs
Total Page:16
File Type:pdf, Size:1020Kb
Runs Created vs. Runs Scored in Steroid and Contemporary Eras April 20, 2016 Runs Created vs. Runs Marcus Jones, Sam Gomez, Conor Bruen, Hannah Corderman April 28, 2016 ERA-FIP ASSIGNMENT Marcus Jones ## [1] "Date" "DblHdr" "Day" "VisTm" "VisTmLg" ## [6] "VisTmGNum" "HmTm" "HmTmLg" "HmTmGNum" "VisRuns" ## [11] "HmRuns" "NumOuts" "DayNight" "Completion" "Forfeit" ## [16] "Protest" "ParkID" "Attendance" "Duration" "VisLine" ## [21] "HmLine" "VisAB" "VisH" "VisD" "VisT" ## [26] "VisHR" "VisRBI" "VisSH" "VisSF" "VisHBP" ## [31] "VisBB" "VisIBB" "VisK" "VisSB" "VisCS" ## [36] "VisGDP" "VisCI" "VisLOB" "VisPs" "VisER" ## [41] "VisTER" "VisWP" "VisBalks" "VisPO" "VisA" ## [46] "VisE" "VisPassed" "VisDB" "VisTP" "HmAB" ## [51] "HmH" "HmD" "HmT" "HmHR" "HmRBI" ## [56] "HmSH" "HmSF" "HmHBP" "HmBB" "HmIBB" ## [61] "HmK" "HmSB" "HmCS" "HmGDP" "HmCI" ## [66] "HmLOB" "HmPs" "HmER" "HmTER" "HmWP" ## [71] "HmBalks" "HmPO" "HmA" "HmE" "HmPass" ## [76] "HmDB" "HmTP" "UmpHID" "UmpHNm" "Ump1BID" ## [81] "Ump1BNm" "Ump2BID" "Ump2BNm" "Ump3BID" "Ump3BNm" ## [86] "UmpLFID" "UmpLFNm" "UmpRFID" "UmpRFNm" "VisMgrID" ## [91] "VisMgrNm" "HmMgrID" "HmMgrNm" "WinPID" "WinPNm" ## [96] "PID" "PNAme" "SavePID" "SavePNm" "GWinRBIID" ## [101] "GWinRBINm" "VisStPchID" "VisStPchNm" "HmStPchID" "HmStPchNm" ## [106] "VisBat1ID" "VisBat1Nm" "VisBat1Pos" "VisBat2ID" "VisBat2Nm" ## [111] "VisBat2Pos" "VisBat3ID" "VisBat3Nm" "VisBat3Pos" "VisBat4ID" ## [116] "VisBat4Nm" "VisBat4Pos" "VisBat5ID" "VisBat5Nm" "VisBat5Pos" ## [121] "VisBat6ID" "VisBat6Nm" "VisBat6Pos" "VisBat7ID" "VisBat7Nm" ## [126] "VisBat7Pos" "VisBat8ID" "VisBat8Nm" "VisBat8Pos" "VisBat9ID" ## [131] "VisBat9Nm" "VisBat9Pos" "HmBat1ID" "HmBat1Nm" "HmBat1Pos" ## [136] "HmBat2ID" "HmBat2Nm" "HmBat2Pos" "HmBat3ID" "HmBat3Nm" ## [141] "HmBat3Pos" "HmBat4ID" "HmBat4Nm" "HmBat4Pos" "HmBat5ID" ## [146] "HmBat5Nm" "HmBat5Pos" "HmBat6ID" "HmBat6Nm" "HmBat6Pos" ## [151] "HmBat7ID" "HmBat7Nm" "HmBat7Pos" "HmBat8ID" "HmBat8Nm" ## [156] "HmBat8Pos" "HmBat9ID" "HmBat9Nm" "HmBat9Pos" "Additional" ## [161] "Acquisition" ## 'data.frame': 16488 obs. of 161 variables: ## $ Date : int 19580414 19580415 19580415 19580415 19580415 19580415 19580415 19580415 19580415 19580416 ... ## $ DblHdr : int 0 0 0 0 0 0 0 0 0 0 ... ## $ Day : chr "Mon" "Tue" "Tue" "Tue" ... ## $ VisTm : chr "BOS" "WS1" "NYA" "DET" ... ## $ VisTmLg : chr "AL" "AL" "AL" "AL" ... ## $ VisTmGNum : int 1 2 1 1 1 1 1 1 1 2 ... ## $ HmTm : chr "WS1" "BAL" "BOS" "CHA" ... ## $ HmTmLg : chr "AL" "AL" "AL" "AL" ... ## $ HmTmGNum : int 1 1 2 1 1 1 1 1 1 3 ... ## $ VisRuns : int 2 1 3 4 5 5 4 0 4 1 ... ## $ HmRuns : int 5 6 0 3 0 4 3 8 0 3 ... ## $ NumOuts : int 51 51 54 54 54 54 84 51 54 51 ... ## $ DayNight : chr "D" "D" "D" "N" ... ## $ Completion : chr "" "" "" "" ... ## $ Forfeit : logi NA NA NA NA NA NA ... ## $ Protest : chr "" "" "" "" ... ## $ ParkID : chr "WAS09" "BAL11" "BOS07" "CHI10" ... ## $ Attendance : int 26675 34377 35233 28319 35307 32849 43339 23448 26246 13337 ... ## $ Duration : int 132 123 118 159 157 164 220 149 164 126 ... ## $ VisLine : chr "2e+06" "1e+06" "300" "10011100" ... ## $ HmLine : chr "00011300x" "02112000x" "000000000" "003000000" ... ## $ VisAB : int 31 29 31 36 32 36 57 32 31 34 ... ## $ VisH : int 5 5 5 14 11 13 16 6 10 7 ... ## $ VisD : int 1 1 3 3 1 5 3 0 1 2 ... ## $ VisT : int 0 0 0 0 0 0 0 0 0 0 ... ## $ VisHR : int 1 0 1 2 0 0 0 0 1 0 ... ## $ VisRBI : int 2 1 3 4 4 5 4 0 4 1 ... ## $ VisSH : int 0 0 1 2 1 2 1 0 1 0 ... ## $ VisSF : int 0 0 0 0 0 0 0 0 1 0 ... ## $ VisHBP : int 0 0 0 0 0 0 0 0 1 0 ... ## $ VisBB : int 4 3 3 1 6 4 1 6 3 2 ... ## $ VisIBB : int 0 0 0 0 0 1 0 0 1 0 ... ## $ VisK : int 1 6 4 6 9 4 6 6 4 8 ... ## $ VisSB : int 0 0 0 0 0 0 0 0 0 0 ... ## $ VisCS : int 0 0 0 0 2 1 0 0 0 0 ... ## $ VisGDP : int 2 2 1 1 2 0 0 1 3 0 ... ## $ VisCI : int 0 0 0 0 0 0 0 0 0 0 ... ## $ VisLOB : int 6 4 5 8 7 10 13 11 6 8 ... ## $ VisPs : int 2 4 1 1 1 3 5 3 4 2 ... ## $ VisER : int 2 6 0 0 0 4 3 8 0 3 ... ## $ VisTER : int 2 6 0 0 0 4 3 8 0 3 ... ## $ VisWP : int 0 1 0 0 0 0 0 0 0 0 ... ## $ VisBalks : int 0 0 0 0 0 0 0 1 0 0 ... ## $ VisPO : int 24 24 27 27 27 27 42 24 27 24 ... ## $ VisA : int 7 10 12 10 5 4 23 12 10 8 ... ## $ VisE : int 3 0 0 1 0 0 0 1 0 0 ... ## $ VisPassed : int 0 0 0 0 0 0 0 1 0 0 ... ## $ VisDB : int 0 2 2 1 1 0 3 0 1 3 ... ## $ VisTP : int 0 0 0 0 0 0 0 0 0 0 ... ## $ HmAB : int 33 31 28 34 32 34 50 33 33 31 ... ## $ HmH : int 8 12 4 7 7 8 12 11 7 10 ... ## $ HmD : int 0 1 0 1 0 3 0 0 1 1 ... ## $ HmT : int 0 1 0 0 0 0 0 0 0 0 ... ## $ HmHR : int 1 1 0 1 0 0 2 2 0 1 ... ## $ HmRBI : int 5 5 0 3 0 4 3 8 0 3 ... ## $ HmSH : int 0 1 1 0 0 0 0 0 0 0 ... ## $ HmSF : int 0 1 0 0 0 1 0 1 0 0 ... ## $ HmHBP : int 0 0 0 0 0 0 0 0 0 0 ... ## $ HmBB : int 4 4 3 2 3 3 4 7 8 2 ... ## $ HmIBB : int 0 0 0 0 0 1 0 0 0 0 ... ## $ HmK : int 4 4 2 3 2 6 6 2 6 3 ... ## $ HmSB : int 0 2 0 0 0 1 0 0 0 0 ... ## $ HmCS : int 0 0 0 0 0 0 1 0 0 1 ... ## $ HmGDP : int 0 2 2 1 1 0 3 0 1 2 ... ## $ HmCI : int 0 0 0 0 0 0 0 0 0 0 ... ## $ HmLOB : int 8 7 5 6 8 7 9 9 14 6 ... ## $ HmPs : int 1 2 2 3 4 3 3 1 5 1 ... ## $ HmER : int 2 1 3 4 5 5 4 0 4 1 ... ## $ HmTER : int 2 1 3 4 5 5 4 0 4 1 ... ## $ HmWP : int 0 0 0 0 1 0 0 0 0 0 ... ## $ HmBalks : int 0 0 0 0 0 0 0 0 0 0 ... ## $ HmPO : int 27 27 27 27 27 27 42 27 27 27 ... ## $ HmA : int 11 12 13 13 9 14 16 14 16 9 ... ## $ HmE : int 2 0 1 1 1 0 0 0 0 0 ... ## $ HmPass : int 0 0 0 0 0 0 0 0 0 0 ... ## $ HmDB : int 2 3 1 1 2 0 0 1 3 0 ... ## $ HmTP : int 0 0 0 0 0 0 0 0 0 0 ... ## $ UmpHID : chr "romme101" "papaj901" "summb901" "romme101" ... ## $ UmpHNm : chr "Eddie Rommel" "Joe Paparella" "Bill Summers" "Eddie Rommel" ... ## $ Ump1BID : chr "berrc103" "hurle901" "honoj901" "stevj901" ... ## $ Ump1BNm : chr "Charlie Berry" "Eddie Hurley" "Jim Honochick" "Johnn y Stevens" ... ## $ Ump2BID : chr "papaj901" "runge901" "soarh901" "nappl901" ... ## $ Ump2BNm : chr "Joe Paparella" "Ed Runge" "Hank Soar" "Larry Napp" . .. ## $ Ump3BID : chr "honoj901" "tabaf901" "umonf901" "ricej901" ... ## $ Ump3BNm : chr "Jim Honochick" "Frank Tabacchi" "Frank Umont" "John Rice" ... ## $ UmpLFID : chr NA NA NA NA ... ## $ UmpLFNm : chr "(none)" "(none)" "(none)" "(none)" ... ## $ UmpRFID : chr NA NA NA NA ... ## $ UmpRFNm : chr "(none)" "(none)" "(none)" "(none)" ... ## $ VisMgrID : chr "higgm101" "lavac101" "stenc101" "tighj801" ... ## $ VisMgrNm : chr "Pinky Higgins" "Cookie Lavagetto" "Casey Stengel" "J ack Tighe" ... ## $ HmMgrID : chr "lavac101" "richp101" "higgm101" "lopea102" ... ## $ HmMgrNm : chr "Cookie Lavagetto" "Paul Richards" "Pinky Higgins" "A l Lopez" ... ## $ WinPID : chr "ramop101" "odelb101" "larsd102" "bunnj101" ... ## $ WinPNm : chr "Pedro Ramos" "Billy O'Dell" "Don Larsen" "Jim Bunnin g" ... ## $ PID : chr "sullf101" "pascc102" "nixow101" "pierb101" ... ## $ PNAme : chr "Frank Sullivan" "Camilo Pascual" "Willard Nixon" "Bi lly Pierce" ... ## $ SavePID : chr "" "" "" "" ... ## $ SavePNm : chr "(none)" "(none)" "(none)" "(none)" ... ## [list output truncated] ## Date DblHdr Day VisTm VisTmLg VisTmGNum HmTm HmTmLg HmTmGNum VisRuns ## 1 19580414 0 Mon BOS AL 1 WS1 AL 1 2 ## 2 19580415 0 Tue WS1 AL 2 BAL AL 1 1 ## 3 19580415 0 Tue NYA AL 1 BOS AL 2 3 ## 4 19580415 0 Tue DET AL 1 CHA AL 1 4 ## 5 19580415 0 Tue KC1 AL 1 CLE AL 1 5 ## 6 19580415 0 Tue PHI NL 1 CIN NL 1 5 ## HmRuns NumOuts DayNight Completion Forfeit Protest ParkID Attendance ## 1 5 51 D NA WAS09 26675 ## 2 6 51 D NA BAL11 34377 ## 3 0 54 D NA BOS07 35233 ## 4 3 54 N NA CHI10 28319 ## 5 0 54 D NA CLE07 35307 ## 6 4 54 D NA CIN07 32849 ## Duration VisLine HmLine VisAB VisH VisD VisT VisHR VisRBI VisSH ## 1 132 2e+06 00011300x 31 5 1 0 1 2 0 ## 2 123 1e+06 02112000x 29 5 1 0 0 1 0 ## 3 118 300 000000000 31 5 3 0 1 3 1 ## 4 159 10011100 003000000 36 14 3 0 2 4 2 ## 5 157 102001100 000000000 32 11 1 0 0 4 1 ## 6 164 1101110 000004000 36 13 5 0 0 5 2 ## VisSF VisHBP VisBB VisIBB VisK VisSB VisCS VisGDP VisCI VisLOB VisPs ## 1 0 0 4 0 1 0 0 2 0 6 2 ## 2 0 0 3 0 6 0 0 2 0 4 4 ## 3 0 0 3 0 4 0 0 1 0 5 1 ## 4 0 0 1 0 6 0 0 1 0 8 1 ## 5 0 0 6 0 9 0 2 2 0 7 1 ## 6 0 0 4 1 4 0 1 0 0 10 3 ## VisER VisTER VisWP VisBalks VisPO VisA VisE VisPassed VisDB VisTP HmAB ## 1 2 2 0 0 24 7 3 0 0 0 33 ## 2 6 6 1 0 24 10 0 0 2 0 31 ## 3 0 0 0 0 27 12 0 0 2 0 28 ## 4 0 0 0 0 27 10 1 0 1 0 34 ## 5 0 0 0 0 27 5 0 0 1 0 32 ## 6 4 4 0 0 27 4 0 0 0 0 34 ## HmH HmD HmT HmHR HmRBI HmSH HmSF HmHBP HmBB HmIBB HmK HmSB HmCS HmGDP ## 1 8 0 0 1 5 0 0 0 4 0 4 0 0 0 ## 2 12 1 1 1 5 1 1 0 4 0 4 2 0 2 ## 3 4 0 0 0 0 1 0 0 3 0 2 0 0 2 ## 4 7 1 0 1 3 0 0 0 2 0 3 0 0 1 ## 5 7 0 0 0 0 0 0 0 3 0 2 0 0 1 ## 6 8 3 0 0 4 0 1 0 3 1 6 1 0 0 ## HmCI HmLOB HmPs HmER HmTER HmWP HmBalks HmPO HmA HmE HmPass HmDB HmTP ## 1 0 8 1 2 2 0 0 27 11 2 0 2 0 ## 2 0 7 2 1 1 0 0 27 12 0 0 3 0 ## 3 0 5 2 3 3 0 0 27 13 1 0 1 0 ## 4 0 6 3 4 4 0 0 27 13 1 0 1 0 ## 5 0 8 4 5 5 1 0 27 9 1 0 2 0 ## 6 0 7 3 5 5 0 0 27 14 0 0 0 0 ## UmpHID UmpHNm Ump1BID Ump1BNm Ump2BID Ump2BNm ## 1 romme101 Eddie Rommel berrc103 Charlie Berry papaj901 Joe Paparella ## 2 papaj901 Joe Paparella hurle901 Eddie Hurley runge901 Ed Runge ## 3 summb901 Bill Summers honoj901 Jim Honochick soarh901 Hank Soar ## 4 romme101 Eddie Rommel stevj901 Johnny Stevens nappl901 Larry Napp ## 5 berrc103 Charlie Berry mckib901 Bill McKinley flahr901 Red Flaherty ## 6 boggd901 Dusty Boggess gormt101 Tom Gorman burkk101 Ken Burkhart ## Ump3BID Ump3BNm UmpLFID UmpLFNm UmpRFID UmpRFNm VisMgrID ## 1 honoj901 Jim Honochick <NA> (none) <NA> (none) higgm101 ## 2 tabaf901 Frank Tabacchi <NA> (none) <NA> (none) lavac101 ## 3