For this activity use the data from the following website: https://www.baseball-reference.com/leagues/MLB/2021-spring-training-batting.shtml (Links to an external site.)
Using linear regression try and figure out which player recorded statistic(s) best predict runs.
For the second part of this activity use data from the following website: https://www.pro-football-reference.com/years/2020/opp.htm (Links to an external site.).
Using linear regression try and figure out which recorded statistic(s) best predict wins?
Make sure you take screen shots of your results and explain the process you went through to find the best recorded statistic(s) for each prediction. For example, what variables did you start with and why? Why did you eliminate them and add other variables? Lastly, make sure to explain your results and how front office personnel can use your model.
Youtube video HELPFUL: https://www.youtube.com/watch?v=NGFmRt2V8vo