Recently, I am enrolled in an open course about Bayesian Statistics which provides a note on common distributions. I quickly reviewed them and wrote this post for summarization.

Discrete

Uniform Distribution

We randomly pick each with a probability . It is easy to show the mean of this distribution is . As for the variance (i.e., ), the first term needs to solve which seems not that trivial. Luckily, Khan provides a video showing how to solve such kind of number series with the core idea of Calculus. For , , their differences are , then their differences between differences are . Eventually, the differences are a constant of . Regarding the difference as a derivative, the closed-form solution of should be whose third-order derivative is constant (actually, here we know directly from the constant ). Solving an linear equation of three individual equations leads to the final results .

Binomial Distribution

Considering , this is just the sum of i.i.d. Bernoulli random variables. For simplicity, let’s consider two RVs and solve the relationship between the mean/variance of their sum and the mean/variance of themselves. First, .

As you can see, other variables in the joint distribution are marginalized without any independence assumption. By definition:

If and are independent, say that , the last term can be wrote as . Thus, if and are independent. The above analysis can be easily extend to the case of arbitrary number of variables. According to the above analysis, the mean and variance of is and .

Poison Distribution

First, the rate should be the rate of duration in question (see the example in that course material). The mean and variance can be proved with a commonly used math trick as follow.

The last step is valid since the summation is exactly the pdf of the Poison distribution and thus sum up to 1. The variance is induced in a similar way.

Based on above proofs, both the mean and the variance of Poison distribution equal .

(Continuing…)