题目
Problem
Two students, Olive and Shan, collect data on the weight, w grams, and the tail length, t cm, of 15 mice.
Olive summarised the data as follows
Stt=5.3173∑w2=6089.12∑tw=2304.53
∑w=297.8∑t=114.8
(a) Calculate the value of Stw and the value of Sww
(3)
(b) Calculate the value of the product moment correlation coefficient between w and t
(2)
(c) Show that the equation of the regression line of w on t can be written as
w=−16.7+4.77t
(3)
(d) Give an interpretation of the gradient of the regression line.
(1)
(e) Explain why it would not be appropriate to use the regression line in part (c) to estimate the weight of a mouse with a tail length of 2 cm.
(2)
Shan decided to code the data using x=t−6 and y=2w−5
(f) Write down the value of the product moment correlation coefficient between x and y
(1)
(g) Write down an equation of the regression line of y on x
You do not need to simplify your equation.
(1)
题目中文翻译
两名学生 Olive 和 Shan 收集了 15 只小鼠的体重 w 克与尾长 t cm 的数据。Olive 得到题目所列的汇总统计量。
(a) 计算 Stw 和 Sww 的值。
(b) 计算 w 与 t 之间的积矩相关系数。
(c) 证明 w 对 t 的回归直线方程可写为 w=−16.7+4.77t。
(d) 解释回归直线斜率的意义。
(e) 说明为什么不适合使用 (c) 中的回归直线估计尾长为 2 cm 的小鼠体重。
Shan 决定使用 x=t−6 和 y=2w−5 对数据编码。
(f) 写出 x 与 y 之间积矩相关系数的值。
(g) 写出 y 对 x 的回归直线方程,无须化简。
解答
(a)
解法一
思路
展开
直接用
Stw=∑tw−n∑t∑w,Sww=∑w2−n(∑w)2.
答题过程
展开
Stw==2304.53−15114.8(297.8)25.367…
So
Stw=25.4
to 3 significant figures.
Also,
Sww==6089.12−15297.82176.797…
So
Sww=177.
(b)
解法一
思路
展开
把 Stw、Stt、Sww 代入 PMCC 公式。
答题过程
展开
r===SttSwwStw5.3173(176.797…)25.367…0.82735…
Therefore
r=0.827
to 3 significant figures.
(c)
解法一
思路
展开
回归线 w on t 的斜率是 SttStw。截距用 wˉ−btˉ。
答题过程
展开
The gradient is
b===SttStw5.317325.367…4.77065…
The intercept is
a===wˉ−btˉ15297.8−4.77065…(15114.8)−16.658…
Therefore the regression line is
w=−16.7+4.77t.
(d)
解法一
思路
展开
斜率要在题目语境中解释:tail length 每增加 1 cm,weight 平均怎样变化。
答题过程
展开
For each increase of 1 cm in tail length, the weight of a mouse increases by about 4.77 grams on average.
(e)
解法一
思路
展开
把 t=2 代入会得到负体重,这在实际语境中不可能,所以这个估计不合适。
答题过程
展开
Using t=2,
w==−16.7+4.77(2)−7.16.
This gives a negative weight, which is impossible for a mouse.
Therefore it is not appropriate to use the regression line for a tail length of 2 cm.
解法二
思路
展开
由 Stt 求尾长的标准差,再比较 2 cm 与平均尾长相差多少个标准差。这提供了另一种判断依据。
答题过程
展开
The mean and standard deviation of the tail lengths are
tˉ=σt=15114.8=7.653…,155.3173=0.595…
Therefore 2 cm is more than 9 standard deviations below the mean. It is an extreme extrapolation, so the regression estimate is not appropriate.
(f)
解法一
思路
展开
正的线性编码不会改变相关系数。这里 x=t−6,y=2w−5,两个变量都没有被负数倍缩放。
答题过程
展开
The product moment correlation coefficient is unchanged by positive linear coding.
Therefore
r=0.827.
(g)
解法一
思路
展开
用 t=x+6,且 w=2(y+5),把这些代入原回归线即可。
答题过程
展开
Since
t=x+6,w=2(y+5),
substitute into
w=−16.7+4.77t.
This gives
2(y+5)=−16.7+4.77(x+6).