STEPS FOR CONDUCTING A SIMPLE LINEAR REGRESSION

1. Hypothesize a linear model

 

2. Obtain the least squares estimates of slope and intercept

 

3. Check the model assumptions;

  • linearity
  • constant variance
  • normally distributed error terms
  • independence of error terms

4. Check the usefulness of the model;

  • test & confidence intervals on slope
  • coefficient of correlation
  • coefficient of determination

5. Use the model for estimation & prediction

ACTIVITY

Suppose a fire insurance company wants to relate the amount of fire damage in major residentail fires to the distance between the burning house and the nearest fire station. The study is to be conducted in a large suburb of a major city; a sample of 15 recent fires in this suburb is selected. The amount of damage, y, and the distance between the fire and the nearest fire station, x, are recorded for each fire. The results are given in the following table.

Distance from Fire Station x

(miles)

Fire Damage y

(thousands of dollars)

3.4
26.2
1.8
17.8
4.6
31.3
2.3
23.1
3.1
27.5
5.5
36.0
0.7
14.1
3.0
22.3
2.6
19.6
4.3
31.3
2.1
24.0
1.1
17.3
6.1
43.2
4.8
36.4
3.8
26.1

 

Use the following steps and Statlets window given above, to carry out a simple linear regression anlaysis on this data