Professional Documents
Culture Documents
BA 1502 HW9 Answers
BA 1502 HW9 Answers
HW9 Answers
Using the data provided on METUClass website for this homework, regress electricity consumption on
the temperature and answer the following questions:
Regresyon İstatistikleri
Çoklu R 0.875351773
R Kare 0.766240726
Ayarlı R Kare 0.755615305
Standart Hata 84.95082615
Gözlem 24
ANOVA
df SS MS F Anlamlılık F
Regresyon 1 520420.357 520420.4 72.11391 2.16123E-08
Fark 22 158766.143 7216.643
Toplam 23 679186.5
̂ = 856.6415 – 17.4X
Y
a. What is the value of b0? Explain what b0 means in the context of this example.
b0= 856.6415. The estimated average electricity consumption when temperature is zero.
b. What is the value of b1? Explain what b1 means in the context of this example.
b1= -17.4. When temperature increases by one degree the average electricity consumption
declines by 17.4 kWhs
3) Test the following. Write down hypotheses, test statistics and p-values. State your conclusions.
a. B0 = 0
H0: 0=0
b. B1 = 0
H0: 1 = 0
Since p-value is less then =0.05 we reject the null hypothesis. We have evidence that temperature has
a statistically meaningful relationship with electricity consumption.
4) Test the overall significance using ANOVA F-test. What are the hypotheses, F test statistic, and
p-value? What do you conclude? Does this differ from part b of question 2?
H0: 0=1=0
Since p-value is less than =0.05 we reject the null hypothesis. We have evidence that the overall model
is significant. This test is identical to the t test for 1 = 0. Infact F = t2 and p-values are the same. In
simple regression since we have only one variable (only one slope) testing te significance of that single
slope is the same as testing the overall significance of the model.
R2 = 0.7662. About 76.62% of the variation in electricity consumption can be explained by changes in
daily temperature.
SEE = 84.95. Since the SEE value is small relative to the average (651.75) of the dependent variable, we
can say that precision of our model is high.
7) Report the 95% confidence interval for the slope. Explain what it means.
(-21.64, -13.14). WE are 95% confident that as temperature increases by one degree, the average
electricity consumption will decline between 21.64 and 13.14 kWhs.