111 年 國立臺灣大學財務金融研究所乙組《統計學(I)》
第 1 題
The number of red chips and white chips in an urn is not known, but it is known that the proportion, , of reds is either , , , or . A sample of size 5, drawn with replacement, yields the sequence red, white, red, white, white. The MLE for is:
(A)
(B)
(C)
(D)
(E)
登入後即可作答並保存紀錄。
核心觀念
- 最大概似估計 (MLE):在參數空間中找出使觀測資料概似函數最大的參數值。
- 概似函數:對於以「放回抽樣」得到的二元序列,若紅球比例為 ,則觀測到 個紅球、 個白球的概似為
- 離散參數集合:本題的 只能是 中的四個值,故直接比較這四個候選值的概似即可。
解題方法
- 先統計樣本:抽樣次數 ,觀測序列為 紅、白、紅、白、白,故
- 寫出概似函數(只與 有關)
- 分別代入四個可能的 值,計算概似大小(可直接算分子分母或取對數比較):
| 數值 (近似) | ||
|---|---|---|
第 2 題
Let be an IID sequence of random variables drawn from a normal distribution . Define . Suppose that is the standard normal distribution (). What is the probability that ?
(A)
(B)
(C)
(D)
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
- 常態分布的線性組合:若 且獨立,任何線性組合 仍為常態分布,且
- 樣本平均數 與單一觀測值的關係: 包含 ,因此 與 不獨立,但 與其他 獨立。
- 標準化:將欲計算的隨機變數除以其標準差,可轉換為標準常態 ,再利用正態分布表或電腦求機率。
解題方法
- 寫出差值
- 求分布
- 與 分別為常態且相互獨立(因 與 獨立)。
- 平均值
- 變異數
- 除以 後
- 標準化
- 將事件寫成 的區間
第 3 題
Suppose we want to examine a policy effect on manufacturing output growth in 1960s. There is a policy that affected some cities starting 1965 in the US. Assume that the city-year level manufacturing output growth, , follows the model below:
where is the city fixed effect; is the year fixed effect, ;
, .
Which of the following is true?
(A) The expectation on the output growth of a city that is not affected by the policy in year is .
(B) captures the average difference in the absolute value of output growth in the entire sample period between cities affected by the policy and cities not affected by the policy.
(C) Some cities may intrinsically enjoy different output growth. This difference will be reflected by .
(D) Before 1965, cities with and without the policy should have the same expectation on the output growth: .
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
本題考驗對固定效果模型 (Fixed Effects Model) 的理解,特別是政策變數的解釋及其與模型參數的關係。
模型為:
其中:
- : 城市 在年份 的製造業產出成長率。
- : 城市 的固定效果 (city fixed effect),代表城市本身的特徵對產出成長的長期影響,與年份無關。
- : 年份 的固定效果 (year fixed effect),代表該年份整體對產出成長的影響,與城市無關。
- : 政策變數,定義為:
- 如果城市 在年份 受政策影響(即 且城市 被政策影響)。
- 否則。
- : 隨機誤差項,服從 ,假設獨立同分佈。
我們需要評估每個選項的正確性。
選項 (A): 「The expectation on the output growth of a city that is not affected by the policy in year is 。」
- 城市 不受政策影響 (city is not affected by the policy)。這意味著對於所有年份 ,城市 的 都是 0。
- 年份 。
- 在這種情況下,(因為城市 不受政策影響,即使 )。
- 模型中的期望值是 。
- 由於 的期望值為 0,所以 。
- 選項 (A) 說期望值是 ,這是錯誤的。
選項 (B): 「 captures the average difference in the absolute value of output growth in the entire sample period between cities affected by the policy and cities not affected by the policy.」
- 是政策變數 的係數。
- 的定義是:當城市 在年份 受政策影響時為 1,否則為 0。
第 4 題
A random variable is normally distributed, . A sample of size is drawn and yields: , and , where . We would like to test the following hypothesis: and . We are given that , , , and , where is the -statistic with degrees of freedom and cumulative probability of . Which of the following is true?
(A) We cannot reject the null at 90% confidence level.
(B) We can reject the null at 90% confidence level but not at 95% confidence level.
(C) We can reject the null at 95% confidence level but not at 97.5% confidence level.
(D) We can reject the null at 97.5% confidence level but not at 99% confidence level.
(E) We can reject the null at 99% confidence level.
登入後即可作答並保存紀錄。
核心觀念
- 正態母體 ,樣本大小 為已知,採用 t 檢定(當母體變異數未知且以樣本變異數代替時)。
- 雙側檢定 vs. ,檢定統計量
- 以給定的臨界值 (累積機率 )判斷是否拒絕 :
- 信賴水準 ⇒ ,臨界值 。
- 信賴水準 ⇒ ,臨界值 。
- 、 同理,需要 、,雖未直接給出,但可利用已知值作比較判斷。
解題方法與實際計算
- 計算樣本平均與樣本標準差
樣本變異數
- 算出 t 統計量
自由度 。
- 與臨界值比較
| 信賴水準 | (雙側) | 臨界值 | 判斷 |
|---|---|---|---|
| 90% | 0.10 | $ | |
| 95% | 0.05 | $ |
第 5 題
Consider a normal distribution of the form . You want to test the hypothesis that against the alternative . A random sample was obtained.
Suppose you would like to test the above one-sided hypothesis using a 5% level of significance. How would you test it?
(A) Set up a Z test where and reject the null if .
(B) Set up a Z test where and reject the null if .
(C) Set up a Z test where and reject the null if .
(D) Set up a Z test where and reject the null if .
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
本題考驗對單尾 Z-檢定的設定,包括檢定統計量的計算以及拒絕域的確定。
題目給定:
- 母體分佈為常態分佈 。
- 題目中給定的變異數是 。根據常態分佈的標準表示法 ,這裡的 應該是 。所以 。
- 虛無假設 。
- 對立假設 (這是一個右尾檢定)。
- 顯著水準 。
- 樣本大小為 (未給定具體數值,但會出現在公式中)。
- 我們需要確定檢定統計量 的形式以及拒絕域。
由於母體變異數 是已知的,我們可以使用 Z-檢定。
檢定統計量 的計算公式為:
其中 是樣本均值, 是虛無假設中的母體均值, 是樣本均值的標準誤。
樣本均值的標準誤為:
由於 ,所以 。
第 6 題
Follow the previous question, denote as the CDF of normal distribution. Provide the power of this test at where .
(A)
(B)
(C)
(D)
(E)
登入後即可作答並保存紀錄。
核心觀念
- 假設檢定的型別:本題屬於已知變異數的單側 (右側) 檢定。
- 虛無假設
- 對立假設
- 檢定統計量:
其中 為樣本平均, 為已知母體變異數。
3. 臨界值:採用顯著水準 (單側右尾),其標準常態上 5% 分位點為
因此 拒絕域 為
- 檢定力 (Power) 的定義:在真實參數為 ()時,檢定正確拒絕虛無假設的機率
解題步驟
- 寫出樣本平均的分布
在真實均值 下,
- 將拒絕條件以 表示
- 計算在 處的機率
最後一步利用 。
- 整理成標準形式
第 7 題
Bob is testing the following empirical model using a sample of 1,500 observations:
.
He found that the F-statistic of the joint test for the entire model is 300. He now considers expressing the model's strength using (unadjusted) R-square. Please calculate the R-square value for him.
(A) 0.376
(B) 0.445
(C) 0.501
(D) 0.668
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
本題考驗 統計量與 (決定係數) 之間的關係。
模型為:
樣本大小 。
這是一個包含截距項的迴歸模型。
自變數的數目為 (即 )。
模型的總參數個數為 (包括截距項 )。
題目給定:
- 整個模型的 統計量為 。
- 這個 統計量是用來檢定所有迴歸係數是否同時為零的假設。
Not all are zero for .
統計量的計算公式為:
其中:
- (Sum of Squares due to Regression) 是迴歸平方和。
- (Sum of Squared Errors) 是殘差平方和。
- 是迴歸的自由度,在這裡是 。
- 是殘差的自由度,在這裡是 。
(決定係數) 的定義為:
其中 是總平方和。
我們可以將 的公式改寫成與 相關的形式:
將 代入:
第 8 題
In the two-variable model:
, .
Suppose that , , , , and , where , and are the column vectors with typical elements , and respectively. Furthermore, , , and are the transpose of , and respectively. Assume .
You are considering of testing the following hypotheses: . Please calculate the test statistic: .
Note: To calculate the standard errors, please estimate the variance-covariance matrix of as where is the residual sum of squares divided by the degree of freedom and .
(A) 1.0
(B) 1.5
(C) 2.0
(D) 2.5
(E) 3.0
登入後即可作答並保存紀錄。
核心觀念
- 普通最小平方法 (OLS):在多元線性迴歸
估計式為 。
2. 變異數–共變異數矩陣:
其中 (RSS 為殘差平方和, 為觀測數, 為參數個數)。
3. t 統計量:
解題方法
- 寫出 與
其中 為題目未顯示的常數,稍後再求。
- 求
- 算
只要 ,。
因此 與 無關。
- 求殘差平方和 (RSS)
第 9 題
Consider 4 events, A, B, C, D. . . . Which of the following is possible?
(A)
(B) A and D are independent.
(C)
(D)
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
- 機率公理:各事件的機率均在 ,任意兩事件的交集不可大於各自的邊際機率。
- 容斥原理:
若兩交集互不相交,聯合機率即為各交集機率之和。 - 相容性條件:所有互斥且已知為 的交集會使相關的三元交集亦必為 ,因此只須考慮允許的兩兩交集。
解題方法
設
其餘兩兩交集皆已知為 ,且所有三元、四元交集皆為 (因任一包含已知為 的二元交集即為 )。
將每個事件的機率拆成「僅屬於該事件」的部分與交集的部分:
其中 為只屬於各事件的「排他部份」,必須非負。
因此得到界限
全體概率(所有排他部份加上已知交集)為
全體概率不得大於 ,故
綜合得到可行區域
只要在此區域內選取 ,即可構造符合所有條件的機率模型。
選項分析
第 10 題
and are independent random variables. and . and are real numbers. is given by: . Which of the following is the correlation coefficient between variable and ?
(A)
(B)
(C)
(D)
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
- 相關係數 定義為
- 若 與 獨立,且 ,則
因為常數 與獨立變數 與 的協方差皆為 。 - 的變異數為
兩項因為獨立而直接相加。
解題方法
-
計算 與 的協方差:
-
計算 的標準差:
-
代入相關係數公式:
選項分析
| 選項 | 內容 | 與正確式子的比較 | 判斷 |
|---|---|---|---|
| (A) | 分母缺少 ,實際上等於 |
第 11 題
Let be a -distributed random variable, and be a -distributed random variable for some positive integer . Suppose that and are independent. Please calculate and .
(A) and
(B) and
(C) and
(D) and
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
這題是統計學中關於「隨機變數函數期望值」與「獨立性應用」的經典考題,核心觀念在於利用獨立隨機變數的乘積期望值等於期望值的乘積這一性質,將複雜的聯合期望值拆解為單變數的動差(Moments)計算。解題關鍵在於熟記標準常態分配 與卡方分配 的各階動差公式,特別是高階動差如 與 的推導或記憶,這往往是考生容易混淆或計算錯誤的地方。
以下是完整解題過程:
解題步驟分析
1. 利用獨立性拆解期望值
題目給定 且 ,並明確指出 與 相互獨立(independent)。
根據獨立隨機變數的性質,若 與 獨立,則對於任意函數 與 ,皆有 。
因此,我們可以將題目要求的兩個期望值拆解如下:
接下來我們分別計算 與 所需的各階動差。
2. 計算 的動差 ()
對於標準常態分配 :
- 期望值 。
- 變異數 。
由於 ,故 。 - 第四階動差 :
標準常態分配的偶數階動差公式為 。
當 時,。
第 12 題
Let be a sequence of IID random vectors, where . Suppose that we have a multiple linear regression:
for . Denote . Assume that , where is the identity matrix. Let be the conditional density function of implied by this regression, with , and let and be the maximum likelihood estimators for and , respectively, defined by maximizing the objective function:
Which of the following is right?
(A) and
(B) and
(C) and
(D) and
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
解題方法
圖中第 12 題給的是無截距的多元線性迴歸 ,並假設給定所有 後,誤差向量服從 。第 12 題的選項列出 的期望值;以下依迴歸模型的標準可估性條件,假設設計矩陣 滿列秩 。
令 。常態模型的對數概似函數(略去與參數無關的常數)為
對 最大化概似函數,等同於最小化殘差平方和,因此
代入 ,在給定 下有
所以
再對 最大化概似函數,可得
其中 是殘差投影矩陣。其秩為 。因為給定 時 ,
因此
第 13 題
Let and be two random variables with finite variances. Suppose that we have a misspecified regression:
with for some . Let be a prediction of generated from , and let be the mean squared error (MSE) of this prediction. We also let be the optimal choice of which minimizes the MSE. Which of the following is right?
(A)
(B)
(C)
(D)
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
由 來預測 、並以均方誤差 衡量預測好壞時,最佳預測函數是條件期望:
也就是說,給定 後,預測值應取 的條件平均。
解題方法
原卷第 5 頁第 13 題給定 ,且 ,並要求找出使 MSE 最小的 。將平方誤差對 取條件期望,可得
其中 不會隨 改變,因此要使條件 MSE 最小,必須令 。由題目模型,
第 14 題
Let be an IID sequence of normal random variables with and . Denote , , and . Which of the following is right?
(A) degenerates to zero, as
(B) degenerates to zero, as
(C) degenerates to zero, as
(D) degenerates to zero, as
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
第 15 題
Let be a random variable that has the probability density function:
where and is the parameter. In addition, we define and . Which of the following is right?
(A) and
(B) and
(C) and
(D) and
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
本題考的是參數化機率密度的分數函數與二階對數概似導數的期望。令 ,則題目定義的 是分數函數,而 。
由密度函數的正規化條件 ,對參數微分可得:
解題方法
原卷給的是自由度參數為 的 分配密度,並定義 為對數密度的一階參數導數、 為一階導數平方加上二階導數。由於密度對 可微,對正規化條件微分即可,不必逐項展開伽瑪函數與冪次項。
先對 微分:
又因為 ,所以
再微分一次。利用
第 16 題
Let be the identity matrix, and be an matrix with :
in which the 's are independent and -distributed random variables. Note that is the transpose of . Suppose that is positive definite. Denote , , , and . Please calculate and .
(A) and
(B) and
(C) and
(D) and
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
是投影到 的欄空間上的投影矩陣;在 正定時, 的欄秩為 ,所以 對稱且冪等,並有 。因此 也是對稱冪等矩陣,投影到 的正交補空間,秩為 。
解題方法
依原卷圖, 是 矩陣,元素相互獨立且服從 ,並假設 正定;題目定義 、,要求 與 。
由 的冪等性 ,可得
因此
又因 ,且 、 都是對稱矩陣, 也是對稱矩陣。並且
所以
第 17 題
Let be an IID sequence of random variables, and let be another IID sequence of random variables. In addition, is independent of , and we define . Consider a simple linear regression:
where and are regression coefficients, and is a zero-mean error. Let and be the ordinary least squares estimators for and , respectively. Suppose that and are, respectively, consistent for and as . Please calculate and .
(A) and
(B) and
(C) and
(D) and
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
這題考的是簡單線性迴歸的母體線性投影係數。在大樣本下,最小平方法估計量收斂至:
這裡的 是以 線性預測 時的母體截距與斜率。
解題方法
圖中第 17 題給定 與 分別為標準常態 IID 序列,且兩序列相互獨立,並定義 。因此以母體線性投影公式計算截距與斜率即可。
由標準常態分配的動差,
先求 的期望:
再求斜率。因為 、,
代入 並利用 獨立:
第 18 題
Let be an IID sequence of trivariate normal random variables. The mean vector and the covariance matrix of are unknown. Consider the following linear regression:
where is a zero-mean error. Let be the p-value of the statistic for the following hypotheses:
Please calculate the third and fourth moments of under .
(A) and
(B) and
(C) and
(D) and
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
本題考查虛無假設成立時,連續檢定統計量所對應的 值服從均勻分配。若 ,則其第 階動差為
解題方法
依原卷圖中第 18 題,資料為三變量常態的獨立同分配樣本,模型含截距與兩個解釋變數,檢定為 對 。在常態模型及設計矩陣滿秩的條件下,虛無假設成立時,對 的 統計量服從中心 分配;設其累積分配函數為 ,則單尾 值為 。
由連續分配的機率積分轉換,,因此 也服從 。代入 與 :
第 19 題
Let be an IID sequence of random variables with zero mean and variance . Define . Let be the moment generating function of the statistic , and be the moment generating function of the random variable . We also let be an arbitrary real number. Which of the following is right?
(A)
(B)
(C)
(D)
(E) None of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
本題考的是動差生成函數(MGF)的定義,以及獨立隨機變數和的 MGF 乘積性。若 獨立同分布,則
解題方法
依原卷, 為平均數為 、變異數為 的 IID 隨機變數,;題目要找統計量 的 MGF。先把統計量寫成各 的線性組合:
依 MGF 定義,
第 20 題
Let and be two sequences of IID normal random variables. Consider a simple linear regression:
where is a zero-mean error. Let be the ordinary least squares estimator for . Denote the fitted value , the residual , and the sample averages:
We also define
and let be the sample correlation coefficient of . Which of the following is right?
(A)
(B)
(C)
(D)
(E) All of the above choices (a)-(d).
登入後即可作答並保存紀錄。
核心觀念
本題考的是沒有截距項的簡單線性迴歸。模型為 ,最小平方法只保證殘差與解釋變數正交:
因為模型沒有截距,並不保證殘差總和為零;以樣本平均數計算的 也不能直接套用含截距迴歸的常見性質。
解題方法
原卷圖中列出的模型沒有截距項,殘差定義為 ;圖中 的分母是以 為中心的總平方和。先由最小平方法的一階條件判斷選項,再檢查其餘敘述是否為此模型必然成立的性質。
最小化殘差平方和
對 微分並令其為零:
因此
這正是選項 (C)。
選項分析
(A) 錯。 沒有截距項時,最小平方法不保證殘差平均數為零。以 、、 為例,
殘差總和不為零。