108 年 國立中山大學應用數學系碩士班甲組《機率與統計》
第 1 題
- (10%) An automobile insurance company has a policy that reimburses a loss up to a
benefit limit of 10. This is to say that if the loss is under 10, then the loss is fully paid.
If the loss is more than 10, then only 10 is paid.
Assume that the loss of a policyholder, X, follows a distribution with the pdf f(x) =
if ; f(x) = 0, otherwise.
Please calculate the expectation of the benefit paid by the insurance company under
the policy described above.
登入後即可作答並保存紀錄。
此題考驗對機率密度函數的理解以及期望值的計算,特別是當隨機變數經過函數轉換後的期望值計算。
首先,我們定義隨機變數 為損失金額,其機率密度函數 (pdf) 為 for ,其他情況下為 0。
保險公司支付的金額 是根據損失金額 來決定的:
如果 ,則支付 。
如果 ,則支付 。
我們需要計算保險公司支付金額的期望值 。
根據期望值的定義,對於一個由 轉換而來的隨機變數 ,其期望值為 。
在本題中, 是描述保險支付金額的函數。我們可以將 表示為:
因此,期望值 可以計算如下:
由於 的定義域是 ,我們將積分範圍限制在 。同時,我們需要根據 的定義將積分分割成兩部分:當 和當 。
代入 :
計算第一個積分:
第 2 題20 分
- (20%, 10% each) are i.i.d. continuous random variables with pdf and cdf . Define the survival function and empirical survival func-
tion , where is the indicator function. Let . Please answer
the following questions. (a) Calculate . (b) Find the asymptotic joint
distribution of and .
登入後即可作答並保存紀錄。
本題考查經驗生存函數(empirical survival function)的共變異數計算與多變量中央極限定理(Multivariate Central Limit Theorem)的應用。
(a) 計算
對任意 ,指示函數 服從參數為 的白努利分佈(Bernoulli distribution),因此
由共變異數的雙線性性質展開:
因為 互相獨立(i.i.d.),當 時, 與 亦互相獨立,故 。僅需保留 的項:
由於題設 ,事件 包含於 之中,因此 ,可得
代回上式即得:
(b) 求 與 的漸近聯合分佈
令二維隨機向量
因為 為 i.i.d.,故 為獨立同分佈的二維隨機向量,其樣本平均向量為
計算 的期望值向量 與共變異數矩陣 :
- 期望值向量:
第 3 題20 分
- (20% 10% each) are i.i.d. random variables with uniform distribution on
[3,6] (i.e. Unif[3,6]). Denote the order statistic by . (a) Please
calculate the variance of .
(b) Please prove that converges to 6 in probability.
登入後即可作答並保存紀錄。
設 ,其機率密度函數(pdf)與累積分布函數(cdf)分別為:
(a) 計算
令標準化變數 (),則 ,且線性變換保持順序不變,故
對於 (),其 pdf 為
即 。利用 Beta 函數 (對正整數 成立),計算 的一階與二階動差:
因此,
代回 ,即得
(b) 證明 依機率收斂至 ()
依機率收斂的定義,需證明對任意給定的 ,皆有
第 4 題20 分
- (20%, 10% each) are i.i.d. normal random variables with unknown mean and unknown variance . are i.i.d. normal random variables with unknown mean and unknown variance . are i.i.d. normal random variables with unknown mean and unknown variance . Let and are the sample means for and , respectively. (a) Please derive the likelihood ratio test for testing the null hypothesis against the alternative hypothesis that at least one of the means is different from others.
(b) Please calculate the confidence interval for .
登入後即可作答並保存紀錄。
核心觀念
本題考查三組獨立常態母體在共同未知變異數 下的推論:
- 概似比檢定(Likelihood Ratio Test, LRT):分別求受限模型()與非受限模型()下的最大概似估計(MLE),並將概似比統計量 等價轉換為單因子變異數分析(One-way ANOVA)的 檢定統計量。
- 線性組合母體平均數的 信賴區間:利用三組樣本平均數的線性組合與合併樣本變異數(pooled variance) 的獨立性構造 樞紐量(pivotal quantity)。
依題意,三組樣本數皆為 (總樣本數為 ),樣本平均數分別為
(a) 概似比檢定(Likelihood Ratio Test)
1. 非受限模型(全參數空間 )
在全參數空間 下,聯合概似函數為
取對數得對數概似函數:
對 偏微分並令為 ,得最大概似估計:
定義組內平方和(Within-group sum of squares):
再對 偏微分並令為 :
代回概似函數得非受限模型之最大概似值:
2. 受限模型(虛無假設 )
在 下,受限參數空間為 。對數概似函數為
對 偏微分並令為 ,得受限模型下的最大概似估計(總樣本平均數):
定義總平方和(Total sum of squares):
由平方和分解可知 ,其中組間平方和(Between-group sum of squares)為
對 偏微分並令為 ,得受限模型下變異數的最大概似估計:
代回概似函數得受限模型之最大概似值:
3. 概似比統計量與檢定拒絕域
概似比統計量為
概似比檢定在 時拒絕 ,等價於 過大,亦即
當 成立時,由常態樣本之平方和性質與 Cochran 定理:
- ,
- ,
- 與 相互獨立。
因此,在 下:
故在顯著水準 下,概似比檢定的拒絕域為
其中 表示自由度為 之 分配右尾面積為 的臨界值。
(b) 的 信賴區間
1. 點估計與抽樣分配
令待估計參數為 ,取不偏點估計量
第 5 題15 分
- (15%) Let X and Y are i.i.d. normal random variables with mean and variance .
Z = X + 3Y. Please find so that reaches minimum (f(Z) is a
function of Z). Please express your answer using and and Z.
登入後即可作答並保存紀錄。
此題考驗對條件期望值的理解,以及如何最小化條件均方誤差。
給定 和 是 i.i.d. 的常態隨機變數,具有相同的均值 和變異數 。
。
我們需要找到一個函數 ,使得 最小。
考慮條件均方誤差 (Conditional Mean Squared Error, CMSE):
。
對於給定的 ,我們希望最小化 。
這是一個關於 的最小化問題。
我們知道,對於一個隨機變數 ,為了最小化 ,常數 應該取 。
在這裡,我們是在給定 的條件下,最小化 。
因此, 應該取為 。
所以,我們需要計算 。
首先,計算 的均值和變異數。
。
由於 和 是獨立的,
。
所以,。
現在,我們需要計算 。
由於 和 都是常態隨機變數的線性組合,它們的聯合分佈也是聯合常態分佈。
我們知道,對於聯合常態分佈 ,條件期望值 是 的線性函數。
。
計算 :
由於 和 是獨立的,
因為 和 是獨立的。
所以,。
第 6 題15 分
- (15%) are i.i.d. normal random variables with mean and variance . To
estimate , for what value of c does has the smallest mean squared
error? Prove your answer.
登入後即可作答並保存紀錄。
設 ,令估計量 ,其中 。
-
特殊情形():
當 時,,故 ,此時對任意常數 皆有 ,其均方誤差(MSE)恆為 ,與 無關。 -
一般情形():
由常態抽樣分配定理(Cochran 定理),離均差平方和經 標準化後服從自由度為 的卡方分配:
因此 且 。將 表為 ,計算其期望值、偏差(Bias)與變異數:
利用均方誤差分解公式 :