E N D
Highland Games Race at Dufftown - the whisky capital of Scotland. Fantastic atmosphere with piped bands and caber tossing. The route is an out and back to Ben Rinnes, the dominant hill of the region, passing the rounded summits of Little Conval and Meikle Conval on the outward and return journeys. The most straightforward and runnable of the long Scottish hill races. Good terrain and easy route-finding most of the way. The only rough heathery section is between Meikle Conval and the road crossing. The race starts and finishes with a lap of the grassy sports track, which thankfully is much shorter than the track for Ben Nevis.
library(MASS) hills summary(hills) Knockfarrel 6.0 600 32.383 Two Breweries 18.0 5200 170.250 Cockleroi 4.5 850 28.100 Moffat Chase 20.0 5000 159.833 > summary(hills) dist climb time Min. : 2.000 Min. : 300 Min. : 15.95 1st Qu.: 4.500 1st Qu.: 725 1st Qu.: 28.00 Median : 6.000 Median :1000 Median : 39.75 Mean : 7.529 Mean :1815 Mean : 57.88 3rd Qu.: 8.000 3rd Qu.:2200 3rd Qu.: 68.62 Max. :28.000 Max. :7500 Max. :204.62
attach(hills) plot(dist,time) abline(lm(time~dist)) identify(dist,time,row.names(hills),6)
hills.lm<-lm(time~dist+climb,data=hills) summary(hills.lm) par(mfrow=c(1,2)) plot(hills.lm$fit,studres(hills.lm)) abline(h=0,lty=2) #identify(hills.lm$res,studres(hills.lm),n=2) qqnorm(studres) qqline(studres)
hills.hat<-lm.influence(hills.lm) plot(hatvalues(hills.lm)) abline(h=3/35,lty=2) title("Influence h_i")
hatvalues(hills.lm)[hatvalues(hills.lm)>3/35] Bens of Jura Lairig Ghru Ben Nevis Two Breweries Moffat Chase 0.4204346 0.6898161 0.1215821 0.1715848 0.1909891