Probability
Axioms¶
, where both are disjoint sets
Properties¶
Conditional Probability¶
Total Probability¶
Here,
Independence¶
If
Conditional Independence¶
Expectation and Variance¶
Linearity¶
Probability Mass Functions¶
Marginal PMFs¶
Conditionals¶
Independence strikes back¶
, and
Continuity and Lovely Curves¶
Cumulative Distributions¶
Conditionals¶
Conditional Expectation¶
Bayes' Theorem¶
You can of course interchange
Gimme More¶
where
Also, if
Correlations¶
Law of iterated expectations¶
Law of total variance¶
Limits of the land¶
- If
takes only non-negative values then . for all .- According to the idea of convergence
.
Central Limit Theorem¶
Independent sampling of any distribution always yields a mean distribution which is normal.
Law of large numbers¶
If you repeat an experiment independently a large number of times and average the result, what you obtain should be close to the expected value.
Distributions¶
The gaussian distribution shows up in nature a lot because there are many situations in which a lot of small effects sum up to the thing you actually measure.
Poisson statistics describe situations where an event occurs randomly but has a constant probability of happening everytime.
Poisson Distribution¶
- To predict the number of events occurring in the future!
- More formally, to predict the probability of a given number of events occurring in a fixed interval of time.
- The Poisson Distribution, on the other hand, doesn’t require you to know
or . We are assuming is infinitely large and is infinitesimal. The only parameter of the Poisson distribution is the rate (the expected value of ). In real life, only knowing the rate (i.e., during 2pm~4pm, I received 3 phone calls) is much more common than knowing both & .
This gives the probability of observing
- Even though the Poisson distribution models rare events, the rate
can be any number. It doesn’t always have to be small. - Assumptions:
- The average rate of events per unit time is constant.
- Events are independent.
- If the number of events per unit time follows a Poisson distribution, then the amount of time between events follows the exponential distribution. The Poisson distribution is discrete and the exponential distribution is continuous, yet the two distributions are closely related.
Random Shit¶
-
How do you test whether a data sample is normal or not? https://en.wikipedia.org/wiki/Jarque–Bera_test
-
Optimal theoretical size for a bet is given by the https://en.wikipedia.org/wiki/Kelly_criterion.
-
Random variable X is distributed as N(a, b), and random variable Y is distributed as N(c, d). What is the distribution of (1)
, (2) , (3) , (4) ?(1)
(2)
(3)
-
The Monty Hall Problem