Question: The nbaallelo _ slr . csv data base contains information on 1 2 6 3 1 5 NBA games between 1 9 4 7 and
The nbaalleloslrcsv data base contains information on NBA games between and The columns report the points made by one team, the Elo rating of that team coming into the game, the Elo rating of the team after the game, and the points made by the opposing team.
Load the data set into a data frame.
Find the correlation matrix for all three columns.
Create a new column y in the data frame that is the difference between the points made by the two teams.
Find the correlation matrix for y and the Elo rating column eloi
Ex: If the Elo rating of the team after the game, elon is used instead of eloi the output is:
elon pts opppts
elon
pts
opppts
elon y
elon
y
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
