The Student Room Group

S1 regression question! HELP URGENT my exam is tomorrow

3. A long distance lorry driver recorded the distance travelled, m miles, and the amount of fuel used, f litres, each day. Summarised below are data from the driver’s records for a random sample of 8 days.

The data are coded such that x = m 250 and y = f 100.

x=130 y=48 xy=8880 Sxx =20487.5

(a) Find the equation of the regression line of y on x in the form y = a + bx. (6 marks)
(b) Hence find the equation of the regression line of f on m. (3 marks)
Reply 1
First you would need to work out the Sxy using the formulas in the formula book
Then you find b
Then find a from the formula a = mean of y - b x mean of x
then hey presto you can find the regression line of the y = a + bx

for the second part you substitute in the coded values ie. where x is, you replace with m - 250 and with y you replace with f - 100

Quick Reply

Latest