← 返回数学题库
221概率简单derivationshort

Bernoulli Distribution: Moments and MGF

题目

Let XBernoulli(p)X \sim \text{Bernoulli}(p), so P(X=1)=pP(X=1)=p and P(X=0)=1pP(X=0)=1-p where 0<p<10 < p < 1.

(a) Compute E[X]E[X] and E[X2]E[X^2] directly from the PMF. Hence find Var(X)\text{Var}(X).

(b) Derive the moment-generating function MX(t)=E[etX]M_X(t) = E[e^{tX}] and verify that MX(0)=E[X]M_X'(0) = E[X] and MX(0)=E[X2]M_X''(0) = E[X^2].

(c) Show that Var(X)=p(1p)1/4\text{Var}(X) = p(1-p) \le 1/4 for all p(0,1)p \in (0,1), and identify the value of pp that maximizes the variance.

(d) If S=i=1nXiS = \sum_{i=1}^{n} X_i where X1,,XnX_1, \ldots, X_n are iid Bernoulli(p)\text{Bernoulli}(p), use the MGF to show SBinomial(n,p)S \sim \text{Binomial}(n, p).

解题计时

0:00

提交作答时记录,用于后续平均用时统计。

你的答案

E[X]

E[X^2]

Var(X)

M_X(t)

p that maximizes Var(X)

Maximum Var(X) value