109 年 國立中正大學通訊工程學系碩士班通訊丙組《機率》
第 1 題10 分
(10%) Let the random variable Y be defined by , where X is a Gaussian random
variable with expected value and variance . Find the probability
density function (pdf) of Y.
登入後即可作答並保存紀錄。
此題考驗隨機變數變換以及高斯分布的性質。
給定隨機變數 為高斯分布,且 , 。
我們知道 。
將已知值代入,得到 ,
因此 。
我們要求 的機率密度函數 (pdf)。
由於 ,所以 的 pdf 只在 的範圍內有值。
我們可以利用隨機變數變換的方法來求 。
令 ,則 。
令 。則 。
其中 是 的解。
在此情況下, 且 。
。
所以 且 。
第 2 題10 分
(10%) We have two coins, one is fair and thus lands heads up with probability 1/2 and
one is unfair and lands heads up with probability p, p > 1/2. One of the coins is selected
randomly and tossed n times yielding n straight tails. What is the probability that the unfair
coin was selected given the the above observation?
登入後即可作答並保存紀錄。
此題考驗貝氏定理 (Bayes' Theorem) 的應用。
首先定義事件:
令 為選到公平硬幣的事件。
令 為選到不公平硬幣的事件。
令 為連續擲出 n 次反面的事件。
根據題目,我們有:
(隨機選擇硬幣)
(隨機選擇硬幣)
公平硬幣擲出反面的機率為 。
不公平硬幣擲出反面的機率為 。
在給定選到公平硬幣的條件下,連續擲出 n 次反面的機率為:
在給定選到不公平硬幣的條件下,連續擲出 n 次反面的機率為:
我們要求的是在觀察到 n 次反面後,選到不公平硬幣的機率,即 。
根據貝氏定理:
首先,我們需要計算 ,即觀察到 n 次反面的總機率。利用全機率定理:
第 3 題10 分
(10%) Let X1, X2, X3 are independent, exponentially distributed random variables with
parameter , , and respectively. Find the characteristic function of Z, where Z =
.
登入後即可作答並保存紀錄。
此題考驗指數分布的性質以及獨立隨機變數和的特徵函數。
指數分布的機率密度函數 (pdf) 為 ,對於 。
指數分布的特徵函數 (characteristic function) 定義為 。
對於一個參數為 的指數分布隨機變數 ,其特徵函數為:
已知 是獨立的指數分布隨機變數,參數分別為 。
它們的特徵函數分別為:
第 4 題20 分
(20%) Let X and Y have joint pdf
, for .
(a) (10%) Find k.
(b) (10%) Find the probability .
登入後即可作答並保存紀錄。
此題考驗聯合機率密度函數的正規化以及計算聯合機率。
(a) 計算正規化常數 k:
聯合機率密度函數 在整個定義域上的積分必須等於 1。
定義域為 且 ,這是一個單位正方形。
首先對 x 積分:
接著對 y 積分:
所以,我們得到 。
第 5 題10 分
(10%) Find where X and Y are independent random variables, X is a zero-
mean, unit-variance Gaussian random variable, and Y is a continuous uniform random
variable in the interval [0, 3].
登入後即可作答並保存紀錄。
此題考驗期望值的計算,特別是涉及兩個獨立隨機變數的函數。
題目要求計算 。注意到這個期望值只與隨機變數 X 有關,而與隨機變數 Y 無關。
給定 X 是一個零均值、單位變異數的高斯隨機變數。
這表示 且 。
由於 X 是高斯分布,其機率密度函數 (pdf) 為 。
在此情況下, 且 (所以 )。
因此,。
我們需要計算 。根據期望值的定義:
我們來處理指數項 。
為了完成平方,我們可以寫成 。
進一步寫成 。
所以,。
積分變為:
令 ,則 且 。
當 , 。當 , 。
第 6 題10 分
(10%) Let Z = X/Y. Find the probability density function of Z if X and Y are indepen-
dent and both exponentially distributed with mean one.
登入後即可作答並保存紀錄。
此題考驗兩個獨立指數分布隨機變數比值的機率密度函數。
給定 X 和 Y 是獨立的指數分布隨機變數,且 和 。
對於參數為 的指數分布,其期望值為 。
因此,對於 X 和 Y,其參數皆為 和 。
它們的機率密度函數 (pdf) 分別為:
, for
, for
我們要求 的 pdf,記為 。
這裡 且 (因為 Y 是指數分布,Y=0 的機率為 0,所以 Y 嚴格大於 0)。
因此,。
我們可以使用隨機變數變換的方法。令 和 。
那麼 且 。
這個變換的 Jacobian 行列式為:
其中 。
聯合 pdf 為:
由於 , .
, for .
第 7 題10 分
(10%) The number N of packet arrivals in t seconds at a multiplexer is a Poisson random
variable with , where is the average arrival rate in packets/second. Let Z be the
time until the first packet arrival. Find the probability of the event "Z > t".
登入後即可作答並保存紀錄。
此題考驗 Poisson 分布與指數分布之間的關係。
題目指出,在 t 秒內到達的封包數量 N 服從 Poisson 分布,其參數為 。
Poisson 分布的機率質量函數 (pmf) 為:
, for
令 Z 為第一次封包到達的時間。
事件 "Z > t" 表示在時間 t 內「沒有」封包到達。
也就是說,在時間 t 內到達的封包數量 N 為 0。
所以,事件 "Z > t" 等價於事件 "N = 0"。
我們需要計算 。
利用 Poisson 分布的 pmf,令 :
由於 且 ,
。
第 8 題20 分
(20%) The probability density function (pdf) of a Chi-square random variable, X with 2n
degrees of freedom is given by
where n is a positive integer.
(a) (10%) Find . Hint: Use the fact that for any
positive integer n.
(b) (10%) Let Y be a Chi-square random variable with 2 degrees of freedom. Y is inde-
pendent of X. Find the probability .
登入後即可作答並保存紀錄。
此題考驗 Chi-square 分布的期望值計算以及其與 Gamma 分布的關聯。
首先,我們需要確認 Chi-square 分布與 Gamma 分布的關係。
一個自由度為 的 Chi-square 分布,實際上就是一個參數為 且尺度參數 的 Gamma 分布。
其 pdf 為 for .
題目中給定的 Chi-square 分布自由度為 。
所以 。
代入 Gamma 分布的 pdf 公式:
。
這與題目中給定的 pdf 完全一致。
所以,X 服從參數為 和 的 Gamma 分布,即 。
(a) 計算 :
根據期望值的定義,
為了使用提示 ,我們需要進行變換。
令 。則 且 。
當 , 。當 , 。