Q10.
Question
The table shows the relationship between years of experience and teacher salary.
| Years Experience | 1 | 5 | 10 | 15 | 20 |
| Salary (thousands of dollars) | 28 | 31 | 42 | 49 | 64 |
a. Write an equation for the best-fit line.
b. Find the correlation coefficient and explain what it tells us about the relationship between experience and salary.
Step-by-Step Solution
Verifieda. The equation for the best fit line is .
b. The value of correlation coefficient is .
The correlation coefficient tells about the relationship between experience and salary that the type of correlation coefficient is positive correlation and the fit line obtained between the experience and salary is almost accurate. There is positive correlation between the experience and salary that implies as the experience increases, the salary increases.
Let be the independent variable and be the dependent variable.
The equation of the best-fit line is:
Where , and is the number of observations.
Let represent the years experience and represent the salary.
The number of observations is 5. Therefore, the value of is 5.
Therefore, it can be noticed that:
| 1 | 28 | 28 | 1 |
| 5 | 31 | 155 | 25 |
| 10 | 42 | 420 | 100 |
| 15 | 49 | 735 | 225 |
| 20 | 64 | 1280 | 400 |
Therefore,
Substitute the values of and in the equation to find the equation of the best-fit line.
Therefore, the equation for the best fit line is .
The correlation coefficient () is given by:
Where and are the means of and respectively.
The mean of () is given by:
The mean of () is given by:
It can be noticed that:
| 1 | 28 | |||||
| 5 | 31 | |||||
| 10 | 42 | |||||
| 15 | 49 | |||||
| 20 | 64 | |||||
Therefore,
Therefore, the value of correlation coefficient is .
The value of correlation coefficient is approximately equal to 1. Therefore, the fit line obtained is almost accurate. As the value of correlation coefficient is positive, therefore the type of correlation obtained is positive correlation.
Therefore, the correlation coefficient tells about the relationship between experience and salary that the type of correlation coefficient is positive correlation and the fit line obtained between the experience and salary is almost accurate. There is positive correlation between the experience and salary that implies as the experience increases, the salary increases.