Train GraphicClick on the map to explore geographics
 
I need help
FAQ
Emergency
About .
Travel & transport from BBC stories as at 19:15 02 May 2024
* Protesters held as asylum seekers' transfer thwarted
Read about the forum [here].
Register [here] - it's free.
What do I gain from registering? [here]
 18/05/24 - BRTA Westbury
22/05/24 - WWRUG / TransWilts update
02/06/24 - Summer Timetable starts
17/08/24 - Bus to Imber

On this day
2nd May (1859)
Royal Albert Bridge opens

Train RunningCancelled
17:03 London Paddington to Penzance
17:54 Cardiff Central to London Paddington
20:56 Cardiff Central to Bristol Temple Meads
21:59 Cardiff Central to Bristol Temple Meads
22:30 Cardiff Central to Bristol Temple Meads
23:30 Cardiff Central to Bristol Temple Meads
Short Run
16:19 Carmarthen to London Paddington
16:23 Portsmouth Harbour to Cardiff Central
16:23 Swansea to London Paddington
16:35 London Paddington to Plymouth
16:48 London Paddington to Swansea
16:50 Penzance to Cardiff Central
17:11 Taunton to Cardiff Central
17:18 London Paddington to Swansea
17:23 Portsmouth Harbour to Cardiff Central
17:27 Cardiff Central to Portsmouth Harbour
17:59 Cardiff Central to Penzance
18:10 Taunton to Cardiff Central
18:18 London Paddington to Swansea
18:18 Carmarthen to London Paddington
18:23 Swansea to London Paddington
18:24 Portsmouth Harbour to Cardiff Central
18:29 Gatwick Airport to Reading
18:30 Cardiff Central to Portsmouth Harbour
18:48 London Paddington to Swansea
18:59 Cardiff Central to Penzance
19:14 Taunton to Cardiff Central
19:18 London Paddington to Swansea
19:23 Portsmouth Harbour to Cardiff Central
19:30 Cardiff Central to Portsmouth Harbour
19:33 London Paddington to Worcester Shrub Hill
19:48 London Paddington to Swansea
19:56 Cardiff Central to Taunton
20:23 Swansea to London Paddington
20:24 Portsmouth Harbour to Cardiff Central
20:24 Exmouth to Cardiff Central
20:30 Carmarthen to Bristol Parkway
20:30 Cardiff Central to Portsmouth Harbour
20:48 London Paddington to Swansea
21:30 Cardiff Central to Frome
21:45 Penzance to London Paddington
21:48 London Paddington to Swansea
22:49 London Paddington to Swansea
Delayed
15:48 London Paddington to Carmarthen
16:15 Penzance to London Paddington
17:48 London Paddington to Carmarthen
An additional train service has been planned to operate as shown 18:22 Bristol Temple Meads to Portsmouth Harbour
PollsThere are no open or recent polls
Abbreviation pageAcronymns and abbreviations
Stn ComparatorStation Comparator
Rail newsNews Now - live rail news feed
Site Style 1 2 3 4
Next departures • Bristol Temple MeadsBath SpaChippenhamSwindonDidcot ParkwayReadingLondon PaddingtonMelksham
Exeter St DavidsTauntonWestburyTrowbridgeBristol ParkwayCardiff CentralOxfordCheltenham SpaBirmingham New Street
May 02, 2024, 19:34:14 *
Welcome, Guest. Please login or register.

Login with username, password and session length
Forgotten your username or password? - get a reminder
Most recently liked subjects
[260] Vintage film - how valid are these issues today?
[80] Rail unions strike action 2022/2023/2024
[46] Leven, Fife, Scotland, fast forward a month
[42] Train drivers "overwhelmingly white middle aged men"
[34] underground plans for Bristol update.
[34] Visiting the pub on the way home.
 
News: A forum for passengers ... with input from rail professionals welcomed too
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Probability  (Read 3816 times)
TerminalJunkie
Hero Member
*****
Posts: 919



View Profile
« on: October 07, 2008, 22:20:07 »

A little quiz for you:

90% of the trains at a particular station (Melksham, say  Grin) run as timetabled: the other 10% are cancelled.

Some bright spark creates a website (www.ismytraingoingtorun.co.uk), which can tell you whether a train will run or has been cancelled. There is a bug in the program however, which means it can only give you accurate information 90% of the time.

You log onto the website, and it says your train is cancelled. What is the probability that train will turn up?
Logged

Daily Mail and Daily Express readers please click here.
Worcester_Passenger
Transport Scholar
Hero Member
******
Posts: 1724


View Profile
« Reply #1 on: October 07, 2008, 23:03:49 »

A lot depends on why the website gives accurate/inaccurate information.

