113 年 國立成功大學統計學研究所《數理統計(含機率概論)》
第 1 題10 分
Suppose that independent random sample of size n from two normal populations with the known
variances and are to be used to test the null hypothesis against the alternative
hypothesis and that the probabilities of type I and type II errors are to have the preassigned
value and , where and . Find the size of the sample to meet the requirement.
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 已知兩個常態母體變異數時,兩母體平均數差的抽樣分配。
- Neyman–Pearson 方法:在兩個簡單假設下,以樣本平均數差建立最具檢定力的檢定。
- 同時控制型一錯誤機率 與型二錯誤機率 。
- 樣本數的反推。
設兩母體分別為
且兩樣本彼此獨立, 已知。題目中的兩個假設可寫成
對抗
其中 與 分別代表題目中的 與 ,且 。
解題方法
1. 建立樣本平均數差的分配
令
由於兩樣本獨立,
且
因此
記
2. 決定拒絕域方向
若
則在 下, 的平均數較大,因此應在 夠大時拒絕 。
令 表示標準常態分配的第 分位數,即
為使型一錯誤機率等於 ,拒絕域設為
在 下,
故
給出
3. 代入型二錯誤機率
在 下,型二錯誤是未拒絕 :
由於在 下
因此
所以
將
代入:
整理得
第 2 題
Let be independent and identically distributed random variables with discrete probability
function given by
where . Let denote the number of observations equal to for .
a. (5%) Derive the likelihood function as function of .
b. (10%) Find the most powerful test for testing versus , where .
Show that your test specifies that be rejected for certain values of .
c. (5%) How do you determine the value of so that the test has nominal level ? You need not do
the actual computation. A clear description of how to determine is adequate.
d. (5%) Is the test derived in parts (a)-(c) uniformly most powerful for testing versus
? Why or why not?
登入後即可作答並保存紀錄。
核心觀念
本題考查數理統計學中**假設檢定(Hypothesis Testing)**的核心理論,涵蓋以下關鍵觀念:
- 多項式計數與概似函數(Likelihood Function):由獨立同分配(i.i.d.)之離散型母體建構概似函數,並利用各類別次數之限制式()進行化簡。
- 紐曼-皮爾森引理(Neyman-Pearson Lemma):在簡單虛無假設對簡單對立假設( vs )下,以概似比(Likelihood Ratio)建構最強檢定(Most Powerful Test, MP Test)之拒絕域。
- 二項分配的加總性(Reproductive Property of Binomial Distribution):識別檢定統計量 之精確抽樣分配為 ,並以此決定臨界值(Critical Value)與隨機化機率。
- 單調概似比(Monotone Likelihood Ratio, MLR)與均勻最強檢定(Uniformly Most Powerful Test, UMP Test):利用 Karlin-Rubin 定理探討單邊對立假設下的 UMP 檢定性質。
解題方法與詳細推導
(a) 推導概似函數
給定隨機變數 之離散機率函數為:
設 分別代表樣本中觀測值為 的個數,滿足限制條件 。
樣本的聯合機率質量函數(即概似函數)為:
將各項指數展開並合併同類項:
利用總樣本數關係式 ,可將概似函數簡化為僅含統計量 的形式:
(b) 尋找檢定 vs ()之最強檢定(MP Test)
根據 Neyman-Pearson Lemma,檢定簡單假設 對簡單假設 ,顯著水準為 的最強檢定(Most Powerful Test)之拒絕域形式為:
代入 (a) 所得之概似函數:
分析底數之正負與大小:
因為 ,可得:
因此乘積滿足:
對概似比不等式兩邊取自然對數:
由於 ,移項整理後方向不變:
故最強檢定之拒絕規則為:當 時,拒絕 。
(c) 決定臨界值 使檢定達到名義顯著水準
令檢定統計量 。
第 3 題
Suppose that a random sample of length-of-life measurements, , is to be taken of components
whose length of life has an exponential distribution with a mean . It is frequently of interest to estimate
,
the reliability at time t of such a component.
a. (5%) For any fixed value of t, find the MLE of .
b. (10%) Find the minimum-variance unbiased estimator of .
登入後即可作答並保存紀錄。
核心觀念
設元件壽命 服從平均數為 的指數分布:
題目中的 應理解為可靠度函數,即存活函數:
本題考查:
- 最大概似估計法(MLE)
- 充分統計量與完全充分統計量
- Rao–Blackwell 定理與 Lehmann–Scheffé 定理
- 不偏估計量的構造
令
a. 的最大概似估計量
解題方法
先求 的 MLE,再利用不變性定理,將 代入 。
樣本的概似函數為
取對數概似函數:
微分得
令其等於 :
因此
由最大概似估計的不變性定理,
所以,
也可寫成
b. 的最小變異數不偏估計量
第一步:找出完全充分統計量
由概似函數
可知根據因子分解定理, 是 的充分統計量。
此外,因為
其密度為
這個 Gamma 族在 的參數空間為 ,因此 是完全充分統計量。
依 Lehmann–Scheffé 定理,只要找到一個以 為函數的不偏估計量,它就是 的 UMVU 估計量。
第二步:構造不偏估計量
第 4 題
Consider a random sample from a Poisson distribution with a mean . Suppose that the prior
distribution of is from a gamma distribution, , where is the shape parameter and the rate
(inverse of scale) parameter and and are known.
a. (10%) Find the posterior mean of .
b. (10%) Find the posterior predictive distribution, , where is the predictive value and
are observed values.
登入後即可作答並保存紀錄。
核心觀念
本題考查「Poisson likelihood 與 Gamma prior 的共軛性」,以及利用後驗分布求:
- 參數 的後驗平均數;
- 下一個觀察值 的後驗預測分布。
已知:
且先驗分布採 Gamma 分布,使用「形狀—率」參數化:
其密度為
在此參數化下,Gamma 分布的平均數為 。
解題方法
令觀察資料為 ,並記
1. 建立 likelihood
由於 在給定 下獨立,
2. 求後驗分布
根據 Bayes 定理,
代入 likelihood 與 Gamma prior:
因此,
也就是
(a) 後驗平均數
若 ,其中 為形狀參數、 為率參數,則
因此,
這就是 的後驗平均數。
此結果也可解釋為: 與 分別代表先驗資訊中的「虛擬事件數」與「虛擬觀察量」,觀察資料則額外提供 與 。
(b) 後驗預測分布
要求的是下一個觀察值 的分布:
給定 時,
因此後驗預測分布由混合分布公式得到:
令
則
且
後驗密度為
代入積分:
第 5 題
Suppose that are independent and identically distributed Poisson () random variables.
a. (10%) Find the maximum likelihood (ML) estimator, and an asymptotic normal distribution for the
estimator of .
b. Suppose that, rather than observing the random variables in (a) precisely, only the events
or , for are observed.
- (10%) Find the ML estimator of under this new observation scheme.
II. (10%) In this new scheme, when does the ML estimator not exist (at a finite value in the
parameter space)? Justify your answer.
登入後即可作答並保存紀錄。
題意解析
設 ,其中母數空間通常定義為 。
- 小題 (a):要求出 的最大概似估計量(MLE),並導出該估計量的漸近常態分配(Asymptotic Normal Distribution)。
- 小題 (b-I):在設限/二元觀測架構下,僅能觀察到每個 是否為 0。求在此架構下 的最大概似估計量。
- 小題 (b-II):探討在何種觀測結果下,該架構的 MLE 在有限母數空間()中不存在,並給出數學論證。
小題 (a) 詳解
核心觀念
- 概似函數與不變性性質(Invariance Property of MLE):
若 為 的 MLE,且 為單射或定義明確的函數,則 的 MLE 為 。 - 中央極限定理(CLT):
對獨立同分布且具有有限變異數的隨機變數樣本,其樣本平均數具有漸近常態性。 - Delta 方法(Delta Method):
若 ,且函數 在 處連續可微且 ,則:
解題方法與推導
1. 求 的 MLE
樣本 之概似函數為:
對數概似函數為:
對 微分並令其為 0(一階條件):
二階導數為:
故 的 MLE 為 。
由 MLE 的不變性性質(Invariance Property),參數 的 MLE 為:
2. 導出漸近常態分配
因為 ,其期望值與變異數分別為 、。
由中央極限定理(CLT):
考慮變換函數 ,其一階導數為 ,在 處為 。
利用一階 Delta 方法:
計算漸近變異數:
因此,當樣本數 時, 的漸近常態分配為:
或寫為大樣本漸近分配型式:
小題 (b-I) 詳解
核心觀念
- 柏努利轉換(Bernoulli Reduction):
在設限或二元觀測下,定義示性隨機變數 ,將卜瓦松過程的零次觀測問題化簡為柏努利隨機變數的估計問題。 - 重參數化與概似極大化:
藉由 ,將二項概似函數轉換為母數 的函數並求解。
解題方法與推導
令二元指示隨機變數為:
對於 ,成功機率(即觀測到 的機率)記為 :
而 。
因此,。
令 表示觀測到 的總個數,則 。
此新觀測機制下的概似函數為:
對數概似函數為:
對 微分求一階條件:
整理得: