11.07.2015 Views

Preface to First Edition - lib

Preface to First Edition - lib

Preface to First Edition - lib

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

188 SMOOTHERS AND GENERALISED ADDITIVE MODELSR> men1500m1900 = 1900)R> men1500m_lm plot(time ~ year, data = men1500m1900)R> abline(men1500m_lm)time215 220 225 230 235 240 2451900 1920 1940 1960 1980 2000yearFigure 10.3Scatterplot of year and winning time with fitted values from a simplelinear model.R> predict(men1500m_lm2,+ newdata = data.frame(year = c(2008, 2012)),+ interval = "confidence")fit lwr upr1 214.2709 210.3930 218.14882 214.3314 209.8441 218.8187For predictions far in<strong>to</strong> the future both the quadratic and the linear model fail;we leave readers <strong>to</strong> get some more predictions <strong>to</strong> see what happens. We cancompare the first prediction with the time actually recorded by the winnerof the men’s 1500m in Beijing 2008, Rashid Ramzi from Brunei, who wonthe event in 212.94 seconds. The confidence interval obtained from the simplelinear model does not include this value but the confidence interval for theprediction derived from the quadratic model does.© 2010 by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!