Editing
Probability Distributions
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Applying</span> == '''Modeling 'The Poisson Arrival' (Predicting how many customers will arrive in an hour):''' <syntaxhighlight lang="python"> import math def poisson_probability(avg_rate, k_events): """ P(k) = (lambda^k * e^-lambda) / k! """ p = ( (avg_rate**k_events) * math.exp(-avg_rate) ) / math.factorial(k_events) return round(p * 100, 2) # Case: A coffee shop gets 5 people/hour on average. # What is the % chance of getting EXACTLY 10 people in one hour? print(f"Chance of 10 people: {poisson_probability(5, 10)}%") # What about exactly 5 (the average)? print(f"Chance of 5 people: {poisson_probability(5, 5)}%") </syntaxhighlight> ; Distribution Landmarks : '''The Normal Distribution (Gauss)''' β The "God of Statistics." It describes almost everything in nature because nature is built from millions of tiny random forces adding up. : '''The Pareto Principle (80/20 Rule)''' β A "Power Law" distribution: 80% of the effects come from 20% of the causes (e.g., 20% of words make up 80% of a book). : '''The 'Black Swan' (Fat Tails)''' β Nassim Taleb's idea that we "Underestimate" the probability of "Extreme Events" (like stock market crashes) because we use the "Thin-tailed" Normal Distribution when we should be using "Fat-tailed" models. : '''Bernoulli Trials''' β The simplest distribution: a single "Flip" with two outcomes (Success/Failure). It is the "Atom" of all probability. </div> <div style="background-color: #8B4500; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information