Answer :
To predict the salary for an employee with 7 years of experience, we need to determine the equation of the line of best fit for the given data points. The line of best fit can be represented by the linear equation:
[tex]\[ \text{Salary} = \text{slope} \times (\text{Years of experience}) + \text{intercept} \][/tex]
Given the provided data points:
[tex]\[ \begin{array}{|c|c|} \hline \text{Years of experience} & \text{Salary} \\ \hline 0 & \$50,000 \\ 1 & \$52,150 \\ 2 & \$54,260 \\ 3 & \$56,285 \\ 4 & \$58,820 \\ 5 & \$60,126 \\ \hline \end{array} \][/tex]
we first calculate the slope and intercept of the line. The determined slope and intercept are:
- The slope is approximately [tex]\( 2076.142857142858 \)[/tex]
- The intercept is approximately [tex]\( 50083.14285714284 \)[/tex]
Next, we substitute these values into the linear equation and use [tex]\( 7 \)[/tex] years of experience to find the predicted salary:
[tex]\[ \text{Predicted Salary} = 2076.142857142858 \times 7 + 50083.14285714284 \][/tex]
Calculating this we get:
[tex]\[ \text{Predicted Salary} \approx 2076.142857142858 \times 7 + 50083.14285714284 \][/tex]
[tex]\[ \text{Predicted Salary} \approx 14532.999999999906 + 50083.14285714284 \][/tex]
[tex]\[ \text{Predicted Salary} \approx 64616.14285714284 \][/tex]
Therefore, the predicted salary for an employee with 7 years of experience is:
[tex]\[\$64,616\][/tex]
So the correct answer is:
[tex]\[\$64,616\][/tex]
[tex]\[ \text{Salary} = \text{slope} \times (\text{Years of experience}) + \text{intercept} \][/tex]
Given the provided data points:
[tex]\[ \begin{array}{|c|c|} \hline \text{Years of experience} & \text{Salary} \\ \hline 0 & \$50,000 \\ 1 & \$52,150 \\ 2 & \$54,260 \\ 3 & \$56,285 \\ 4 & \$58,820 \\ 5 & \$60,126 \\ \hline \end{array} \][/tex]
we first calculate the slope and intercept of the line. The determined slope and intercept are:
- The slope is approximately [tex]\( 2076.142857142858 \)[/tex]
- The intercept is approximately [tex]\( 50083.14285714284 \)[/tex]
Next, we substitute these values into the linear equation and use [tex]\( 7 \)[/tex] years of experience to find the predicted salary:
[tex]\[ \text{Predicted Salary} = 2076.142857142858 \times 7 + 50083.14285714284 \][/tex]
Calculating this we get:
[tex]\[ \text{Predicted Salary} \approx 2076.142857142858 \times 7 + 50083.14285714284 \][/tex]
[tex]\[ \text{Predicted Salary} \approx 14532.999999999906 + 50083.14285714284 \][/tex]
[tex]\[ \text{Predicted Salary} \approx 64616.14285714284 \][/tex]
Therefore, the predicted salary for an employee with 7 years of experience is:
[tex]\[\$64,616\][/tex]
So the correct answer is:
[tex]\[\$64,616\][/tex]