an exercise in regression. i borrow thermometers from the science teachers and bring a large...

8
HOT CHOCOLATE COOLING An Exercise in Regression

Upload: ross-mcbride

Post on 17-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

HOT CHOCOLATE COOLINGAn Exercise in Regression

Page 2: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

TIME VS. TEMPERATURE

Page 3: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

FIRST, COLLECT THE DATA…I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix for drinking, not temperature taking…

Hot Chocolate Cooling

Time Tempre... <new>

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

0 147.2

1 144.7

2 142.2

3 140.2

4 138.0

5 136.2

6 133.9

7 131.9

8 130.3

9 128.8

10 127.4

11 125.8

12 124.7

13 123.3

14 122.0

15 120.6

16 119.3

17 118.4

18 117.2

19 115.9

20 115.0

Page 4: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

NEXT, PLOT THE DATA…I have students use fathom or, more often, calculators to graph the data & calculate the r value & the regression equation.

115

120

125

130

135

140

145

150

Time

0 2 4 6 8 10 12 14 16 18 20 22

Temperature = -1.57Time + 144.4; r2 = 0.98

Hot Chocolate Cooling Scatter Plot

Page 5: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

JUST A HINT – THIS WATER WAS MUCH TOO HOT!You probably notice a

curve in the scatterplot – that curve is MUCH less noticeable if you start the temperature a bit cooler. Somewhere around 100º F is about right…

115

120

125

130

135

140

145

150

Time

0 2 4 6 8 10 12 14 16 18 20 22

Temperature = -1.57Time + 144.4; r2 = 0.98

Hot Chocolate Cooling Scatter Plot

Page 6: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

THEN, TALK ABOUT THE RESULTS…r2 = 0.98 – what does this mean?

What is r ?We can extrapolate!The equation from this model predicts the temperature after 2 hours to be -44º F. Is this a problem?

115

120

125

130

135

140

145

150

Time

0 2 4 6 8 10 12 14 16 18 20 22

Temperature = -1.57Time + 144.4; r2 = 0.98

Hot Chocolate Cooling Scatter Plot

Page 7: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

BUT YOU MUST INCLUDE…Even if you start at a lower temperature where the curve isn’t noticeable, and even with the high r value (r=-0.9899), the context and the residual plot clearly shows a non-linear pattern!

115

120

125

130

135

140

145

150

Time

0 2 4 6 8 10 12 14 16 18 20 22

Temperature = -1.57Time + 144.4; r2 = 0.98

-2

0

2

0 2 4 6 8 10 12 14 16 18 20 22

Time

Hot Chocolate Cooling Scatter Plot

Page 8: An Exercise in Regression.  I borrow thermometers from the science teachers and bring a LARGE container of hot water. Reserve the hot chocolate mix

TRANSFORMATIONS ANYONE?