Each of these analyses the difference in the departures of the 31 at each of
the stops on Tuesday April 1st between 11am and 4pm. The correlation is the
correlation between the headway and the time of day as we can see there is not
much of a correlation suggesting that headway does not increase or decrease over
time during that period.
The times are all in seconds, so we are aiming for a headway of 600 seconds. A
maximum of 900 as that represents 15 minutes.
Slightly worrying is the number of departures for Lasswade Road being one fewer
than Park Road and two fewer than Cameron Toll. We expect slight
discrepancies at either end, a bus departing too early to count for Cameron Toll
or too late to count for Lasswade Road. I will look into this and check which
journeys have been recorded at each stop.
The 31
Tue Apr 1 : 36234754 (North Bridge)
- number departures : 24
- minimum : 207.46854376792908
- maximum : 848.7120399475098
- Average duration : 585.4311003088951
- Variance : 19931.4246471685
- Standard deviation: 141.17869756860807
- correlation: 0.09637738834486435
Tue Apr 1 : 36234845 (Cameron Toll)
- number departures : 25
- minimum : 239.49666500091553
- maximum : 879.1162419319153
- Average duration : 574.0658262634278
- Variance : 33040.05873288415
- Standard deviation: 181.76924583901467
- correlation: -0.10461831771561185
Tue Apr 1 : 36237956 (Lasswade Road)
- number departures : 23
- minimum : 179.62679195404053
- maximum : 1186.0140595436096
- Average duration : 600.3905975507653
- Variance : 49152.24385475825
- Standard deviation: 221.70305332754947
- correlation: 0.11934451765444025
Tue Apr 1 : 64323292 (Park Road)
- number departures : 24
- minimum : 34.67558979988098
- maximum : 1152.2827401161194
- Average duration : 576.786577651898
- Variance : 82709.5202319575
- Standard deviation: 287.5926289597101
- correlation: -0.06801387308530436
The 100
Thu Apr 3 : 36235756:Edinburgh Zoo due west
- number departures : 25
- minimum : 0.0
- maximum : 1087.2914972305298
- Average duration : 516.9246547412872
- Variance : 83842.34926300723
- Standard deviation: 289.5554338343648
- correlation: 0.09125120582692829
Thu Apr 3 : 36235764:Drum Brae due west
- number departures : 25
- minimum : 45.24872660636902
- maximum : 1022.1649692058563
- Average duration : 501.1202216720581
- Variance : 77858.45424822453
- Standard deviation: 279.0312782614604
- correlation: 0.03589995504741812
Thu Apr 3 : 36237927:Maybury due west
- number departures : 26
- minimum : 80.68078112602234
- maximum : 1253.0468916893005
- Average duration : 545.237048470057
- Variance : 96418.38099176493
- Standard deviation: 310.51309310843067
- correlation: -0.2746673523593809
Thu Apr 3 : 36236596:Maybury due east
- number departures : 24
- minimum : 81.54835391044617
- maximum : 770.9706056118011
- Average duration : 578.7670838832855
- Variance : 15188.01508983558
- Standard deviation: 123.23966524555145
- correlation: -0.26094427380717067
Thu Apr 3 : 36243478:Drum Brae due east
- number departures : 24
- minimum : 393.0418920516968
- maximum : 735.9236869812012
- Average duration : 597.5760160485903
- Variance : 8433.656289073037
- Standard deviation: 91.83494045880923
- correlation: -0.10776892608622075
Thu Apr 3 : 36236583:Traquair Park East due east
- number departures : 24
- minimum : 245.07159304618835
- maximum : 930.0477864742279
- Average duration : 580.4495133757591
- Variance : 37745.83101949342
- Standard deviation: 194.28286342210785
- correlation: -0.18601113936232697
Thu Apr 3 : 36232652:Murrayfield due east
- number departures : 25
- minimum : 41.111146211624146
- maximum : 1068.3218376636505
- Average duration : 567.0844987201691
- Variance : 65335.301461105795
- Standard deviation: 255.60771009714435
- correlation: -0.18362111326458996
Thu Apr 3 : 36232654:Wester Coates due east
- number departures : 24
- minimum : 38.794480323791504
- maximum : 1101.6227159500122
- Average duration : 583.9742697079977
- Variance : 60697.82297706339
- Standard deviation: 246.36928172372342
- correlation: -0.07475320962559061
Thu Apr 3 : 36232657:Haymarket Station due east
- number departures : 24
- minimum : 38.48316216468811
- maximum : 1221.2713961601257
- Average duration : 582.273071795702
- Variance : 73203.80877478598
- Standard deviation: 270.5620238961595
- correlation: -0.10551359472955656