ggplot2-solutions
ggplot2-solutions copied to clipboard
Exercise 10.3.2 #5 Why more bats go with higher batting average
The question asks:
In the baseball example, the batting average seems to increase as the number of at bats increases. Why?
https://github.com/kangnade/ggplot2-solutions/blob/e6ef9e3b271599f6e97afc0f8a3f012f276f9385/ggplot2_solutions_chapter10.Rmd#L373
I'm not a baseball fan neither. But maybe because the better a batter is, the more he plays. He's good with a relatively high batting average, that's why he is trusted to do more bats.
This can be quantified: If a batter quality can be measured by his batting average, our theory will be more solid, and we can verify this by checking his other attributes. His salary will be on average higher than average, his team will be near the top of the table, and so on. However, this will go way beyond the scope of the exercise so I didn't try to confirm it.
Warmly