113 年 國立中山大學應用數學系碩士班甲組《統計與機率》
第 1 題15 分
Let X and Y be two nondegenerate random variables with finite variances. It is readily seen that is an unbiased estimator for . Instead of using , we consider an alternative estimator , where and are parameters. In the subsequent questions, please express your answers in terms of E, Var, and Cov.
(a) Find such that is an unbiased estimator.
(b) Find such that Var() is minimized.
(c) Find the percentage of variance reduction obtained by using instead of , that is,
based on and you found in (a) and (b).
登入後即可作答並保存紀錄。
本題主要在探討如何利用一個新的估計量來減少原估計量的變異數,並計算其變異數減少的百分比。這涉及到期望值與變異數的性質,以及如何利用參數來優化估計量。
核心觀念:估計量的期望值、變異數、共變異數性質,以及最小平方法。
解題步驟:
首先,我們需要理解估計量 的期望值和變異數。
給定 。
我們知道 且 Var(X) 和 Var(Y) 是有限的。
(a) 求 使 為不偏估計量:
一個估計量 是不偏估計量,如果 。
我們計算 的期望值:
為了使 成為 的不偏估計量,我們需要 。
由於 ,我們必須有:
所以,為了使 成為 的不偏估計量,參數 必須等於 。
(b) 求 使 Var() 最小化:
我們需要計算 Var() 並找到使之最小的 。
當 時,估計量變為 。
注意到 ,所以 。
同時,。由於 是常數,。
所以,
為了找到使 Var() 最小化的 ,我們對 取微分並令其為零:
第 2 題30 分
Let be i.i.d. uniform random variables on the unit interval .
(a) Find the joint cdf of the random vector .
(b) Find the joint cdf of the random vector .
(c) Find the pdf of .
(d) Find the pdf of .
登入後即可作答並保存紀錄。
核心觀念
本題綜合考查:
- 聯合累積分布函數的定義:
- 均勻分布的區間機率等於區間長度。
- 變數轉換法。
- 指數分布和 Gamma 分布的關係。
- 最大值、最小值與全距的分布。
以下令 為相互獨立且皆服從 。
(a) 的聯合 cdf
令
聯合 cdf 為
兩個條件同時成立,等價於
因此
定義
則
也可寫成
由於 ,此隨機向量的機率質量全部集中在直線 上,因此不存在二維通常意義下的聯合 pdf。
(b) 的聯合 cdf
令
聯合 cdf 為
第二個條件可改寫為
因此
因為 僅位於 ,實際有效區間為
均勻分布的機率等於區間長度,所以
其中
完整寫法為
此隨機向量滿足
所以其機率分布集中在直線 上,同樣不存在二維通常意義下的聯合 pdf。
快速判斷
- 若 或 ,cdf 為 。
- 若 且 ,cdf 為 。
- 中間情況就是直線區間
在 內的長度。
(c) 的 pdf
方法:取負對數轉成 Gamma 分布
令
先求 的分布。對 ,
由於對數函數單調遞增,
因此
所以
又因為 相互獨立,故 也相互獨立。令
則
其 pdf 為
另一方面,
因此
對 ,變數轉換為
故
第 3 題15 分
Let be i.i.d. continuous random samples from the cdf . Define the empirical cdf , where is the indicator function. Let be a constant.
(a) Find the asymptotic distribution of .
(b) Find an asymptotic 95% confidence interval for based on the result in (a). Please express your answer by using that satisfies .
(c) Find the covariance , where is another constant and .
登入後即可作答並保存紀錄。
本題主要考察經驗累積分布函數 (Empirical Cumulative Distribution Function, ECDF) 的性質,包括其漸近分布、信賴區間的建立,以及不同點上 ECDF 的共變異數。這是統計學中非常基礎且重要的概念,特別是關於 ECDF 的一致性與漸近常態性。
核心觀念:經驗累積分布函數 (ECDF)、大數法則 (Law of Large Numbers)、中央極限定理 (Central Limit Theorem)、漸近常態性 (Asymptotic Normality)、信賴區間 (Confidence Interval)、共變異數 (Covariance)。
解題步驟:
給定 是來自連續分佈 的 i.i.d. 樣本。
經驗累積分布函數定義為 。
是一個指示函數,其值為 1 若 ,否則為 0。
令 。
則 是一個伯努利隨機變數,參數為 。
.
.
(a) 求 的漸近分布:
根據大數法則,當 時,,即 ECDF 在點 上是一致估計量 (consistent estimator)。
我們感興趣的是 的行為。
令 。則 且 。
.
.
由於 是獨立同分布的隨機變數,且具有相同的均值 和變異數 ,
根據中央極限定理 (Central Limit Theorem),對於和或平均值的平方根倍數,當 足夠大時,其分布趨近於常態分布。
因此, 的漸近分布為常態分布,其均值為 0,變異數為 。
即,。
(b) 求 的漸近 95% 信賴區間:
根據 (a) 的結果,我們有:
這表示 也是漸近標準常態。
我們需要一個 95% 信賴區間,這意味著我們需要找到一個值 ,使得 。
對於 95% 的信心水準,,。
標準常態分布在 右側的面積為 0.025,即 。
通常,。
由漸近常態性,我們有:
我們使用 來估計 ,並使用 來估計標準差 。
第 4 題10 分
Let be i.i.d. random samples from the inverse Gaussian pdf
Find the maximum likelihood estimators for and .
登入後即可作答並保存紀錄。
核心觀念
本題考察最大概似估計法。對 i.i.d. 樣本 ,先建立概似函數
再取對數概似函數,分別對參數 與 微分,令一階導數為零,求得最大概似估計量。
為簡化計算,使用恆等式
解題方法
令觀察值為 ,則概似函數為
取對數概似函數:
利用上述恆等式,可寫成
其中 與 無關。
求
對 微分:
整理得
令一階導數等於零:
因此
求
對 微分:
令一階導數等於零:
所以,在 下,
進一步化簡分母:
第 5 題10 分
Let be i.i.d. normal random variables with mean and variance . Also, let be i.i.d. normal random variables with mean and variance . Suppose that the 's and 's are independent and the parameters and are unknown. Find the two-tailed t-test for testing the null hypothesis against the alternative hypothesis with the significance level . Please express your answer by using that satisfies , where is a Student t random variable with degrees of freedom.
登入後即可作答並保存紀錄。
本題要求建立一個關於兩組獨立常態分佈樣本均值相等的雙尾 t 檢定。此為統計學中常見的兩樣本 t 檢定問題,重點在於如何合併變異數估計,並建構檢定統計量。
核心觀念:兩樣本獨立 t 檢定、變異數合併、檢定統計量、顯著水準、臨界值。
解題步驟:
給定兩組獨立的常態隨機樣本:
其中 均未知。
我們要檢定虛無假設 對抗對立假設 。
顯著水準為 。
由於兩組樣本來自具有相同未知變異數 的常態分布,我們可以使用合併變異數 (pooled variance) 的方法來估計 。
首先,計算樣本均值和樣本變異數:
合併變異數的估計量 定義為:
這個合併變異數估計量 是 的一個無偏估計量。
當 為真時,檢定統計量 服從自由度為 的 t 分布。
檢定統計量的公式為:
在虛無假設 下,。
所以,檢定統計量為:
第 6 題10 分
Suppose that there are two people. Each of them tosses a fair coin times. Find the probability that they will toss the same number of heads. You must simplify your answer.
登入後即可作答並保存紀錄。
核心觀念
每個人的正面次數皆服從二項分配:
其中 、 分別代表兩人擲出正面的次數。由於兩人獨立,要求的事件為 。
對任意 ,單一個人恰好擲出 次正面的機率為
解題方法
兩人擲出相同數量的正面,表示兩人都恰好擲出 次正面,其中 可從 到 。
固定 時,由獨立性可得
將所有可能的 加總:
第 7 題10 分
Prove that if , where is the pdf of .
登入後即可作答並保存紀錄。
核心觀念
本題考察標準常態分配尾端機率的上界估計,亦稱為 Mills 不等式。
依題目慣例,令
其機率密度函數為
因此
關鍵微分關係為
解題方法
因為 ,對所有 皆有 ,故
將尾端機率改寫為
利用 ,得到
再由 ,
計算此積分: