QUESTION IMAGE
Question
2 emma recently purchased a new car. she decided to keep track of how many gallons of gas she used on five of her business trips. the results are shown in the table below.
| miles driven | number of gallons used |
|---|---|
| 200 | 10 |
| 400 | 19 |
| 600 | 29 |
| 1000 | 51 |
write the linear regression equation for these data where miles driven is the independent variable. (round all values to the nearest hundredth.)
Step1: Calculate the means
Let \(x\) be miles driven and \(y\) be number of gallons used.
\(n = 5\)
\(\bar{x}=\frac{150 + 200+400+600+1000}{5}=\frac{2350}{5}=470\)
\(\bar{y}=\frac{7 + 10+19+29+51}{5}=\frac{116}{5}=23.2\)
Step2: Calculate the slope \(m\)
\(m=\frac{24530}{478000}\approx0.05\)
Step3: Calculate the y - intercept \(b\)
\(b=\bar{y}-m\bar{x}=23.2-0.05\times470=23.2 - 23.5=- 0.3\)
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 = 0.05x-0.3\)