Binomial Distributions, Moment Generating Functions, and Statistical Moments
Derivation of the Binomial Distribution Constant
Objective: To derive the coefficient in the Probability Mass Function (PMF) of the Binomial Distribution by leveraging the property that the sum of all probabilities must equal one.
Starting Formula (PMF):
Algebraic Refinement:
Separate the constant terms not depending on : move to the right-hand side.
Introduce a substitution variable .
The expression simplifies to:
Note: .
The Derivative Technique:
To find specific coefficients of a polynomial, one can take successive derivatives and evaluate at zero.
For the left-hand side, taking the -th derivative with respect to and setting results in . All lower-order terms vanish due to the derivative, and all higher-order terms vanish because they still contain factors of .
For the right-hand side, taking the -th derivative of yields:
First derivative:
Second derivative:
-th derivative:
Setting gives the product , which is equivalent to .
Final Result:
Moment Generating Functions (MGF)
Definition: The Moment Generating Function (MGF) is defined as the expectation of an exponential function of the random variable:
Utility: The MGF is a highly convenient tool for finding the moments of a distribution, such as the mean () and second moment ().
Generating Moments:
To find the -th moment, take the -th derivative of the MGF with respect to , then evaluate at .
Derivative logic: . Substituting makes the exponential term , leaving only .
Statistical Summaries:
The First Moment () is the mean ().
The Second Moment () is .
The Third Moment relates to Kurtosis (the shape and "tailedness" of the distribution).
Characteristic Functions:
Defined as .
Unlike MGFs, which only exist if the expectation is finite in an open interval around zero, the characteristic function always exists.
The characteristic function is instrumental in proving the Central Limit Theorem.
MGF for Bernoulli and Binomial Distributions
Bernoulli MGF:
For a Bernoulli random variable where and .
Applying the Law of the Unconscious Statistician (LOTUS):
Binomial MGF (Sum of IID Bernoullis):
Let be the sum of Independent and Identically Distributed (IID) Bernoulli random variables ().
Because the variables are independent, the MGF of the sum is the product of the individual MGFs:
Since they are identically distributed, this becomes the individual MGF raised to the power of :
Calculating the Mean of a Binomial using MGF:
Take the first derivative of the MGF: .
Evaluate at : .
Calculating the Variance of a Binomial using MGF:
Variance is found via .
Find by taking the second derivative of the MGF and substituting .
Questions & Discussion
Student Confusion: The TA noted that students are struggling during discussion sessions, indicating they may not be fully absorbing the lecture material.
Quiz Warnings: While the first quiz was easy, the professor warned that subsequent quizzes will be significantly more difficult.
Why t=0?: A student asked why is substituted with zero. The professor explained it is to eliminate the function of and isolate the constant factor/coefficient (the moment) we are interested in.
LOTUS Explanation: A student asked for clarification on the Bernoulli sum derivation. The professor explained that because of IID conditions, the expectation of a product of independent variables equals the product of their expectations:
Visualization Concerns: There were brief technical issues with the screen mirroring being dark or not moving, but the professor confirmed it was working for the majority of the class.