In: Statistics and Probability
{Exercise 16.33} The following exercises require the use of a computer and
software. Dataset:
Fire damage in the United States amounts to billions of dollars, much of it insured. The time taken to arrive at the fire is critical. This raises the question, Should insurance companies lower premiums if the home to be insured is close to a fire station? To help make a decision, a study was undertaken wherein a number of fires were investigated. The distance to the nearest fire station (in kilometers) and the percentage of fire damage were recorded. a) Test to determine whether there is evidence of a linear relationship between distance to the nearest fire station and percentage of damage. Select one of the following: 1) There is evidence of a linear relationship between distance and fire damage 2) There is not enough evidence of a linear relationship between distance and fire damageItem 1 b) Estimate the slope coefficient
with 95% confidence (to 3 decimals). c) Determine the coefficient of
determination (to 4 decimals). d) What does this statistic tell you about the
relationship? 1) There is a weak linear relationship between distance and fire damage 2) There is a moderately strong linear relationship between distance and fire damage 3) There is a very strong linear relationship between distance and fire damage 4) There is no linear relationship between distance and fire damage |
a) Correlation coefficient:
r= 0.707362
Hypothesis test to find evidence:
and
DF= N-2= 83
Test statistic:
P-value:0.000
The test statistic is significant and there is enough evidence to conclude that there is a relationship between two variables.
b) To calculate SLo
Percent= 23.11+5.347*Distance
To calculate the standard error for the slope:
95% confidence interval:
df=N-2=83
t critical: 1.9889598
CI: (5.347 - 1.9889598* 0.586, 5.347 + 1.9889598* 0.586)
CI: (4.180, 6.513)
C) Coefficient of determination:
d) r= 0.70362
It simply says, there is a moderatly strong relationship between two variables.