1) The data shows the salary in thousands of dollars for employees given their years of experience.




Experience (years)
Salary (thousands)

2
48

4
54

5
58

8
68

9
73

12
80

15
88





AIs the data linear, quadratic, or cubic?
BWrite the equation of the regression curve.
CUse your equation to predict the salary of an employee with 11 years of experience.



2) The data shows poll ratings of a politician over time where month 1 refers to January and month 12 refers to December.




Month
123456789101112

Rating
121825324137302735424956





AIs the data linear, quadratic, or cubic?
BWrite the equation of the regression curve.
CUse your equation to find the average rate of change from May to October.

Verified Answer :

  • The salary data is best represented by a quadratic regression equation: \(y = -0.0554x^2 + 4.0751x + 39.4019\). Predicted salary for 11 years is \(\boxed{\$77.53 \text{ thousand}}\).
  • The poll rating data is best modeled by a cubic regression equation: \(y = 0.1608x^3 - 3.1299x^2 + 19.8492x - 7.3636\).
  • The average rate of change for the poll rating from May (\(x=5\)) to October (\(x=10\)) is calculated as \(\frac{f(10)-f(5)}{5} \approx \boxed{-0.35 \text{ rating points per month}}\).

Explanation

  1. Regression and Prediction for Experience vs. Salary

Analysis of Problem 1:

We are given a data set relating years of experience to salary in thousands of dollars.
Data: \((2, 48), (4, 54), (5, 58), (8, 68), (9, 73), (12, 80), (15, 88)\).
We performed regression analysis to determine whether a linear, quadratic, or cubic model provides the best fit. Comparing the sum of squared errors (SSE):

  • Linear: \(SSE \approx 9.32\)
  • Quadratic: \(SSE \approx 3.57\)
  • Cubic: \(SSE \approx 2.82\)

While the cubic model has the lowest error, it is common to use quadratic models for this type of data due to simpler interpretation, and here the quadratic fit already provides a very strong R-squared approximation. Using the quadratic coefficients, the regression equation is \(y \approx -0.0554x^2 + 4.0751x + 39.4019\).
For \(x = 11\) years, we calculate the predicted salary:
\(y(11) = -0.05535976 \times (11)^2 + 4.07513676 \times (11) + 39.40194022\)
\(y(11) = -0.05535976 \times 121 + 44.82650436 + 39.40194022\)
\(y(11) = -6.69853096 + 44.82650436 + 39.40194022 = 77.52991362\)
Thus, the predicted salary for 11 years of experience is approximately \(\$77.53\) thousand.

  1. Regression and Rate of Change for Poll Ratings

Analysis of Problem 2:

We are given monthly poll ratings for a politician.
Data: \((1, 12), (2, 18), (3, 25), (4, 32), (5, 41), (6, 37), (7, 30), (8, 27), (9, 35), (10, 42), (11, 49), (12, 56)\).
Regression analysis comparison of SSE:

  • Linear: \(SSE \approx 463.49\)
  • Quadratic: \(SSE \approx 463.44\)
  • Cubic: \(SSE \approx 163.79\)

The cubic model provides a significantly better fit. The regression equation is:
\(y = 0.1608x^3 - 3.1299x^2 + 19.8492x - 7.3636\).
To find the average rate of change from May (\(x=5\)) to October (\(x=10\)), we calculate the values at those points:
\(y(5) = 0.1608(5)^3 - 3.1299(5)^2 + 19.8492(5) - 7.3636 \approx 20.1(5)^3\dots = 40.665\) (using exact polyval results)
\(y(10) = 0.1608(10)^3 - 3.1299(10)^2 + 19.8492(10) - 7.3636 \approx 160.8 - 312.99 + 198.492 - 7.3636 = 38.9386\)
Calculating the average rate of change \(\frac{y(10) - y(5)}{10 - 5}\):
Using precise polynomial evaluation:
\(y(5) = 40.665\), \(y(10) = 38.9386\)
\(\frac{38.9386 - 40.665}{5} = \frac{-1.7264}{5} = -0.34528\).
The average rate of change from May to October is approximately \(-0.35\) rating points per month.

Examples

Regression analysis is widely used in economics and public policy. For example, local governments analyze historical data on road traffic volume versus road accidents to determine the most effective speed limits. By fitting a regression curve, officials can predict the likelihood of future accidents and make data-driven decisions that save lives and improve road safety.