Probability generating functions
도입됨
8:10
고등 확률 및 통계
Dublin, nineteen-oh-eight. Inside the Guinness brewery, a young chemist named William Gosset faces a very practical problem. He can test only a few batches of…
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| 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) 는 전체 나열을 하나의 깔끔한 함수에 압축하여, 어려운 확률 합계를 쉬운 미적분으로 바꿉니다.
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의 곱이다:
- 이는 독립 변수를 더하는 것(예: 여러 주사위의 합)을 거의 effortlessly하게 만듭니다.

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$을 산출하며, 미분 전에 빠른 검증으로 사용할 수 있다.

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에 t의 계수 0.5, t²의 계수 0.3을 더한 형태입니다.
- 기댓값은 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)).
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.