埼玉大学 理工学研究科 数理電子情報系専攻 情報システム工学コース 2018年2月実施 確率統計
Author
思齐塾, 祭音Myyura
Description
- 以下の問に答えよ. [ Solve the following problems. ]
(a) 10枚のコインがある. 9枚は公正なもので、1枚は公正ではないものである。公正ではないコインで表が出る確率を0.9とする。ランダムに1枚のコインを選び、投げるものとする。表が出たとき、そのコインが公正なものである確率を求めよ。
[There are ten coins; nine of them are fair, and one of them is unfair. The probability of heads of the unfair coin is 0.9. We choose a coin randomly and flip it. When we have a head, calculate the probability with which the chosen coin is fair. ]
(b) X を非負整数 {0,1,2,...} の集合から値をとる離散確率変数であるとする。 C を定数、 λ をパラメータとする ( λ>0 ). X の確率分布を以下のように定義する:
[Let X be a discrete random variable taking values from the set of non-negative integers {0,1,2,...} . Let C be a constant, and let λ be a parameter ( λ>0 ). The probability distribution of X is defined as follows: ]
Pr(X=n)=Cn!λn
(1) 定数 C の値を計算せよ. [Calculate the constant C .]
(2) E[X] および E[X(X−1)] を計算せよ. ここで E[⋅] は期待値を表す. [Calculate E[X] and E[X(X−1)] , where E[⋅] means an expectation. ]
(3) Y=3X+1 とする. Y の平均と分散を計算せよ. [Let Y=3X+1 . Calculate the mean and variance of Y .]
(4) 確率変数 Z は X と同じ確率分布に従うものとする。 X と Z が独立であるとき、 X+Z の確率分布を求めよ。 [A random variable Z has the same probability distribution as X . When X and Z are independent, find the probability distribution of X+Z .]
题目描述
- 回答下列问题。
(a) 有 10 枚硬币,其中 9 枚是公平硬币,另 1 枚是不公平硬币;该不公平硬币出现正面的概率为 0.9。随机选取一枚硬币并投掷一次。已知结果为正面,求所选硬币是公平硬币的概率。
(b) 设离散随机变量 X 的取值集合为非负整数
{0,1,2,…}.
设 C 为常数,λ 为满足 λ>0 的参数,并定义 X 的概率分布为
Pr(X=n)=Cn!λn.
(1) 求常数 C。
(2) 求
E[X]与E[X(X−1)],
其中 E[⋅] 表示期望。
(3) 令
求 Y 的均值与方差。
(4) 设随机变量 Z 与 X 服从相同的概率分布。若 X 与 Z 相互独立,求 X+Z 的概率分布。
Kai
(a) Let F be the event that the coin is fair, and H be the event that a head appears. We want to find P(F∣H) .
We know that P(F)=109 and P(Fc)=101 . Also, P(H∣F)=21 and P(H∣Fc)=0.9 .
By Bayes' theorem,
P(F∣H)=P(H)P(H∣F)P(F)
We need to find P(H) . Using the law of total probability,
P(H)=P(H∣F)P(F)+P(H∣Fc)P(Fc)=21⋅109+0.9⋅101=209+1009=10045+1009=10054=5027
Therefore,
P(F∣H)=502721⋅109=5027209=209⋅2750=21⋅35=65
(b)
(1) Since ∑n=0∞Pr(X=n)=1 , we have ∑n=0∞Cn!λn=1 . Since ∑n=0∞n!λn=eλ , we have Ceλ=1 , so C=e−λ .
(2) Since Pr(X=n)=e−λn!λn , X follows a Poisson distribution with parameter λ . Therefore, E[X]=λ and Var(X)=λ . Also,
E[X(X−1)]=E[X2−X]=E[X2]−E[X]=Var(X)+E[X]2−E[X]=λ+λ2−λ=λ2 .
Alternatively,
E[X(X−1)]=n=0∑∞n(n−1)e−λn!λn=e−λn=2∑∞n(n−1)n!λn=e−λn=2∑∞(n−2)!λn=e−λλ2n=2∑∞(n−2)!λn−2=e−λλ2k=0∑∞k!λk=e−λλ2eλ=λ2
(3) E[Y]=E[3X+1]=3E[X]+1=3λ+1 .
Var(Y)=Var(3X+1)=32Var(X)=9λ .
(4) Since X and Z are independent and have the same distribution, Pr(X=n)=Pr(Z=n)=e−λn!λn . Let W=X+Z . Then
P(W=k)=n=0∑kP(X=n,Z=k−n)=n=0∑kP(X=n)P(Z=k−n)=n=0∑ke−λn!λne−λ(k−n)!λk−n=e−2λn=0∑kn!(k−n)!λk=e−2λk!λkn=0∑kn!(k−n)!k!=e−2λk!λkn=0∑k(nk)=e−2λk!λk2k=e−2λk!(2λ)k
So X+Z follows a Poisson distribution with parameter 2λ .