Finding the best rule


Let's use the prediction rule where m = 1.0 and to estimate the weight for the player with height = 70 in.

So his predicted weight is

    Y' = 1 x 70 + 102 = 172.

(Note from the table that his actual weight is 170. Our prediction rule is working rather well.)

The predicted weights for all 17 of the heights are given in the table below. Look at the graph and make sure that you find the corresponding values to what is here in the table.

    Table 2
Height, WeightPredicted
X YWeight, Y'
61140163
64141166
64144166
66158168
67156169
67174169
68160170
68164170
68170170
69172171
70170172
71175173
72170174
72174174
73176175
74180176
75192177
Median: 68170
Mean: 170.76

slope = 1     int = = 102     equation is Y'= 1.0 * X + 102

How do you think the fit of this line to the data looks? Look at the corresponding graph as well.

Let's see what the predicted weights are for another slope.

Let's use the prediction rule where m = 2.0 to estimate the weight for the player with height = 70 in.

So his predicted weight is

    Y' = 2 x 70 + 34 = 174.

(Note from the table that his actual weight is 170.)

The predicted weights for all 17 of the heights are given in the table below. Look at the graph and make sure that you find the corresponding values to what is here in the table.

    Table 3
Height, WeightPredicted
X YWeight, Y'
61140156
64141162
64144162
66158166
67156168
67174168
68160170
68164170
68170170
69172172
70170174
71175176
72170178
72174178
73176180
74180182
75192184
Median: 68170
Mean: 171.53

slope = 2     int = = 34     equation is Y'= 2.0 * X + 34

How do you think the fit of this line with slope=2 to the data looks? Look at the corresponding graph as well.


Exercises:

For each slope given below, use the football player spreadsheet to find the corresponding predicted values for players' weights.

Use m = -1; m = 0; m = +1.0; m= +2.0; m= +3.0; m= +3.5; m=+4.0

For these slopes, which do you think give the best prediction rule ?


Crickets, anyone

Use the cricket spreadsheet you created in the previous section for the following.

Based on the slope you selected in the previous section, choose at least 5 more slopes and find the equation of each line for the slopes you chose. Also, find the corresponding values for the predicted temperatures based on these equations.

Which slope and equation do you think gives the best prediction rule?


Continue to the next section: Mean Prediction Error.