A researcher has gathered data from seven randomly selected correctional employees on the number of years (X) the employees have worked in a particular department and their salaries (Y) in thousands of dollars.
X Y
2 25.5
3 27
3 27.25
4 28.5
5 33
7 33
7 34.5
a. Calculate the regression slope and Y-intercept. Interpret your results.
b. What would the predicted salary be for someone in the department who has worked for 6 years?
c. Find the R-square. What does it mean?