题目
Problem
Jeremiah is investigating the relationship between the annual heating bill, h dollars, and the total floor area, f square metres, of buildings.
A random sample of 8 buildings is taken and the data for each building are coded using
x=80f−3500andy=80h−4500
The results for the coded data are summarised below
∑x=5∑y=0∑xy=1818Sxx=1754
(a) Calculate Sxy
(1)
(b) Find the equation of the regression line of h on f in the form h=a+bf
(6)
(c) Give an interpretation of (i) the value of b in your regression line, (ii) the value of a in your regression line.
(2)
(d) Estimate the annual heating bill for a building with a total floor area of 4600 square metres.
(2)
解答
(a)
解法一
思路
展开
因为 ∑y=0,所以 Sxy=∑xy−n∑x∑y 会直接等于 ∑xy。
答题过程
展开
Sxy=∑xy−n∑x∑y=1818−85(0)=1818.
(b)
解法一
思路
展开
先求 coded regression line y=c+bx,再把 x=80f−3500、y=80h−4500 代回去。
答题过程
展开
For the regression line of y on x,
b=SxxSxy=17541818=1.03649….
Also,
xˉ=85,yˉ=0.
So
c=yˉ−bxˉ=0−(1.03649…)85=−0.6478….
Thus
y=−0.6478…+1.03649…x.
Substitute
y=80h−4500,x=80f−3500.
Then
80h−4500=−0.6478…+1.03649…(80f−3500).
Multiplying by 80,
h−4500=−51.82…+1.03649…(f−3500).
Therefore
h=820.46…+1.03649…f.
So the regression line is
h=820+1.04f.
(c)
解法一
思路
展开
斜率表示 floor area 每增加 1m2,heating bill 平均增加多少。截距表示 floor area 为 0 时模型给出的基本费用。
答题过程
展开
The value of b means that for each extra 1m2 of floor area, the annual heating bill increases by about \1.04$.
The value of a means that the model predicts a base annual heating bill of about \820whenthefloorareais0m^2$.
(d)
解法一
思路
展开
把 f=4600 代入回归线即可。
答题过程
展开
Using
h=820.46…+1.03649…f,
when f=4600,
h=820.46…+1.03649…(4600)=5588.31….
So the estimated annual heating bill is approximately
$5590.