A large company is analysing how much money it spends on paper in its offices each year. The number of employees in the office, x, and the amount spent on paper in a year, p (hundreds),ineachof12$ randomly selected offices were recorded.
The results are summarised in the following statistics.
∑x=93Sxx=148.25∑p=273∑p2=6602.72∑xp=2347
(a) Show that Sxp=231.25
(1)
(b) Find the product moment correlation coefficient for these data.
(3)
(c) Find the equation of the regression line of p on x in the form p=a+bx
(4)
(d) Give an interpretation of the gradient of your regression line.
(1)
The director of the company wants to reduce the amount spent on paper each year.
He wants each office to aim for a model of the form p=54a+21bx, where a and b are the values found in part (c).
Using the data for the 93 employees from the 12 offices,
(e) estimate the percentage saving in the amount spent on paper each year by the company using the director’s model.
(3)
解答
(a)
解法一
思路
展开
用 Sxp=∑xp−n∑x∑p。
答题过程
展开Sxp===2347−1293(273)2347−2115.75231.25.
(b)
解法一
思路
展开
先求 Spp,再代入相关系数公式。
答题过程
展开Spp==6602.72−122732391.97.
Therefore
r==148.25(391.97)231.250.9593…
So
r=0.959.
(c)
解法一
思路
展开
回归线 p on x 的斜率是 Sxp/Sxx,截距是 pˉ−bxˉ。
答题过程
展开b===SxxSxp148.25231.251.55986…
Also,
a==12273−1.55986…(1293)10.66…
Therefore
p=10.7+1.56x.
(d)
解法一
思路
展开
p 的单位是 hundreds of dollars,所以斜率 1.56 表示每多一名员工,纸张花费平均增加 156 dollars。
答题过程
展开
For each extra employee, the amount spent on paper increases by about 156 dollars per year on average.