My data came from Baseball Savant. I like making custom leaderboards and viewing relationships between different stats. For this analysis, I decided to use a decision tree model to find groups of players by barrel and fast swing rate. The model returned 4 groups that were statistical different (p-val < 0.05). The majority of qualified batters fall into the 8%-35% fast swing rate group, garnering a barrel rate just shy of 9%. I wrote a blog post about the formalization of decision trees if anyone wants to learn more!
oliverc1622•1d ago