Moment Generating Function of Bernoulli Distribution
📂Probability DistributionMoment Generating Function of Bernoulli Distribution
X∼ When Bin(1,p), the moment generating function of X is given below.
m(t)=1−p+pet=q+pet,q=1−p
Proof
For p∈[0,1], a discrete probability distribution with the following probability mass function is referred to as a Bernoulli distribution.
f(x)=px(1−p)1−x,x=0,1
From the Definition of Moment Generating Function
By the definition of the moment generating function,
E(etX)=x=0,1∑etxf(x)=x=0,1∑etx(1−p)1−xpx=(1−p)et⋅0p0+pet⋅1(1−p)1−1=1−p+pet
■
From the Binomial Distribution
The Bernoulli distribution is a special case of the binomial distribution Bin(n,p) where n=1. The moment generating function of the binomial distribution is as follows.
m(t)=[1−p+pet]n
Therefore, the moment generating function of the Bernoulli distribution is as follows.
m(t)=1−p+pet=q+pet
■