+ Reply to Thread
Results 1 to 4 of 4

Thread: Bayes theory interview question.

  1. #1
    Points: 29, Level: 1
    Level completed: 58%, Points required for next Level: 21

    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Bayes theory interview question.



    This question is a typical interview question at a job I am currently seeking. The reason I am posting it is I have had different answers from various individuals all who have some credibility.

    You know there are 2 boys and an unknown number of girls in a nursery at a hospital. Then a woman gives birth a baby, but you dont know its gender, and it is placed in the nursery. Then a nurse comes in a picks up a baby and it is a boy. Given that the nurse picks up a boy, what is the probability that the woman gave birth to a boy? (Hint, it does not matter how many girls are in the nursery to begin with)

    I am under the impression you must you bayes theory for this if that is incorrect please correct me. I would appreciate explaining the problem thank you very much.

  2. #2
    Points: 212, Level: 4
    Level completed: 24%, Points required for next Level: 38

    Posts
    19
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Bayes theory interview question.

    I agree with using Bayes theory.

    Try drawing a tree diagram and tell us what you get.

  3. The Following User Says Thank You to Mike Z. For This Useful Post:

    ntyris9 (09-12-2012)

  4. #3
    Points: 29, Level: 1
    Level completed: 58%, Points required for next Level: 21

    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Bayes theory interview question.

    Mike,

    Drew a tree diagram assuming there were ten girls in the nursery to begin with since problem said it did not matter. I ended up computing (3/26)/(5/26) which gave me 3/5 which intuitively sounds correct and had been a suggested answer. I must admit doing the tree diagram is what gave me this solution. I thank you very much for giving me the satisfaction of solving the problem myself (if I am in fact correct haha).

    I was wondering though is there a mental approach I should be taking to this type of problem where I do not need to make up a number of girls? I was not a stat major so I have been honing my skills in preparation for an interview and very much want to think mentally in a "Bayesnian way".

    Again thank your for you help.

  5. #4
    Points: 212, Level: 4
    Level completed: 24%, Points required for next Level: 38

    Posts
    19
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Bayes theory interview question.


    3/5 is correct.

    You could let n stand for the number of girls originally in the nursery, and get the same kind of cancellation.

  6. The Following User Says Thank You to Mike Z. For This Useful Post:

    ntyris9 (09-20-2012)

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats