113 年 國立臺灣大學經濟學系碩士班《統計學(A)》
第 1 題16 分
- (16 points) A retail chain has set each of its stores a target of earning 80,000 in bonuses.
(a) (8 points) Calculate the expected value and standard deviation of the number of stores that
will reach the revenue target.
(b) (8 points) Calculate the probability that the chain pays out more than $3 million in bonuses.
登入後即可作答並保存紀錄。
本題考驗對二項分配的理解及其應用,包含期望值、標準差的計算,以及機率的計算。
核心觀念:
- 二項分配 (Binomial Distribution):當試驗是獨立重複的伯努利試驗時,成功次數服從二項分配。
- 二項分配的期望值與標準差。
- 機率計算。
解題步驟:
令 為商店的總數,根據題目, 。
令 為單一商店達到營收目標的機率,根據題目, 。
令 為達到營收目標的商店數量。
由於各商店的表現是獨立的,且每家商店達到營收目標的機率相同,因此 服從參數為 和 的二項分配,記為 。
(a) 計算預期值與標準差:
對於二項分配 ,其期望值為 ,標準差為 。
期望值:
標準差:
【答案】
期望值為 40。
標準差為 。
(b) 計算獎金總額超過 3 百萬的機率:
每家達到營收目標的商店,其管理者可獲得 XX \times 80,000 > 3,000,000X > \frac{3,000,000}{80,000}X > \frac{300}{8}X > 37.5$
由於 必須是整數,所以我們需要計算 ,這相當於計算 $P(X \ge 38)
第 2 題18 分
- (18 points) The admissions office at a university is determining how much weight to put on an
applicant's high school GPA in making admissions decisions. It has collected the high school GPAs
(GPAHS) and the college first-year GPAs (GPAFY) of a random sample of 75 students who just
completed their first year at the university. Table 1 gives the summary statistics.
Assume that the sample satisfies the assumptions of the random sampling regression model. The
estimation results for the linear regression GPAFY; = Bo + B₁GPAHS; are summarized in Table 2.
Table 1: Summary Statistics
Variable Obs Mean S.D. Min Max
GPAFY 75 2.97 0.51 1.77 4.00
GPAHS 75 3.44 0.32 2.62 4.00
Table 2: Regression Estimates
Variable Estimate Std. Error
GPAHS 0.3109 0.1491
Constant 1.9046 0.5106
n = 75. The dependent variable is
GPAFY. Heteroskedasticity-robust stan-
dard errors are presented.
(a) (6 points) Do the data provide convincing evidence that a student's high-school GPA is asso-
ciated with his or her college first-year GPA? State the hypotheses and conduct the test at a
5% significance level.
(b) (6 points) A student improves her high-school GPA by 1.2. Construct a 90% confidence
interval for change in her college first-year GPA.
(c) (6 points) The office estimates a different model GPAHS; = 0 +Y1GPAFY; using the data.
Calculate the least-squares estimate of the slope coefficient 1.
登入後即可作答並保存紀錄。
本題考驗對線性迴歸模型的假設檢定、信賴區間建構,以及反向迴歸係數的計算。
核心觀念:
- 迴歸係數的顯著性檢定。
- 迴歸係數的信賴區間。
- 最小平方法 (OLS) 的性質,特別是係數的估計。
解題步驟:
給定的迴歸模型為 。
從 Table 2 可知,估計結果為:
。
(a) 檢定 GPAHS 與 GPAFY 是否相關:
我們要檢定的是 是否顯著不為零。
虛無假設 (GPAHS 與 GPAFY 無關)。
對立假設 (GPAHS 與 GPAFY 有關)。
檢定統計量為 t 檢定,其計算公式為:
在 下,,所以:
自由度 (degrees of freedom, df) 為 。
顯著水準為 。
由於是雙尾檢定,我們尋找自由度為 73 時, 的臨界值。
查 t 分配表,自由度為 70 時,臨界值約為 1.994;自由度為 80 時,臨界值約為 1.990。對於 73 的自由度,臨界值介於兩者之間,約為 1.992。
若 ,則拒絕 。
在此 case,。
因此,我們拒絕虛無假設 。
結論:在 5% 的顯著水準下,數據提供有力的證據顯示學生的 GPAHS 與其大學第一年的 GPAFY 顯著相關。
【答案】
虛無假設 。
對立假設 。
檢定統計量 。
自由度為 。
在 的顯著水準下,臨界值約為 。
因為 ,所以拒絕 。
數據提供有力的證據顯示學生的 GPAHS 與其大學第一年的 GPAFY 顯著相關。
(b) 建構 90% 信賴區間:
信賴區間的公式為:
由於是 90% 信賴區間,。
。
自由度為 。
查 t 分配表,自由度為 73, 的臨界值約為 1.665。
信賴區間:
區間下限:
區間上限:
此信賴區間是針對 GPAHS 變數每增加一個單位,GPAFY 平均變化的區間。
題目問的是「A student improves her high-school GPA by 1.2」,這指的是 GPAHS 的變化量為 。
那麼 GPAFY 的預期變化量為 。
第 3 題16 分
- (16 points) A chain of convenience stores wants the stores' stocks of bottled water to average 50
boxes at any given time, and plans to change its inventory policy if there is strong evidence that
such an average is not being maintained.
(a) (4 points) State appropriate null and alternative hypotheses in symbols and in words for this
scenario.
(b) (6 points) Suppose that the chain obtains the current bottled water inventories from 82 ran-
domly selected stores. The sample mean is 52.5 boxes, and sample standard deviation is 9.8
boxes. Find the p-value and evaluate whether to reject the null hypothesis using a significance
level of 0.05.
(c) (6 points) If the true mean inventory is 54 boxes, what is the probability that the test from
part (b) results in a Type II error?
登入後即可作答並保存紀錄。
本題考驗假設檢定的設定、p-value 的計算與判斷,以及 Type II 錯誤機率的計算。
核心觀念:
- 假設檢定的設定:虛無假設 () 與對立假設 ()。
- 單一樣本 t 檢定 (One-sample t-test)。
- p-value 的意義與判斷。
- Type II 錯誤 (Beta 錯誤) 的概念與計算。
解題步驟:
(a) 設定假設檢定:
目標是檢定商店瓶裝水的平均庫存量是否維持在 50 箱。
若平均庫存量不是 50 箱,則需要改變庫存政策。
因此,我們需要進行一個雙尾檢定。
虛無假設 : 瓶裝水的平均庫存量等於 50 箱。
符號表示:
對立假設 : 瓶裝水的平均庫存量不等於 50 箱。
符號表示:
【答案】
虛無假設 (瓶裝水的平均庫存量為 50 箱)。
對立假設 (瓶裝水的平均庫存量不為 50 箱)。
(b) 計算 p-value 並判斷是否拒絕 :
樣本大小 。
樣本均值 箱。
樣本標準差 箱。
顯著水準 。
由於母體標準差未知,且樣本大小 ,我們可以使用單一樣本 t 檢定。
檢定統計量 的計算公式為:
其中 是虛無假設下的母體均值,即 50。
計算檢定統計量:
自由度 (df) 為 。
接下來計算 p-value。p-value 是在 為真時,觀察到比樣本結果更極端(或同等極端)的檢定統計量的機率。
由於這是雙尾檢定,p-value 為 ,其中 代表自由度為 81 的 t 分配。
p-value 。
查 t 分配表,自由度為 80 時,臨界值:
我們的檢定統計量 介於 和 之間。
因此,單尾機率 介於 和 之間。
p-value ,所以 p-value 介於 和 之間。
精確計算 p-value:使用軟體計算,p-value 。
判斷是否拒絕 :
比較 p-value 與顯著水準 。
若 p-value ,則拒絕 。
在此 case,p-value 。
因此,我們拒絕虛無假設 。
第 4 題30 分
- (30 points) Please answer the following questions with either "True" or "False," then briefly justify
your answers. Answers without justifications will receive no points.
{y}-1 are random variables such that for i = 1, 2, ..., n, E(yi) = bo+b1xi1+b2xi2+b3x13 for some
b = [bo, b1, b2, b3], where {x}-1 = {[1, Xil, Li, Xi3]}-1 are non-random and not multicollinear,
var(yi) = o, and corr(yi, yj) = p for j≠i.
(a) (6 points) Suppose that p≠0. Then bors = [60, 61, 62, 63]T, the ordinary least squares (OLS)
estimator, is a biased estimator for b.
(b) (6 points) If we have a sample size n = 500, then boLS = [60, 61, 62, 63], the OLS estimator
for b, is normally-distributed in general.
(c) (6 points) In the beginning we said that {x}-1 = {[1, Til, Ti2, Xi3]}=1 are not multicollinear.
It is important because weird things happen when the independent variables are multicollinear.
For example, if 211 = 2x12, then b₁ = 0.562.
(d) (6 points) Consider the Eicker-White variance-covariance matrix estimator
-1
n
D =
T
XiX
i=1
i=1
n
-1
1
i=1
where ê; = yi - xbors is the residual. Suppose that p = 0, i.e., {y}=1 are homoskedastic.
Then D is an inconsistent estimator for the variance-covariance matrix of bors.
In
(e) (6 points) Suppose that {2i1, Ti2, Xi3}=1 are random variables. Consider two models.
YiCo + C1Xil + Ui,
Yi = do + dixi1 + d2x12 + Vi.
(Model 1)
(Model 2)
We estimate both models by the OLS estimator. Suppose ĉ₁, the OLS estimate for c₁ in Model
1, is numerically equivalent to d₁, the OLS estimate for d₁ in Model 2, then we can conclude
that {1} and {22}-1 are independent.
登入後即可作答並保存紀錄。
核心觀念
本題綜合考查:
- OLS 估計量的無偏性與誤差相關。
- OLS 估計量的常態分配條件。
- 完全多重共線性。
- Eicker–White 異質變異數一致估計量。
- 加入控制變數前後的 OLS 係數,以及「樣本不相關」與「獨立」的差異。
令
其中 為固定且滿秩的設計矩陣。OLS 估計量為
(a)錯誤
題述:「若 ,則 OLS 估計量是 的有偏估計量。」
OLS 的期望值為
只要滿足外生性條件
就有
因此,誤差項之間具有相關性,即
會影響 OLS 估計量的變異數與標準誤,卻不會單獨造成偏誤。
當誤差變異數為 ,且任兩個不同誤差的相關係數為 時,
這會使得
其中 不再是對角矩陣,但不改變無偏性。
(b)錯誤
題述:「樣本數 時,OLS 估計量一般服從常態分配。」
OLS 估計量是誤差項的線性組合:
若誤差向量 本身服從多變量常態分配,則 才能確定服從多變量常態分配:
題目並未假設誤差項服從常態分配,因此即使 ,也不能說 OLS 估計量「一般」服從常態分配。
大樣本下,在適當正則條件成立時,中央極限定理可使 OLS 估計量「漸近近似」常態,但這不等於有限樣本下必然為常態分配。
(c)錯誤
題述:「若 ,則 。」
若對所有 都有
則設計矩陣中的兩個欄向量完全線性相關:
此時 不具滿欄秩,因而
不可逆,標準 OLS 估計量
不存在唯一解。
更具體地說,模型中的兩項為
資料只能辨識組合 ,無法分別辨識 與 。因此不能由此推出 。
(d)錯誤
Eicker–White 變異數共變異數矩陣估計量的形式為
第 5 題8 分
- (8 points) Consider the following dynamic panel model. For i = 1, 2, ..., n and t = 1, 2, ..., T,
Yi,tai + BYi,t-1 + Ei,t,
where |8| < 1, and {ei,t} are independent and identically distributed (i.i.d.) with a finite second
moment. To eliminate the heterogeneous intercepts {a}, we take the first difference:
Yi,t = BAYi,t-1 + Ali,t,
where Ayi,t = Yi,t - Yi,t--1. Let
BFD = Σ1 Σ1-2 (Ayi,t-1) (Yi,t)
Σ1 Σ1-2 (Ayi,t-1)2
T
Suppose that n → ∞ while T is fixed. Is BFD a consistent estimator for ß? Justify your answer.
Answers without justifications will receive no points.
登入後即可作答並保存紀錄。
本題考驗對動態面板模型 (Dynamic Panel Model) 中差分估計量一致性的理解。
核心觀念:
- 動態面板模型。
- 異質截距 (Heterogeneous Intercepts)。
- 差分法 (First Differencing)。
- 一致性估計量 (Consistent Estimator)。
- 大樣本性質。
解題步驟:
給定的模型是:
,其中 , 。
且 是 i.i.d. 且有有限二階矩。
是異質截距。
為了消除異質截距 ,我們取一階差分:
其中 且 。
這個差分後的模型是一個新的迴歸模型,其形式為:
其中 (這裡的 應該是指時間索引,而 是個體索引。題目中的 符號似乎是針對個體 和時間 進行的,我們假設是總和)。
題目中給的估計量是:
這是一個基於差分的普通最小平方法 (OLS) 估計量。
它相當於在模型 上進行迴歸。
我們要判斷 是否為 的一致估計量,在 而 固定時。
一致性是指當樣本量趨於無限大時,估計量趨近於真實參數。
對於 OLS 估計量,在模型 下,如果滿足某些條件,它通常會是一致的。
這裡的模型是 。
在總和形式下,相當於 。
所以,。
為了判斷一致性,我們需要看當 (T 固定) 時,第二項是否趨近於 0。
考慮分子:。
由於 是固定的,我們可以將其視為 個獨立同分佈(近似)的隨機變數之和(如果我們假設個體 是獨立的)。
令 。
那麼分子是 。
考慮分母:。
令 。
那麼分母是 。
我們需要檢查 和 。
。
由於 是 i.i.d.,且 ,模型是穩定的。
是過去的 值和 值的一個函數。
關鍵在於 和 之間的協方差。
。
。
由於 是 i.i.d.,對於 和 之外的時間點,它們的期望是 0。
(因為 只依賴於 for 和 )。
(同理)。
所以,
第 6 題12 分
- (12 points) Suppose that are generated according to
Yi = Boxi + Ei,
where {[xi, 6]}1 are independent and identically distributed (i.i.d.) random vectors such that
E(x) = μα, E(€) = 0, var(x) = 2, var(€) = 02, and E(xii) = 0.
Unfortunately, {i}=1 cannot be observed directly. Instead, we observe {wi}=1 and {z}=1 with
WiXi + Ui, and zi = Xi + Vi,
where {u}=1 and {v}=1 are i.i.d. random variables such that E(uz) = E(uixi) = E(vii) = 0,
var(u) = σ2, E(v) = E(vixi) = E(vii) = 0, var(vi) = 0, and E(uv) = 0.
(a) (6 points) Regress yi on wi without intercept and obtain the ordinary least squares (OLS)
estimate ß. Determine the probability limit of ß.
(b) (6 points) How would you estimate Bo consistently? Write down your estimator and briefly
justify your answer. Answers without justifications will receive no points.
登入後即可作答並保存紀錄。
核心觀念
本題考查兩個觀念:
- 測量誤差造成的解釋變數內生性與 OLS 偏誤。
- 工具變數法(Instrumental Variables, IV)如何利用另一個帶有獨立測量誤差的變數,消除 OLS 的測量誤差偏誤。
模型為
但真正的 無法觀察,只能觀察到
其中 與 分別是測量誤差,且根據題目條件,測量誤差彼此獨立,並且與 、 不相關。
記
因此
(a)以 對 做無截距 OLS
無截距 OLS 估計量為
由大數法則,
先計算分子:
由題目條件,
所以
再計算分母:
因為 、,且
故
因此
若 的平均數為零,即 ,則簡化為
這是典型的測量誤差衰減偏誤(attenuation bias)。當 時,估計係數的絕對值通常被壓向零。