baseball questions

Use the pitching, people and batting dataframes in Lahman to answer the following:
(reprex example for advanced statistics course )

  1. Create the following new variables for each year: Winning percentage, WHIP, FIP (use Fangraph formula -- pick one year and do not make year by year adjustments).

After 1950 who had the highest ERA (worst) with over 300 innings pitched (IPouts >900)

AFter 1950 who had the lowest WHIP and FIP

  1. Use the Dplyr summarise function to calculate career totals for: Winning percentage,strikeouts, FIP, and WHIP, and Saves.

For pitchers with over 1500 innings pitched, after 1950 who had the best career:

FIP, Total Saves, WHIP, ERA, and Strikeouts

Please take a look at the forum homework policy.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.