Probability of Toy Car in nth Box Given 9/n-1 Boxes Have Toy Cars

  • Context: Undergrad 
  • Thread starter Thread starter Cemre
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Discussion Overview

The discussion revolves around the probability of finding a toy car in the nth box given that the first n-1 boxes each contain a toy car. Participants explore different approaches to calculating this probability, considering various assumptions and contexts.

Discussion Character

  • Exploratory, Debate/contested, Mathematical reasoning

Main Points Raised

  • One participant presents a scenario where all boxes opened so far contain toy cars and asks for the probability that the nth box also contains a toy car.
  • Another participant suggests a method for calculating a binomial confidence interval, proposing a formula that yields a 91% probability based on the number of successes and trials.
  • A participant questions the validity of the original question, stating that without additional information about the boxes, a well-defined answer cannot be provided.
  • One participant proposes a formula, P = (m-9)/(n-9), where m is the number of boxes containing toy cars and n is the total number of boxes, indicating the need for more context to derive useful answers.
  • Another participant discusses the concept of maximum likelihood estimation, noting that if all previous boxes contain toy cars, the estimate for the probability of the nth box containing a car is 1, but emphasizes the importance of sample size for confidence intervals.

Areas of Agreement / Disagreement

Participants express differing views on how to approach the probability calculation, with no consensus on a single method or answer. The discussion remains unresolved regarding the implications of the assumptions made about the boxes.

Contextual Notes

The discussion highlights limitations related to the assumptions about the distribution of toy cars in the boxes and the lack of information about the total number of boxes and their contents.

Cemre
Messages
14
Reaction score
0
Let's say we have 10 boxes and I open each of them one by one...

I open the 1st box, there is a toy car in it.
I open the 2nd box, there is also a toy car in it.
I open the 3rd box, there is also a toy car in it.
...
I open the 9th box, there is also a toy car in it. :) wow, I got 9 toy cars in 9 boxes...

what is the probability that 10th box also has a toy car in it?

also generalize 10 to any number...
what is the probability that nth box also has a toy car in it, if all n-1 boxes each have a toy car in them.
 
Physics news on Phys.org
There are lots of ways to do this binomial confidence interval problem. One common way is prob = (# successes + 1) / (# trials + 2), which would suggest a 91% chance.
 
Cemre said:
what is the probability that 10th box also has a toy car in it?

Depends on where you're getting the boxes.
 
Yes this is a silly question, unless you give some more information there is no well defined answer.

About the best answer I could give (without any additional information) would be,

P = \frac{m-9}{n-9}

Where n is the number of "boxes" in the universe and m<n is number of boxes in the universe that contain toy cars. I know that's not a very useful answer, but you know that if you want a useful answer you have to ask a sensible question right.
 
What CRGreathouse is suggesting is to use the sample data to estimate the probability that a single box contains a car. Of course, if you have gotten a car in every box so far, the "maximum likelihood" estimate of that probability is 1 but you can use the sample size to put bounds on a confidence interval for it.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K