108 年 國立臺北大學經濟學系碩士班《統計學(含計量經濟學)》
第 1 題
A couple has the same chance to give birth to a boy and a girl, and decides to have 3 children. If none of the 3 is a girl,
they will try again; and if they still don't get a girl, they will try once more. If the random variable X denotes the number
of children the couple will have following this scheme, then what is the expected value of X ?
(1)
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 幾何分配的概念;
- 互斥事件的機率計算;
- 期望值的線性性質。
每次生育 3 名子女,若 3 人全為男孩,才會進行下一輪。單一輪中「至少有 1 名女孩」的機率為
「3 人全為男孩」的機率為
最多進行 3 輪,因此 的可能值為 。
解題方法
令 表示實際進行的輪數,則
分別計算 的機率:
- 第一輪出現女孩即停止:
- 第一輪全為男孩,第二輪出現女孩:
- 前兩輪皆全為男孩,才進行第三輪:
第三輪不論結果為何都會停止,因為題目規定最多再試一次。
因此,
第 2 題
Let X be a random variable with density function , . Then, the variance of X, Var (X), equals
(2)
登入後即可作答並保存紀錄。
這題考驗對機率密度函數的理解,以及計算隨機變數的期望值和變異數。
首先,我們需要驗證給定的函數 在區間 上的確是個合法的機率密度函數 (PDF)。
一個函數 若為 PDF,必須滿足兩個條件:
- 對所有 。
- 。
給定的函數是 ,其定義域是 ,即 。
在這個區間內:
- 當 時,,所以 。
-當 時,,所以 。
驗證條件 1:
- 當 時,。由於 ,所以 。
-當 時,。由於 ,所以 。
因此, 對於 成立。
驗證條件 2:
由於 是偶函數 (),我們可以將積分範圍改為:
。
所以, 是一個合法的 PDF。
第 3 題
Let the joint probability density function of the continuous random variables X and Y be
, . Then, (3)
登入後即可作答並保存紀錄。
核心觀念
連續型二維隨機變數滿足
題目給定 ,因此樣本空間是單位正方形;事件 對應於正方形中直線 上方的三角形區域。
需注意:題目所給函數的係數 並未使總積分等於 :
因此,嚴格而言題目中的 不是合法的聯合機率密度函數。合理處理方式是將其正規化;由於係數在分子、分母會相消,最後機率不受影響。
解題方法
事件 的積分區域可表示為
先計算事件區域內的未正規化積分:
第 4 題
Let and be two independent random variables with identical probability density function , .
Then, the probability density function of , is
(4)
登入後即可作答並保存紀錄。
這題考驗對獨立隨機變數、指數分佈以及新隨機變數(最小值)的機率密度函數的計算。
首先,我們知道 和 是獨立且同分佈的,它們的機率密度函數 (PDF) 是 ,對於 。這是一個參數為 的指數分佈。
我們要求的是隨機變數 的 PDF。
計算新隨機變數的 PDF 的常用方法是利用其累積分佈函數 (CDF)。
設 為 的 CDF,即 。
我們知道 ,所以 當且僅當 或 。
然而,直接計算 比較複雜。
更簡單的方法是計算其補集的 CDF:
當且僅當 且 。
由於 和 是獨立的,所以:
。
現在我們需要計算 ,其中 服從 , 的指數分佈。
第 5 題
If are normal random variables with variance and covariance between any pair of these random variables is , then the variance of equals
(5)
登入後即可作答並保存紀錄。
這題考驗對隨機變數變異數的性質,特別是線性組合的變異數計算,以及聯合常態分佈的特性。
題目給定 是常態隨機變數,它們的變異數都是 。
同時,任意兩個不同變數之間的協方差 (covariance) 是 。
這意味著 對於所有 。
並且 對於所有 。
我們需要計算隨機變數 的變異數,即 。
是 的一個線性組合。
我們使用變異數的性質:對於隨機變數 和常數 ,
。
在這個問題中,我們有 和 對於所有 。
所以,。
第 6 題
Suppose X and Y are random variables with and . Then, the correlation coefficient between X and Y, Corr (X, Y), equals
(6)
登入後即可作答並保存紀錄。
核心觀念
條件期望函數若呈線性形式,其斜率就是線性迴歸斜率:
其中
同理,
相關係數定義為
因此,兩條迴歸線斜率的乘積等於相關係數的平方:
解題方法
由題目給定:
可得 對 的迴歸斜率為
另外,
第 7 題
Let be the sum of a random sample of size 15 from the distribution whose density function is , . What is the approximate value of when one uses the central limit theorem?
(7)
登入後即可作答並保存紀錄。
核心觀念
本題考查中央極限定理。若 為來自同一母體的隨機樣本,且彼此獨立同分布,則其總和
在樣本數適中時,可用常態分布近似:
題目機率中的 應為前文所定義的總和 ;以下依此合理假設計算。
解題方法
母體密度為
先求單一樣本 的平均數與變異數。
由對稱性, 為偶函數,因此
再求二階動差:
因此
對 個樣本的總和 :
所以
第 8 題
Let and be a random sample of size 2 from the standard normal distribution, then the 75th percentile of the statistic equals
(8)
登入後即可作答並保存紀錄。
核心觀念
因為 為來自標準常態分布的隨機樣本,所以
且 與 相互獨立。
統計量可寫為
根據 分布的定義,若 、,且 與 獨立,則
由於
因此
而自由度為 的 分布就是標準柯西分布。
解題方法
令 表示 的累積分布函數。由於 ,其累積分布函數為
設第 百分位數為 ,則
代入累積分布函數:
第 9 題
Two random samples are drawn independently from a normal distribution . The first sample has observations, and its sample mean is ; the second sample has observations, and its sample mean is . One estimator of is proposed: . Calculate (9) and (10).
登入後即可作答並保存紀錄。
這題考驗對樣本均值、聯合分佈、估計量變異數以及機率極限定理 (plim) 的理解。
題目給定兩個獨立的隨機樣本,都來自同一個常態分佈 。
第一個樣本大小為 ,樣本均值為 。
第二個樣本大小為 ,樣本均值為 。
我們需要計算一個估計量 的變異數 和機率極限 。
首先,我們知道來自 的樣本均值的性質:
, 。
, 。
由於兩個樣本是獨立抽取的,所以 和 是獨立的。
因此,。
部分 (9):計算 。
這是一個線性組合。令 且 。
則 。
使用變異數的線性組合性質:
由於 和 是獨立的, 。
The Okun’s Law describes the negative relationship between output gap () and the cyclical rate of unemployment () as
where is white noise. Using data from Taiwan over the period 1978–2017 (sample size ), someone estimated this equation by OLS and got the estimated Okun’s coefficient and . If the standard deviation of output gap is , answer the following.
第 Question 1-(1) 題5 分
The regression sum of squared residuals (SSR) is ____.
登入後即可作答並保存紀錄。
核心觀念
含截距的迴歸中,總平方和可分解為迴歸平方和與殘差平方和:
決定係數定義為:
因此,殘差平方和為:
解題方法
題目給的是 的標準差。採用樣本標準差的定義:
第 Question 1-(2) 題5 分
The correlation coefficient between and is ____.
登入後即可作答並保存紀錄。
核心觀念
含截距的簡單線性迴歸中,決定係數等於應變數與解釋變數之樣本相關係數的平方:
因此,相關係數的絕對值為 ;其正負號則與 OLS 斜率 相同。
解題方法
由題目可知 ,且估計斜率 ,故相關係數為負:
A gender-wage regression output shows:
where the logarithmic wage is significantly explained by two gender dummy variables, and , year of working experience (), and an interaction term: .
第 Question 2-(3) 題5 分
Based on the estimation result, given zero year of working experience, male workers will be paid by ____% higher than female workers.
登入後即可作答並保存紀錄。
核心觀念
依變數取自然對數時,虛擬變數的係數表示兩組的對數工資差。若要換算成工資的精確百分比差異,使用:
解題方法
工作經驗為零時,交互作用項 為零,經驗項也不影響預測值。因此,男性與女性的對數工資差為:
第 Question 2-(4) 題5 分
The marginal return of an additional year of working experience of male workers is ____% lower than that of female workers.
登入後即可作答並保存紀錄。
核心觀念
這題考的是含交乘項的半對數薪資迴歸中,如何計算不同性別的工作經驗邊際報酬。對數薪資對工作經驗的邊際效果,要將 的係數與交乘項所帶來的效果一併計入。
解題方法
迴歸式為:
女性的 ,因此工作經驗的邊際效果為:
男性的 ,工作經驗的邊際效果則為:
A multiple regression model
(where is white noise and ) is estimated by least squares, and the -squared is reported by . Use an -statistic to test the overall significance of .
第 Question 3-(5) 題5 分
An -statistic equaling ____ can be calculated and used for the test.
登入後即可作答並保存紀錄。
核心觀念
整體顯著性檢定檢驗所有斜率係數是否同時為零:
含截距的非限制模型有 3 個估計參數,因此殘差自由度為 ;虛無假設包含 2 個限制,分子自由度為 2。利用 計算整體 統計量的公式為:
其中 是限制數, 是非限制模型估計參數總數,包含截距。
解題方法
第 Question 3-(6) 題5 分
Based on a 5% level of significance, the critical value of this test is ____, so we ____ (reject OR do not reject) the null hypothesis of .(註:第(6)小題需 2 格全對才得 5 分。)
登入後即可作答並保存紀錄。
核心觀念
整體顯著性檢定要檢驗兩個解釋變數的斜率是否同時為零:
有 個限制,完整模型估計 個參數(含截距),因此分子自由度為 ,分母自由度為 。在顯著水準 下,使用右尾臨界值 。
解題方法
利用 計算整體檢定的 統計量:
代入 、、:
第 III-(1) 題10 分
Consider the following regression model with a lagged dependent variable:
in which the regression residual is suspected to be an AR(1) process. That is,
where and is white noise. The OLS regression output for this model gives you the Durbin–Watson statistic equaling from a sample size . Can you test the existence of an AR(1) process in ? If you can, state your test steps and conclusion. If you cannot, state your reason(s).
登入後即可作答並保存紀錄。
核心觀念
本題考的是含落後被解釋變數時,Durbin–Watson(DW)檢定的適用限制,以及如何改用能處理序列相關的檢定。
一般 DW 檢定用來檢定迴歸誤差是否有一階自我相關:
DW 統計量常用近似關係
來描述殘差一階相關的方向。不過,傳統 DW 檢定的臨界值理論要求解釋變數具外生性。當模型含有落後被解釋變數 ,且誤差項存在自我相關時, 會與當期誤差 相關,傳統 DW 檢定的分配與臨界值便不再適用。
解題方法
本題的迴歸式為
因模型右側含有 ,不能直接把 DW 統計量 與一般 DW 臨界值比較,也不能據此作出「存在 AR(1) 自我相關」的正式檢定結論。樣本數 不會排除這項適用限制。
若只作描述性解讀,依近似式可得
此數值指向正向殘差相關,但不能取代有效的顯著性檢定。
可採用的替代檢定
第 III-(2) 題10 分
Suppose the true wage equation was
where individual ’s wage () is a linear function of education () and ability (). is white noise. Normally, “ability” is a variable that can hardly be quantified, so Peter estimates a false wage equation as
where is assumed to be white noise. Assuming that “ability” is positively correlated with wage and with education, then, is Peter’s estimated unbiased, positively biased, or negatively biased? Why?
登入後即可作答並保存紀錄。
核心觀念:遺漏變數偏誤
Peter 把真實模型中的能力 遺漏,改用只含教育 的模型估計。若被遺漏的變數同時與工資及教育正相關,教育的估計係數會吸收能力對工資的部分影響,形成遺漏變數偏誤。
解題方法:推導偏誤方向
把真實模型改寫成 Peter 的形式:
由於能力對工資有正向影響,;又因能力與教育正相關,。因此,Peter 的誤設模型中,誤差項 與教育 正相關,違反 OLS 的外生性條件。
在 與 不相關的假設下,遺漏變數偏誤為: