Hey everyone, I'm 1phillies fan382. How many of you use R for your baseball computations. If you do, post your code/graphs here (SAS, SPSS, and others can count as well).
On another forum I post on, someone was saying that Cameron Rupp will hit 20 home runs next year (and that him and Andrew Knapp will combine for 30 home runs). I showed him how ridiculous and unlikely this was by looking at all players from age 20-27 who had a .163 ISO or greater with 732 AB's (PA's were too hard to come by in my data set), and then looking at how many of those players hit 20 home runs the next season. It turns out the percentage was ~22% since 1876. I thought about looking up how likely it would be for Rupp to hit 20 home runs AND Knapp to hit 10 home runs, but I just settled on the fact that only 5 teams in the last 3 years have received 30 home runs from their entire catching position. Here is my code. The second chart is the 43 players (of 197 possible players) to hit 20 home runs or more after having an ISO of .163 in any of their age 20-27 seasons. I told this dude, look at the list- do any of the players sound like freaking Cameron Rupp to you?Screen Shot 2016-12-11 at 3.09.03 AM.pngScreen Shot 2016-12-11 at 3.14.09 AM.png