Histogram of number of units selected

  • Context: Undergrad 
  • Thread starter Thread starter bassplr19
  • Start date Start date
  • Tags Tags
    Histogram Units
Click For Summary
SUMMARY

The discussion focuses on calculating the probability of selecting a specific number of blue items from a set of ten, where each item has a 7% chance of being blue. The probability formula used is Prob[k out of 10 things are blue] = 10!/(k! (10 - k)!) * 0.07^k * (1 - 0.07)^(10 - k). The simulated results indicate that the probabilities for 0 and 1 blue items are approximately 37%, for 2 blue items 18%, for 3 blue items 5%, for 4 blue items 1.2%, and for 5 blue items 0.12%.

PREREQUISITES
  • Understanding of binomial probability distribution
  • Familiarity with factorial notation
  • Basic knowledge of probability theory
  • Experience with statistical simulations
NEXT STEPS
  • Study binomial distribution and its applications in probability
  • Learn about factorial calculations and their significance in probability formulas
  • Explore statistical simulation techniques for probability estimation
  • Investigate the use of Python libraries like NumPy for probability simulations
USEFUL FOR

Statisticians, data analysts, students studying probability theory, and anyone interested in understanding binomial distributions and simulations.

bassplr19
Messages
5
Reaction score
0
I have some things that have a 7% chance of being blue, 10 of these things are put in a box. What is the percent chance that the box will have exactly one blue thing? Two blue things? and so on..

I have simulated this and came up with the following (all appx)
0 - 37%
1 - 37%
2 - 18%
3 - 5%
4 - 1.2%
5 - 0.12%

What equations do I use to solve this exactly?
 
Physics news on Phys.org
Prob[k out of 10 things are blue] = 10!/(k! (10 - k)!) .07^k (1 - .07)^(10 - k).
 
Thanks
 

Similar threads

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