Introduction to regression
Introduction to regression
Introduction to regression
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
test<br />
yourself<br />
ourself<br />
CHAPTER<br />
3<br />
144 Further Mathematics<br />
4 A mining company wishes <strong>to</strong> predict its gold production output. It collected the following<br />
data over a 9-month period.<br />
Month (1 = January) Jan. Feb. Mar. Apr. May June July Aug. Sept.<br />
Production (<strong>to</strong>nnes) 3 8 10.8 12 11.6 14 15.5 15 18.1<br />
a Plot the data and fit a line, by eye, using the ‘equal number of points’ method<br />
b State the equation of this line.<br />
c Compute the predicted values, then residuals. Square the residuals and add them up.<br />
d Fit a straight line <strong>to</strong> the original data using the 3-median method, stating the equation of<br />
this line.<br />
e Again, compute predicted values, and the residuals and square them.<br />
f Now, use least-squares <strong>regression</strong> <strong>to</strong> find another equation for this line.<br />
g Using the line from part f, predict the production after 12 months.<br />
h Comment on the accuracy, usefulness and simplicity of the methods.<br />
5 Let us pursue further the data from question 4.<br />
a Looking at the original data set, discuss whether linearity is a reasonable assertion.<br />
b Research in<strong>to</strong> gold mines has indicated that after about 10 months, production tends not<br />
<strong>to</strong> increase as rapidly as in earlier months. Given this information, a logarithmic<br />
transformation is suggested. Transform the original data using this method.<br />
c Fit a straight line <strong>to</strong> this transformed data using least-squares <strong>regression</strong>.<br />
d Discuss whether or not this transformation has removed any non-linearity.<br />
e Compare the prediction from question 4g with the one obtained using the logarithmic<br />
transformation.