The file P03_50.xlsx contains annual salaries for all NBA basketball players in each of five seasons.
a. Using only the data for the most recent season (2008–2009), check whether there is independence between position and salary. To do this, first change any hyphenated position such as C-F to the first listed, in this case C. (Presumably, this is the player’s primary position.) Then make Salary categorical with four categories: the first is all salaries below the first quartile; the second is all salaries from the first quartile to the median, and so on. Explain your findings.
b. Repeat part a but with a Yes/No playoff team categorization instead of position. The playoff teams in that season were Atlanta, Boston, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Los Angeles Lakers, Miami, New Orleans, Orlando, Philadelphia, Portland, San Antonio, and Utah.