Probability generating functions
導入済み
8:10
高等確率・統計
ダブリン、一九〇八年。ギネス醸造所の内部で、ウィリアム・ゴセットという若い化学者は非常に現実的な問題に直面していた。彼は僅かなバッチのみをテストすることができた。…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| coefficient/ˌkəʊɪˈfɪʃənt/ | 係数 |
| probability generating function/ˌprɒbəˈbɪlɪti ˈdʒenəreɪtɪŋ ˈfʌŋkʃn/ | 確率母関数 |
| PGF | |
| derivative/dɪˈrɪvətɪv/ | 微分 |
| variance/ˈveərɪəns/ | 分散 |
| independent/ˌɪndɪˈpendənt/ | 独立 |
単一の関数による分布
- 離散分布は確率のリストである — 操作するのが煩雑だ。
- 確率生成関数 (PGF) はリスト全体を1つの整理された関数にまとめ、難しい確率の和を簡単な微積分に変換する。
PGF の定義
- 離散変数 $X$ が $0, 1, 2, \dots$ の値をとる場合:
- $t^x$ の係数はちょうど $P(X = x)$ である — 関数が分布を暗記している。

確率生成関数はすべての確率を係数として格納している
Probability generating function lab
G(x) = p0 + p1 x + p2 x^2 + ...
Change x and see how a PGF stores probabilities in powers of x.
The probability generating function of X is defined as:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
G(t) = E(tˣ) = Σ P(X=x) tˣ.
導関数からの平均と分散
- 微分して $t = 1$ で評価する:
計算例。 $G(t) = 0.5 + 0.3t + 0.2t^2$。次に $G'(t) = 0.3 + 0.4t$ なので、$E(X) = G'(1) = 0.3 + 0.4 = 0.7$。
Which distribution has PGF e^(3t − 3)?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
e^(3t − 3) = e^(3(t − 1)), the PGF of Po(λ) with λ = 3.
独立変数の和
- 最も有用な性質:独立な変数の和の PGF はそれらの PGF の積である:
- これにより、独立な変数の加算(複数のサイコロの合計など)がほぼ楽々行える。

X has G(t) = 0.5 + 0.3t + 0.2t². Since E(X) = G′(1) and G′(t) = 0.3 + 0.4t, what is E(X)?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
G'(1) = 0.3 + 0.4(1) = 0.7.
The mean is found from the PGF by E(X) = G′(______).
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
E(X) = G'(1).
For G(t) = 0.2 plus 0.5 t plus 0.3 t squared, what is E(X), and what must G(1) equal?
The expectation is the derivative of the generating function at 1. The probabilities themselves must add to 1.
G(t) = 0.2 + 0.5t + 0.3t². Find Var(X).
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
G′(1) = 0.5 + 0.6 = 1.1 and G″(1) = 0.6, so Var(X) = 0.6 + 1.1 − 1.21 = 0.49.
有効な PGF か確認する
$G(1)$ は 1 でなければならない。 $G(1) = \sum P(X = x)$ であるため、有効な PGF は常に $G(1) = 1$ を与える — 微分する前の quick sanity check。

The PGF of a sum of two independent variables is the sum of their PGFs.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
False. For independent X and Y, G_{X+Y}(t) = G_X(t) G_Y(t): the PGFs multiply.
Two fair dice are rolled. Using the coefficient of t⁷ in (t + t² + … + t⁶)²/36, find P(total = 7) to 4 decimal places.
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
t⁷ arises from 6 pairs: (1,6), (2,5), …, (6,1). So the probability is 6/36 = 0.1667.
理解できましたか
- PGF: $G(t) = E(t^X) = \sum P(X=x)\,t^x$(および $G(1) = 1$)
- $E(X) = G'(1)$; $\text{Var}(X) = G''(1) + G'(1) - (G'(1))^2$
- 独立な変数の和の PGF はそれらの PGF の積である
期待値 1.1 から読み取る
- 確率生成関数は 0.2 に 0.5 t と 0.3 t² を加えたものである。
- 1 における導関数から期待値を求める。有効な生成関数は t = 1 で 1 に等しい。
For any valid PGF, what is the value of G(1)?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
G(1) = Σ P(X=x) = 1, since probabilities sum to 1.
このカードは新しいため、翻訳ができるまで英語で表示されます。
Worked exam question: a PGF with a constant
Question (7 marks). The PGF of $X$ is $G_X(t)=k(2+t)^2$. (a) Find $k$. (b) Find $E(X)$ and $\text{Var}(X)$. (c) $Y$ is independent 独立 of $X$ and takes the values 1 and 2 with equal probability. Find $P(X+Y=2)$.
- (a) $G_X(1)=9k=1$, so $k=\tfrac19$ (B1).
- (b) $G_X'(t)=\tfrac29(2+t)$, so $E(X)=\tfrac69=\tfrac23$ (M1 A1). $G_X''(t)=\tfrac29$, so (M1 A1):
- Check: $\tfrac19(2+t)^2=\left(\tfrac23+\tfrac13t\right)^2$, which is $B(2,\tfrac13)$: $np=\tfrac23$, $npq=\tfrac49$.
- (c) $G_Y(t)=\tfrac12(t+t^2)$. Multiply (M1):
- The coefficient of $t^2$: $P(X+Y=2)=\tfrac8{18}=\tfrac49$ (A1). The coefficients add to 18, so $G(1)=1$.
Why answers lose marks: using the variance formula without the $+G'(1)$ term, or adding the PGFs instead of multiplying them.

The PGF of X is k(1 + 3t)³. Find k, E(X) and Var(X).
Same method as the worked question.
このカードは新しいため、翻訳ができるまで英語で表示されます。
You've got it
- $G(t)=E(t^X)=\sum P(X=x)\,t^x$; the coefficient 系数 of $t^x$ is $P(X=x)$; $G(1)=1$
- standard PGFs: $(q+pt)^n$, $e^{\lambda(t-1)}$, $\dfrac{pt}{1-qt}$
- $E(X)=G'(1)$; $\text{Var}(X)=G''(1)+G'(1)-(G'(1))^2$
- independent sum → multiply the PGFs
For X with G(t) = 0.2 + 0.5t + 0.3t², what is E(X)?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
0.5 plus 0.6 is 1.1. Other options — 0.7 (the lesson expectation); 1 (the value of G(1)).
何が問題でしたか?この内容はサイトの運営チームだけが確認します。