QUESTION IMAGE
Question
3 the accompanying table shows the enrollment of a preschool from 1980 through 2000. write a linear regression equation to model the data in the table.
| year (x) | enrollment (y) |
|---|---|
| 1985 | 20 |
| 1990 | 22 |
| 1995 | 28 |
| 2000 | 37 |
Step1: Define variables and data points
Let \(x\) be the year. We can re - scale \(x\) so that \(x = 0\) represents 1980. Then the data points are \((0,14)\), \((5,20)\), \((10,22)\), \((15,28)\), \((20,37)\).
Step2: Calculate the means of \(x\) and \(y\)
\(\bar{x}=\frac{0 + 5+10+15+20}{5}=10\)
\(\bar{y}=\frac{14 + 20+22+28+37}{5}=\frac{121}{5}=24.2\)
Step3: Calculate the slope \(m\)
Step4: Calculate the y - intercept \(b\)
Using the formula \(y=mx + b\) and substituting \(x=\bar{x}\), \(y=\bar{y}\) and \(m = 1.08\)
\(24.2=1.08\times10 + b\)
\(b=24.2-10.8 = 13.4\)
Step5: Write the linear regression equation
The linear regression equation is \(y = 1.08x+13.4\), where \(x\) is the number of years since 1980.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
\(y = 1.08x+13.4\) (where \(x\) is the number of years since 1980)