Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Probality question

  • 14-05-2004 7:59pm
    #1
    Closed Accounts Posts: 958 ✭✭✭


    On an unbiased die, the numbers 1, 3 and 4 are coloured red and the numbers 2, 5 and 6 are coloured black,

    The die is thrown three times with the following outcome:
    The second throw shows a red number and the sum of the numbers on the first and second throws is equal to the number on the third throw.

    Find the probality of this outcome.

    The answer is 10 over 216 (allegedly) which I've failed to get for several hours now. Halp meh.


Comments

  • Registered Users, Registered Users 2 Posts: 1,372 ✭✭✭silverside


    there are 3 independent rolls, each of which can take values from 1 to 6. So the sample space consists of all ordered triplets from (1,1,1) to (6,6,6) which contains 6*6*6 or 216 equally likely events.

    If you work out the ones that match your description, the only possible ones are
    1,1,2
    1,3,4
    1,4,5
    2,1,3
    2,3,5
    2,4,6
    3,1,4
    3,3,6
    4,1,5
    5,1,6

    (Noting that a roll above 6 on the 3rd die is impossible)

    so there are 10 events which make up the outcome.

    Since there are 216 equally likely events in the sample space, and the probality of the sample space is 1, each event has probability 1/216. The probability of the outcome is the sum of the probability of individual events which make it up, or 10*1/216, = 10/216.

    I know this is a bit wordy but you get the idea.


  • Closed Accounts Posts: 958 ✭✭✭Mark


    Thank you.


  • Registered Users, Registered Users 2 Posts: 5,523 ✭✭✭ApeXaviour


    This problem has been giving me a lot of trouble... If you can help me out I'd appreciate it.


    The probability that a certain flight departs on time is 0.8. The probability that it arrives on time is 0.9. Also, the probability that it both departs and arrives on time is 0.78. Find the probability that the flight:

    (i) arrives on time given that it departed on time.

    (ii) does not arrive on time given that it did not depart on time.



    Cheers


  • Registered Users, Registered Users 2 Posts: 2,648 ✭✭✭smiles


    P(A|B) is the probability that A occurs given that B occurs.

    P(A|B) = P(B|A)P(A) / P(B)

    P(A intersection B) = P(A)P(B|A) = P(B)P(A|B)

    P(A|B) = P(A intersection B) / P(B)


    Ok, so lets say:
    A = departs on time
    B = arrives on time.
    ¬A = doesn't depart on time
    ¬B = doesnt arrive on time.

    P(¬A) = 1 - P(A)
    P(¬B) = 1 - P(B)

    We know that:
    P(A) = 0.8
    P(B) = 0.9
    P(A intersection B) = 0.78

    so
    P(¬A) = 1 - 0.8 = 0.2 [ P(¬A) = 1 - P(A) ]
    P(¬B) = 1 - 0.9 = 0.1 [ P(¬B) = 1 - P(B) ]

    P(B|A) = 0.78 / 0.8 = 0.975 [ P(B|A) = P(A intersection B) / P(A) ]
    P(A|B) = 0.78 / 0.9 = 0.86666... [ P(A|B) = P(A intersection B) / P(B) ]

    Also note that:
    P(A|B) + P(A|¬B) = P(A)
    P(B|A) + P(B|¬A) = P(B)

    Think about it in terms of Venn diagrams if you want, P(A|B) is one part of A... and so P(A|¬B) is the rest of it... add them together and you get the whole thing!

    and
    P(A|B) + P(¬A|B) = 1
    P(B|A) + P(¬B|A) = 1

    (basically the same as P(C) + P(¬C) = 1 - do the venn diagram thinking again!)
    (i) arrives on time given that it departed on time.
    so that is P(B|A) = 0.975 from above
    (ii) does not arrive on time given that it did not depart on time.
    so that is P(¬B|¬A)

    P(¬B|A) = 1 - P(B|A) = 1 - 0.975 = 0.025

    since P(B|A) + P(B|¬A) = P(B) then:
    P(¬B|¬A) + P(¬B|¬¬A) = P(¬B)

    ie. P(¬B|¬A) + P(¬B|A) = P(¬B) [ P(¬¬A) = P(A) ]
    P(¬B|A) = 0.1 - 0.025 = 0.075

    ....... I think!!!! :)

    << Fio >>


  • Registered Users, Registered Users 2 Posts: 1,372 ✭✭✭silverside


    Smiles, I don't think your answer is fully correct.

    The way i did it was to draw a 2 X 2 Grid with 4 cells

    DT,AT
    DT, ANT
    DNT,AT
    DNT,ANT

    where T stands for 'on time' and NT stands for 'not on time'.

    Now you are given
    DT,AT + DT,ANT = 0.8
    DT,AT + DNT,AT = 0.9
    DT,AT = 0.78
    sum of all 4 cells = 1
    so you can find

    DT,AT = 0.78
    DT, ANT = 0.02
    DNT,AT = 0.12
    DNT,ANT = 0.08

    P(AT given DT) = 0.78 / (0.78 + 0.02) = 0.975

    P(ANT given DNT) = 0.08 / (0.08 + 0.12) = 0.4

    You have got Bayes' Rule a bit back to front. For a simple case like this it is easier to draw out a grid/venn diagram.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,648 ✭✭✭smiles


    fair enough, what do you mean by "back to front" for the bayes theorem?

    << Fio >>


  • Registered Users, Registered Users 2 Posts: 1,372 ✭✭✭silverside


    Actually you didnt use Bayes theorem (I think).

    But you can't add conditional probabilities like you did.

    i.e. it is not true that
    P(A|B) + P(A|¬B) = P(A)

    instead
    P(A n B) + P(A n ~B) = P(A)


Advertisement