Heat treatment to kill fruit flies on mangoes

predicted proportion,  

Use this diagram to explain that a linear model predicts proportions outside [0, 1] for extreme values of the explanatory variable.

Drag the vertical red line to see the predicted proportion dying at different temperatures. At temperatures over 45.5 degrees, the least squares linear model predicts that more than 100% of the fruit flies will die.

Select Nonlinear model from the pop-up menu and repeat, noting that a nonlinear model is needed to ensure that the predictions are always between 0 and 1.

In an experiment to assess the effectiveness of heat-treatment of mangoes as a method of killing fruit fly eggs and larvae, several infested fruit were heat-treated at temperatures ranging from 39 to 46 degrees Celsius. The numbers of fruit fly eggs surviving at each temperature are shown in the table below.

Temp
Alive Dead
 Total 
39 degrees
41 degrees
43 degrees
44 degrees
45 degrees
46 degrees
117   222  
132   366  
64   526  
30   542  
1   588  
0   607  
339  
498  
590  
572  
589  
607