Question: ## Problem 2: Salary and job changes A sociologist is interested in the relation between y = annual salary (in thousands of dollars) and x

## Problem 2: Salary and job changes A sociologist is interested in the relation between y = annual salary (in thousands of dollars) and x = the number of job changes for people living in the Nashville area. A random sample of 10 people employed in Nashville provided the following information: Variable - - - - - - - - - - - - - - - - - - - - -- X ( Number of job changes) 4 71 5 6 1 5 9| 10| 10| 3 Y (Salary in $1000) 33 37 34| 32| 32| 38 43 371 40 33 a. Find the equation of the least squares line and provide a model summary. (8 points ) {r} # Your code here b. Create a new plot labeling the axes and insert the regression line in the scatter diagram of part (a) . (6 points) {r} # Your code here c. Find the correlation coefficient and the coefficient of determination. (5 points) # Your code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
