Question

In: Math

An emergency service wishes to see whether a relationship exists between the outside temperature and the...

An emergency service wishes to see whether a relationship exists between the outside temperature and the number of emergency calls it receives for a 7-hour period. The data are shown. Emergency Calls and Temperatures Temperature x 68 74 82 88 93 99 101 No. of calls y 7 4 8 10 11 9 13

a. Describe the linear relationship between the temperature and the number of calls.

b. Calculate the correlation coefficient, r.

c. Is r statistically significant at the 0.05 level. Explain.

d. Determine the equation of the line of best fit.

e. Calculate and interpret the coefficient of determination, 2 r .

f. Predict the number of calls when the temperature is 80degrees.

g. Predict the temperature outside when the number of calls is 6.

h. Predict the number of calls when the temperature is 59 degrees

Solutions

Expert Solution

Data as below

Temperature (x) No. of calls (y)
68 7
74 4
82 8
88 10
93 11
99 9
101 13

1. Linear relationship between variables

The equation has the form Y=a+bX, where Y is the dependent variable (that’s the variable that goes on the Y axis), X is the independent variable (i.e. it is plotted on the X axis), b is the slope of the line and a is the y-intercept

From the table we can calculate

Temperature (x) No. of calls (y) xy x^2 y^2
68 7 476 4624 49
74 4 296 5476 16
82 8 656 6724 64
88 10 880 7744 100
93 11 1023 8649 121
99 9 891 9801 81
101 13 1313 10201 169
605 62 5535 53219 600

We can say that

Σx 605
Σy 62
Σxy 5535
Σx^2 53219
Σy^2 600

using the formula as below to calculate a and b

In our case n = 7 (sample size)

a = [(62)(53219) - (605)(5535)] / [(7)(53219) - (605)^2]

Σy * Σx^2 3299578
Σx * Σxy 3348675
n* Σx^2 372533
Σx ^ 2 366025
a -7.5

b = [(7)(5535) - (605)(62)] / [(7)(53219) - (605)^2]

n* Σxy 38745
Σx * Σy 37510
n* Σx^2 372533
Σx ^ 2 366025
b 0.19

Hence the regression equation is

y = a + b x

y = -7.5 + 0.19 x

Hence we can say that

No. of calls = -7.5 + 0.19 Temperature

2. To calculate r

Formula is

Putting the values in the formula

n* Σxy 38745
Σx * Σy 37510
n* Σx^2 372533
Σx ^ 2 366025
n*Σy^2 4200
Σy ^2 3844
r 0.811357
R^2 65.8%

Calculating ANOVA Table

Using below formula for ANOVA table

Source of Variation DF SS MS F
Regression 1 SSR=∑ni=1(y^i−y¯)2 MSR=SSR/1 F∗=MSR/MSE
Residual error n-2 SSE=∑ni=1(yi−y^i)2 MSE=SSE/n−2
Total n-1 SSTO=∑ni=1(yi−y¯)2

Looking for p-value using F value

Analysis of Variance

Source DF SS MS F P
Regression 1 33.4802 33.4802 9.63 0.027
Error 5 17.3769 3.4754
Total 6 50.8571

P-value = 0.027

Since P value is less than the level of significance (0.05)

A low p-value (< 0.05) indicates that, a predictor that has a low p-value is likely to be a meaningful addition to your model because changes in the predictor's value are related to changes in the response variable. Conversely, a larger (insignificant) p-value suggests that changes in the predictor are not associated with changes in the response

Hence we can say that the regression model is significant


Related Solutions

