x y x^2 xy
1 1 1 1
2 1 4 2
3 2 9 6
4 2 16 8
5 4 25 20
Sum 15 10 55 37
(i)
b=n∑i=1nxi2−(∑i=1nxi)2n∑i=1nxiyi−∑i=1nxi∑i=1nyi=5∗55−1525∗37−15∗10=0.7
a=n∑i=1nyi−b∑i=1nxi=510−0.7∗15=−0.1
The least square line: y=a+bx=−0.1+0.7x
(ii)
When Advertising increases by $100, the Sales increases by $700.
Comments
Dear ADEKUNLE, You are welcome. We are glad to be helpful. If you liked our service, please press a like-button beside the answer field. Thank you!
You will always be the best