Let's assume that there's no linkage between the workings of the website and the running of the trains.

The website will give accurate information 90% of the time, which means that it will report the train accurately as running 81% of the time, and accurately as not running 9% of the time.

For the 'other' 10% of the time, it will give inaccurate information, by which I assume "it gets it wrong". So for 90% of the 10% (aka 9% of the whole time) it will report the train inaccurately as not running (when it actually is). For the other 10% of the 10% (aka 1%) it will report the train inaccurately as running when it's not.

Adding this lot together, it'll report the train as not running for 18% of the time - 9% being accurate information and and equal-and-opposite 9% being wrong.

So I think that when the website says the train is not running, it actually does run for 50% of the time.

Logged
TerminalJunkie
Hero Member
*****
Posts: 919



View Profile
« Reply #2 on: October 07, 2008, 23:23:24 »

Quote from: Worcester_Passenger
A lot depends on why the website gives accurate/inaccurate information.

Not in this hypothetical situation! Smiley

Quote from: Worcester_Passenger
So I think that when the website says the train is not running, it actually does run for 50% of the time.

Spot on!
Logged

Daily Mail and Daily Express readers please click here.
Worcester_Passenger
Transport Scholar
Hero Member
******
Posts: 1724


View Profile
« Reply #3 on: October 08, 2008, 02:14:13 »

Quote
There is a bug in the program however, which means it can only give you accurate information 90% of the time.

Suppose that this bug is such that the website is fabulously optimistic - and simply reports that all the trains run all of the time. It'll only be 90% accurate - and it will never report a cancelled train, so the issue doesn't arise!
Logged
grahame
Administrator
Hero Member
*****
Posts: 40851



View Profile WWW Email
« Reply #4 on: October 08, 2008, 06:47:42 »

So I think that when the website says the train is not running, it actually does run for 50% of the time.

Ah yes ...

Looking first at the situation "on the ground" rather than away from the Web, (and picking up the gaunlet of the Melksham example) ... at times that the information point is working, there are occasions that the system reports a train as cancelled and it turns up anyway, and there are times it disappears off the system and it's implied that it has left (or been cancelled) but never the less it appears 15 minutes late!   You won't be surprised to learn that the number of passengers getting on has usually been reduced to around zero by the time it appears as people have phoned for lifts, or made other alternative plans. From Trowbridge (pop 30,000) to Bath, people would just wait 30 minutes for the next service to come along and be happy to see the cancelled one in a few minutes, but from Melksham (pop 24,000) to Swindon, a wait from 07:17 to 19:51 wouldn't be realistic so they would be gone.  So although the train ran, as far as travellers from Melksham were concerned it is as good as cancelled.

I have a lot of sympathy with FGW (First Great Western) and other information providers - they have a tough job knowing at what point to declare a train cancelled. I note that they very rarely - if ever - say "MAY not run", but in practise trains sometimes go into that state ... there's a 25% chance that the brakes can be unlocked, or a 75% chance that we'll find a spare driver when we phone round and offer an extra shift, and in that interim the service, strickly, should show up as a POSSIBLE non-runner.  [[Question - what IS the policy on when a service is stated as being cancelled?]]

Add the web on top of this and you have a whole extra level of issues - on already shaky data, you add things like the need to cache records, rather than going right back through all the stages of the system to the original source every time someone pulls up the enquiry page. And, yes, it would be so easy to take a cancelled record and assume "once cancelled, always cancelled" when in fact re-instated messages do come up from time to time. TerminalJunkie - if you have a particular URL in mind that makes this sort of error, can you please let me know - especially if it's one of mine;  we do have appropriate disclaimers and explanations around, but I attempt to make everything as accurate as possible and to explain shortcomings of which - baring a very expensive and official system - there are bound to be some.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
TerminalJunkie
Hero Member
*****
Posts: 919



View Profile
« Reply #5 on: October 08, 2008, 08:00:47 »

Quote from: grahame
TerminalJunkie - if you have a particular URL in mind that makes this sort of error, can you please let me know

The question I posed is normally put in the form of 'There is a disease that afflicts x% of the population, and a test for the disease is x% accurate', blah blah blah.... It's a nice question for demonstrating the way most people misinterpret statistics and probability (most people will look at the question and answer 90%, a bit like people assuming that using two trains doubles the chance of being late)

I merely reworded it to try to turn it into an on-topic question; there was no intention to slur anyone, and any resemblance to any webmaster, living, dead, or on Facebook, is purely co-incidental.

As it happens, in my first draft there was a notice board at the station that gave that information about cancellations, but I changed it as I thought no-one would have believed it Wink
Logged

Daily Mail and Daily Express readers please click here.
lympstone_commuter
Transport Scholar
Full Member
******
Posts: 83


View Profile
« Reply #6 on: October 08, 2008, 09:31:25 »


Hi,

Thanks for posting the problem.

I think this can be clarified with a contingency table for the fate of all timetabled trains:

                      actually                 actually
                      runs                      cancelled

reported            A                          B
running     

reported            C                          D
cancelled

If A, B, C, D are expressed as percentages then clearly A + B + C + D = 100.

"90% of trains actually run"       =>   A + C = 90
so 10% are actually cancelled   =>   B + D = 10

"90% of reports are correct"     =>   A + D = 90

Plugging all this in, the contingency table must take the form


                      actually                 actually
                      runs                      cancelled

reported            A                          A-80
running     

reported            90-A                     90-A
cancelled


By my reckoning, "A" (the percentage of timetabled trains that are reported running and do actually run) cannot be explicitly determined from the given information, although it must lie somewhere between 80% and 90% since all probabilities must be greater than or equal to 0.

I agree with the conclusion that half of the trains which are reported cancelled do actually run. ( (90-A)% of all timetabled trains are reported cancelled but actually run. Equally (90-A)% of all timetabled trains are reported cancelled and are in fact cancelled.)

I know - I should get out more  Smiley

Logged
grahame
Administrator
Hero Member
*****
Posts: 40851



View Profile WWW Email
« Reply #7 on: October 08, 2008, 10:31:29 »

I merely reworded it to try to turn it into an on-topic question; there was no intention to slur anyone, and any resemblance to any webmaster, living, dead, or on Facebook, is purely co-incidental.

I certainly didn't take it as a slur (though you did get me thinking "how are OUR sites with regard to  false negatives / false positives" which is exactly what any web site developer should do!) - but I am relieved it's not something you've seen on my stuff - which *is* going to have inaccuracies at times due to source inaccurancing and imprecise feeds.
Logged

Coffee Shop Admin, Acting Chair of Melksham Rail User Group, Option 24/7 Melksham Rep
eightf48544
Transport Scholar
Hero Member
******
Posts: 4574


View Profile Email
« Reply #8 on: October 08, 2008, 13:27:05 »

Whilst I find mathematical probability fascinating I think the the real question here is not the accurracy of the information but why are 1 in 10 trains cancelled and not run?

I can only assummed FGW (First Great Western) are trying to run too many trains with too little stock and staff. Now that is another whole batch of statistics to do with productivity and reliability. Accountants expect stock to be available and running 100% of the time. Which in the real world we know is not possible. So the question becomes what percentage of stock will be out of service at anyone time.

When Hull trains had four sets for 3 diagrams they were achieving some of the best miles per failure of any diesel unit but with realtively low utilisation as a whole. When one was dropped and badly damaged they had to use 3 sets every day their failure rate escalated but their utilisation increased.   Bean counters always go for maximum utilisation which more often as not may appear efficient but never gives the best service in practice.

I remember doing calculations of computer specs and disk drives in particular. The manufactures will give you a maximum number of bytes you can read in a second. However if you ever try to achieve that level the response time increases dramatically.

In most systems if you plot utilisation as x axis and result (adverse) on y you get a gently rising line as utilisation increases until at a tipping point it increase sharply. The tipping point is usually between 60% and 75% of theorectical utilisation, depending on the system. Finding that tipping point is the art. In some cases it's mathmatical but in others more empirical methods have to be used.

Empirically I would suggest FGW are over utilising their stock.
« Last Edit: October 08, 2008, 13:47:18 by eightf48544 » Logged
Do you have something you would like to add to this thread, or would you like to raise a new question at the Coffee Shop? Please [register] (it is free) if you have not done so before, or login (at the top of this page) if you already have an account - we would love to read what you have to say!

You can find out more about how this forum works [here] - that will link you to a copy of the forum agreement that you can read before you join, and tell you very much more about how we operate. We are an independent forum, provided and run by customers of Great Western Railway, for customers of Great Western Railway and we welcome railway professionals as members too, in either a personal or official capacity. Views expressed in posts are not necessarily the views of the operators of the forum.

As well as posting messages onto existing threads, and starting new subjects, members can communicate with each other through personal messages if they wish. And once members have made a certain number of posts, they will automatically be admitted to the "frequent posters club", where subjects not-for-public-domain are discussed; anything from the occasional rant to meetups we may be having ...

 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
This forum is provided by customers of Great Western Railway (formerly First Great Western), and the views expressed are those of the individual posters concerned. Visit www.gwr.com for the official Great Western Railway website. Please contact the administrators of this site if you feel that the content provided by one of our posters contravenes our posting rules (email link to report). Forum hosted by Well House Consultants

Jump to top of pageJump to Forum Home Page