An emergency service wishes to see whether a relationship exists between the outside temperature and the...
An emergency service wishes to see whether a relationship exists between the outside temperature and the number of emergency calls it receives for a 7-hour period. The data are shown. Temperature x :68 74 82 88 93 99 101 No. of calls y : 7 4 8 10 11 9 13 a) Draw the scatter plot for the variables. b) Compute and explain the correlation coefficient in terms of the question provided. c) Test the significance of the correlation coefficient...
An emergency service wishes to see whether there a relationship exists between the outside temperature and...
An emergency service wishes to see whether there a relationship exists between the outside temperature and the number of emergency calls it receives. The data is shown below. Temperature x | 68 74 82 88 93 99 101 Number of calls | 5 5 7 8 11 12 13
An emergency service wishes to determine whether a relationship exists between the outside temperature and the...
An emergency service wishes to determine whether a relationship exists between the outside temperature and the number of emergency calls it receives for a 7-hour period. The data are shown. (25 points) Temperature x 25 10 27 30 33 No. of calls y 7 4 8 10 11 a) Find the correlation coefficient r (If you use any software or online calculator, please take the screenshot. You will get extra points if you do by hand.) b) Find the regression...
The city of Oakdale wishes to see if there is a linear relationship between the temperature...
The city of Oakdale wishes to see if there is a linear relationship between the temperature and the amount of electricity used (in kilowatts).   Using that data, find the estimated regression equation which can be used to estimate Kilowatts when using Temperature as the predictor variable. Temperature (x) Kilowatts (y) 73 680 78 760 85 910 98 1510 93 1170 83 888 92 923 81 837 76 600 105 1800 A. Kilowatts = -2003.896 + 34.858(Temperature) B. Kilowatts = 371.223...
Suppose that an arborist wishes to see if there is a relationship between the heights of...
Suppose that an arborist wishes to see if there is a relationship between the heights of baobabs in Madagascar forests and their diameters. He selects 10 baobabs at random from the forest and measures their heights and diameters. To ensure consistent measurements, he records the diameters around the tree from a height of 1.4 metres above the ground. Determine the equation of the linear regression line. Determine the equation of the linear regression line. Test for association using the Spearman...
The manager of a telemarketing call centre wishes to determine whether an association exists between the...
The manager of a telemarketing call centre wishes to determine whether an association exists between the communicating time of its employees and the level of stress-related problems observed on the job. A study of 100 employees reveals the following: stress stress stress Commuting time (High) (Moderate) (low) 20 mins and under 15 12 33 over 20 mins 25 8 7 At the 5% level of significance, is there evidence of a significant relationship between commuting time and stress?
A study of emergency service facilities investigated the relationship between the number of facilities and the...
A study of emergency service facilities investigated the relationship between the number of facilities and the average distance traveled to provide the emergency service. The following table gives the data collected. Number of Facilities Average Distance (miles) 5 1.57 11 .75 13 .50 18 .35 24 .30 26 .35 Does a simple linear regression model appear to be appropriate? Explain. - No, or Yes; the relationship appears to be - curvilinear or linear c. Develop an estimated regression equation for...
To evaluate whether a relationship exists between the number of times a customer visited a store...
To evaluate whether a relationship exists between the number of times a customer visited a store in the past 6 months and the total amount of money the customer spent, we need to generate a scatter plot and correlation coefficient. True or False
A researcher wishes to determine whether there is a relationship between the Campus at which SACAP...
A researcher wishes to determine whether there is a relationship between the Campus at which SACAP students are based and their statistics anxiety level. The results of the subsequent survey are given in the following table: Statistics anxiety level Campus Low Medium High Total Online 13 30 67 Cape Town 58 70 22 Johannesburg 26 34 30 Total Perform an appropriate hypothesis test at α = 0.01. If a significant result is obtained, determine the strength of the relationship. Show...
A researcher wishes to determine whether there is a significant relationship between the gender of psychology...
A researcher wishes to determine whether there is a significant relationship between the gender of psychology students and the refreshment drink they prefer. The results obtained from a survey of students are presented in the following table: Preferred Drink Gender Water Coffee Soda Total Male 46 29 40 115 Female 29 36 70 135 Total 75 65 110 250. Perform an appropriate two-tailed hypothesis test at α = 0.05. If a significant result is obtained, determine the strength of the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT