The heights above sea level (h hundred metres) and the temperatures (t∘C) at 12 randomly selected places in France, at 7 am on July 31st, were recorded.
The data are summarised as follows
∑h=112∑t=136∑t2=1828Sht=−236Shh=297
(a) Find the value of Stt
(2)
(b) Calculate the product moment correlation coefficient for these data.
(2)
(c) Interpret the relationship between t and h.
(1)
(d) Find an equation of the regression line of t on h.
(3)
At 7 am on July 31st Yinka is on holiday in South Africa. He uses the regression equation to estimate the temperature when the height above sea level is 500 m.
(e) Find the estimated temperature Yinka calculates.
(2)
(f) Comment on the validity of your answer in part (e).
(1)
解答
解法一
思路
展开
先求 Stt,再求相关系数和回归线。注意 h 的单位是 hundred metres,所以 500 m 对应 h=5。
答题过程
展开Stt=∑t2−n(∑t)2=1828−121362=286.667….
So
Stt=287to 3 significant figures.
The product moment correlation coefficient is
r===ShhSttSht297(286.667…)−236−0.809….
Thus
r=−0.809.
This shows strong negative correlation: as height above sea level increases, temperature tends to decrease.
For the regression line of t on h,
b=ShhSht=297−236=−0.7946….
Also,
hˉ=12112=9.333…,tˉ=12136=11.333….
So
a=tˉ−bhˉ=11.333…−(−0.7946…)(9.333…)=18.75….
The regression line is
t=18.8−0.795h.
For 500 m above sea level,
h=5.
So
t=18.75…−0.7946…(5)=14.78….
The estimated temperature is approximately
14.8∘C.
This estimate is not very valid, because the regression line is based on places in France, but Yinka is in South Africa.