114 年 國立政治大學統計學系碩士班《數理統計學》
第 1 題15 分
An electronic device has lifetime denoted by . The device has value if it fails before time ; otherwise, it has value . If has probability density function (PDF) for , find the cumulative distribution function (CDF) of .
登入後即可作答並保存紀錄。
本題主要考驗隨機變數轉換的觀念,特別是針對截斷的指數分配。我們需要根據 的定義,找出其對應的機率分佈。
首先,我們給定 lifetime 的機率密度函數 (PDF) 為 ,其中 。這是一個指數分配,參數 。
的累積分佈函數 (CDF) 為 ,對於 。
隨機變數 的定義如下:
我們需要計算 的 CDF,記為 。我們需要分情況討論 的值。
情況 1:
如果 ,那麼 意味著 必須是 的情況,但 ,這是不可能的。
另外,如果 ,那麼 意味著 。
然而, 的最小值是當 時,(因為 ),或是當 趨近於 0 時,。
我們仔細檢查 的可能取值範圍。
當 時,。
當 時,。
所以, 的所有可能取值為 。
因此,
若 ,則 。
情況 2:
如果 ,那麼 意味著 必須是 的情況,因為 的最小值是 。
所以, 僅發生在 時。
發生在 時。
因此,
第 2.i 題15 分
Let be independently and identically distributed (i.i.d.) random samples from a gamma distribution with shape parameter and scale parameter , having the PDF
Find the maximum likelihood estimator of , denoted by , where .
登入後即可作答並保存紀錄。
本題要求找出參數 的最大概似估計量 (Maximum Likelihood Estimator, MLE)。
首先,我們需要寫出樣本的概似函數 (Likelihood Function)。
給定 個 i.i.d. 的樣本 ,其聯合機率密度函數為:
接下來,我們取對數概似函數 (Log-Likelihood Function),這通常更容易處理:
現在,我們對 和 分別求偏導數,並令其為零,以找到 MLE。
對 求偏導數:
令 :
對 求偏導數:
其中 是 Digamma function。
令 :
我們有兩個方程式:
將 (1) 代入 (2):
第 2.ii 題15 分
Let be independently and identically distributed (i.i.d.) random samples from a gamma distribution with shape parameter and scale parameter , having the PDF
Solve for the smallest sample size such that the variance of is smaller than a constant . The answer should be expressed in terms of and .
登入後即可作答並保存紀錄。
本題要求找出樣本數 的最小值,使得估計量 的變異數小於一個常數 。
根據上一題的結果,我們知道 是 的一個估計量。
我們需要計算 。
Gamma 分配 的期望值是 。
Gamma 分配的變異數是 。
對於樣本平均數 ,其變異數為:
由於 是獨立同分佈的,
題目要求找到最小的 使得 。
所以,我們需要 。
解出 :
第 3.i 題15 分
Let be i.i.d. random samples from a Poisson distribution with mean , denoted as Poisson(), having the probability mass function
Show that and is sufficient for .
登入後即可作答並保存紀錄。
本題包含兩個部分:證明 的分佈是 Poisson ,以及證明 是 的充分統計量。
第一部分:證明
我們有 個獨立的隨機變數 ,每個都服從 Poisson() 分佈。
,其機率質量函數 (PMF) 為 ,對於 。
我們考慮 。
已知 Poisson 分佈的一個重要性質是,獨立的 Poisson 分佈隨機變數之和仍然服從 Poisson 分佈,其參數為各參數之和。
因此,
(共 個 )
我們也可以使用機率生成函數 (Probability Generating Function, PGF) 來證明。
Poisson() 的 PGF 是 。
對於 ,由於 獨立,其 PGF 為:
由於 獨立,
由於每個 都是 Poisson(),所以 。
。
這正是 Poisson() 分佈的 PGF。
因此,。
第 3.ii 題10 分
Let be i.i.d. random samples from a Poisson distribution with mean , denoted as Poisson(), having the probability mass function
Using the fact that ", where follows a chi-square distribution with degrees of freedom," show that the confidence interval for is
where is the chi-square -th quantile for upper tail probability on degrees of freedom.
登入後即可作答並保存紀錄。
核心觀念
令
由 Poisson 分布的可加性,
題目給定關係:當觀察值為 時,
因此,可利用 Poisson 累積分布函數與卡方分布上尾機率的關係,反解出 的信賴區間。
題目中的 定義為上尾機率為 的分位數,即
解題方法:反演尾端機率
欲構造 的雙尾信賴區間,應令兩端尾機率各為 :
代入題目給定的卡方表示式:
由上尾分位數的定義,
以及
因為 是遞減函數,所以
兩邊同除以 ,得到
這就是依照題目所給機率關係反演出的雙尾信賴區間。
題目所列公式的校正
題目要求的公式為
第 4.i 題10 分
Let be i.i.d. random samples from a truncated normal distribution with the PDF
and and are the PDF and CDF of the standard normal distribution, respectively.
Find a minimal sufficient statistic for the parameter .
登入後即可作答並保存紀錄。
核心觀念
本題考查「充分統計量」與「極小充分統計量」:
- 由 Neyman–Fisher 因子分解定理判斷充分性。
- 由似然比判準判斷極小充分性。
- 截斷分布的樣本支持集為 ,因此參數 會透過樣本中最小觀察值影響似然函數。
令樣本最小值為
解題方法:寫出聯合概似函數
由於 i.i.d.,聯合機率密度為
整理得
由
可得
因此,關於參數 的資料依賴性只透過 表現,依因子分解定理,
是 的充分統計量。
極小充分性的證明
第 4.ii 題10 分
Let be i.i.d. random samples from a truncated normal distribution with the PDF
and and are the PDF and CDF of the standard normal distribution, respectively.
Give a rejection region for the null hypothesis .
登入後即可作答並保存紀錄。
核心觀念
本題考查「截斷分布的支持集(support)」與假設檢定拒絕域的建立。
由題目可知,在參數為 的截斷常態分布下,每個樣本必須滿足
虛無假設為
因此在 成立時,所有樣本必須嚴格大於 。只要觀察到某個樣本小於或等於 ,即可直接否定 。
解題方法
令樣本最小值為
在 成立時,由於每個 ,且 ,必有
所以
因此,合理的拒絕域為
驗證其顯著水準:
原因是當 時,截斷常態分布的所有機率質量都位於 。故
第 4.iii 題10 分
Let be i.i.d. random samples from a truncated normal distribution with the PDF
and and are the PDF and CDF of the standard normal distribution, respectively.
If and for any , calculate the expectation value of and for and .
登入後即可作答並保存紀錄。
核心觀念
本題考查兩個重點:
- 下截斷常態分布的期望值
- 條件期望的塔式法則
令
並定義逆米爾斯比率(inverse Mills ratio)為
解題方法:計算
由題目給定的機率密度函數,
因此
令
當 時,,所以
拆開積分:
利用
以及
可得
代回 :