CAP 4936 In-class activity#8 Predicting the Number of Runs

In Class Activity 8 Part A Expected Runs

## If a baseball team’s OBP is 0.361 and  SLG is 0.409, ## how many runs do we expect the team to score?

ExpectedRuns=-804.63+2737.77*(0.361)+1584.91*(0.409)
ExpectedRuns

Answer: We expect to score around 832 runs in order to win

In Class Activity 8 Part B Expected Runs Allowed

##If a baseball team’s opponents OBP (OOBP) is 0.267 ##and opponents SLG (OSLG) is 0.392, how many runs do ##we expect the team to allow?
ExpectedRunsAllowed=-837.38+2913.60*(0.267)+1514.29*(.392)
ExpectedRunsAllowed

Answer: We are expected about 534 runs to be allowed by the opponents.

LS0tCnRpdGxlOiAiUiBOb3RlYm9vayIKb3V0cHV0OiBodG1sX25vdGVib29rCi0tLQoqKkNBUCA0OTM2KioKKipJbi1jbGFzcyBhY3Rpdml0eSM4IFByZWRpY3RpbmcgdGhlIE51bWJlciBvZiBSdW5zKioKCgoqKkluIENsYXNzIEFjdGl2aXR5IDggUGFydCBBKioKKipFeHBlY3RlZCBSdW5zKioKYGBge3J9CiMjIElmIGEgYmFzZWJhbGwgdGVhbeKAmXMgT0JQIGlzIDAuMzYxIGFuZCAgU0xHIGlzIDAuNDA5LCAjIyBob3cgbWFueSBydW5zIGRvIHdlIGV4cGVjdCB0aGUgdGVhbSB0byBzY29yZT8KCkV4cGVjdGVkUnVucz0tODA0LjYzKzI3MzcuNzcqKDAuMzYxKSsxNTg0LjkxKigwLjQwOSkKRXhwZWN0ZWRSdW5zCmBgYApBbnN3ZXI6IFdlIGV4cGVjdCB0byBzY29yZSBhcm91bmQgODMyIHJ1bnMgaW4gb3JkZXIgdG8gd2luCgoqKkluIENsYXNzIEFjdGl2aXR5IDggUGFydCBCKioKKipFeHBlY3RlZCBSdW5zIEFsbG93ZWQqKgpgYGB7cn0KIyNJZiBhIGJhc2ViYWxsIHRlYW3igJlzIG9wcG9uZW50cyBPQlAgKE9PQlApIGlzIDAuMjY3ICMjYW5kIG9wcG9uZW50cyBTTEcgKE9TTEcpIGlzIDAuMzkyLCBob3cgbWFueSBydW5zIGRvICMjd2UgZXhwZWN0IHRoZSB0ZWFtIHRvIGFsbG93PwpFeHBlY3RlZFJ1bnNBbGxvd2VkPS04MzcuMzgrMjkxMy42MCooMC4yNjcpKzE1MTQuMjkqKC4zOTIpCkV4cGVjdGVkUnVuc0FsbG93ZWQKYGBgCkFuc3dlcjogV2UgYXJlIGV4cGVjdGVkIGFib3V0IDUzNCBydW5zIHRvIGJlIGFsbG93ZWQgYnkgdGhlIG9wcG9uZW50cy4K