The following table shows the hot dogs bought from a street vendor over the course of eight days ("Demand"). Also shown is the temperature for each day in degrees Celsius.
Temperature |
21 |
10 |
25 |
16 |
9 |
14 |
17 |
23 |
|
Demand |
49 |
31 |
35 |
39 |
19 |
23 |
44 |
35 |
Calculate the slope and y-intercept for the linear regression equation for these data.
Calculate the slope and y-intercept for the linear regression equation for these data.
Predicted demand+ _ + _ (temperature)
We can use here Excel for regression equation
Step 1) Enter data in Excel .
Step 2) Data >>Data analysis >>Regression >>Select y and x values separately >>Ok
Slope =1.0188
Y-intercept = 17.1821
Predicted demand= 17.1821+1.0188(temperature) |
Get Answers For Free
Most questions answered within 1 hours.