111 年 國立臺北大學經濟學系碩士班《統計學(含計量經濟學)》
Peter has observations on variables , and . He estimates the following equation by OLS method:
The numbers in parentheses are standard errors for coefficients (except for intercept): for the coefficient of and for the coefficient of . Total sum of squares (SST) , .
第 1 題4 分
What is the true value of the sum of squares of errors (SSE) in equation (1)?
(A) 40
(B) 80
(C) 60
(D) 20
登入後即可作答並保存紀錄。
核心觀念
本題考查決定係數 、總平方和(SST)、迴歸平方和(SSR)與誤差平方和(SSE)之間的關係。
在含截距項的 OLS 迴歸中:
而決定係數定義為:
因此也可寫成:
解題方法
已知:
由公式:
代入題目數值:
移項得:
所以:
亦可先計算迴歸平方和:
再由 :
選項分析
第 2 題4 分
Continue Question 1. If Peter tests the following hypothesis:
what is the value of the -statistic?
(A) 80
(B) 16
(C) 100
(D) 160
登入後即可作答並保存紀錄。
核心觀念
本題考查對多個迴歸係數進行聯合檢定時的 檢定。虛無假設為
代表兩個解釋變數 、 對 沒有聯合解釋力。
利用 計算 統計量的公式為
其中:
- :限制條件的個數,本題為 ;
- :樣本數,本題為 ;
- :不含截距項的解釋變數個數,本題為 ;
- :完整模型的殘差自由度。
解題方法
本題的完整模型為
欲檢定的兩項限制為
因此限制條件個數為 。完整模型包含兩個解釋變數,因此 ,殘差自由度為
已知
代入公式:
因此 統計量為 。
第 3 題4 分
Suppose that the true model of is
but you estimated an incorrect model by OLS:
The true parameter , and has a linear relationship:
If we have the prior information that OLS estimator of Equation (2) has positive bias, what is the sign of ?
(A)
(B)
(C)
(D) cannot decide
登入後即可作答並保存紀錄。
核心觀念:遺漏變數偏誤
真實模型為
但估計時遺漏了變數 ,因此將其併入誤差項:
錯誤模型可寫為
遺漏變數 會造成 OLS 估計量產生偏誤。含截距的標準遺漏變數偏誤公式為
本題已知 ,並給定 與 呈線性關係,因此可進一步判斷共變異數的符號。
解題方法與推導
題目給定
利用條件期望與共變異數的關係:
代入條件期望函數:
由於常數 與 的共變異數為零,因此
所以遺漏變數偏誤可化為
題目告知 具有正偏誤,因此
第 4 題4 分
Suppose you have data , , with
What is the of this regression?
(A) 0.125
(B) 0.25
(C) 0.75
(D) 0.032
登入後即可作答並保存紀錄。
核心觀念
本題考查含截距之一元線性迴歸模型:
在含截距的一元迴歸中,決定係數為:
其中:
本題樣本數為 。
解題方法
先由給定的總和求樣本平均數:
計算 :
計算 :
計算 :
因此:
第 5 題4 分
Suppose that there is an exact relationship between random variable and its lag value :
A researcher wants to estimate the coefficient by ordinary least squares (OLS) method. Unfortunately, due to data collection mistakes, she only has time average data:
If she wants to estimate the following regression by OLS method:
where
which of the following characteristics will the OLS estimator have?
(A) unbiased and consistent
(B) unbiased and inconsistent
(C) biased and consistent
(D) biased and inconsistent
登入後即可作答並保存紀錄。
核心觀念
本題考查兩個重點:
- 線性模型取平均後,模型的線性關係是否仍然成立。
- OLS 估計量的「不偏性」與「一致性」所需條件。
原始模型為:
若滿足標準外生性條件,例如:
則 OLS 估計量具有不偏性;在樣本數增加且滿足大數法則等條件下,亦具有一致性。
解題方法
對所有 加總原始模型:
兩邊同除以 :
因此:
可見,取平均並未改變斜率係數,平均後的模型仍然是正確的線性模型,且其斜率仍為 。
在標準假設下,平均誤差 仍與平均落後變數 不相關:
因此,使用平均資料進行 OLS 估計時,不會因為單純取平均而產生系統性偏誤。當可用的觀察數增加時,依大數法則:
Consider a simple regression model with no intercept:
You have two observations (). Suppose and are fixed; ; ; ; and .
第 二-1-(1) 題10 分
Now consider the estimator
Whether this estimator is unbiased. ____
登入後即可作答並保存紀錄。
核心觀念
本題考查估計量是否具有不偏性。若估計量 滿足
則稱 為 的不偏估計量。
本題的估計量採用權重 與 ,且分母為
在分母不為零的前提下,可直接將模型代入估計量,再取期望值判斷。
解題方法
由模型
可得
代入估計量:
整理分子:
因此,
因為 為固定值,且
所以
第 二-1-(2) 題10 分
Calculate the variance of . ____
登入後即可作答並保存紀錄。
核心觀念
本題考查無截距簡單迴歸模型中,最小平方法估計量的變異數。由於兩期誤差項的變異數不同,屬於異質變異數情況,計算時必須使用各誤差項的個別變異數。
以下依通常定義,令 表示無截距模型的 OLS 估計量:
解題方法
將模型 代入估計量:
整理得:
因為 與 均為固定常數,所以
提出固定分母:
利用線性組合的變異數公式:
第 二-1-(3) 題10 分
Please compare with , the variance of least squares estimator . Does this result contradict the general result that ordinary least squares is efficient? ____
登入後即可作答並保存紀錄。
核心觀念
本題考查異質變異下的最小平方法估計。由於
兩期誤差項的變異數不同,因此誤差變異數矩陣不是 。此時普通最小平方法仍為線性不偏估計量,但不再具有最小變異數;應使用廣義最小平方法(GLS)。
解題方法
普通最小平方法估計量為
代入 :
由於 ,所以
誤差變異數矩陣為
GLS 估計量為
GLS 在已知 下的變異數為
比較兩者:
第 二-2 題10 分
A linear stationary time series model relating a variable to the rational expectation of is given by
where is the expected value of given all information known up to time . Note that, at a minimum, is contained in . Throughout this problem assume that
For simplicity, there is no intercept in the model. Let be the OLS estimator from the regression on , . Whether is a consistent estimator of ? ____
登入後即可作答並保存紀錄。
核心觀念
本題考查「合理預期模型中的 OLS 一致性」。關鍵在於:
- OLS 迴歸使用的是實際觀察到的 。
- 理論模型中的解釋變數卻是條件期望
- 已知條件為 只能保證 與 中的資訊不相關,不能保證 與當期的 不相關。
因此,必須直接檢查以 做 OLS 迴歸時的極限。
解題方法
由於模型沒有截距,OLS 估計量為
若序列滿足標準的平穩、遍歷與有限二階動差條件,則由大數法則,
令
則原模型為
代入 OLS 極限:
先處理第一項。因為 是 對 的條件期望,
所以
條件 可推出
Consider the joint density function
第 三-1-(1) 題7 分
Find . ____
登入後即可作答並保存紀錄。
核心觀念
本題考查聯合機率密度函數下,利用二重積分計算事件機率:
原聯合密度函數的有效範圍為
題目要求的事件為
因此,積分區域必須同時符合原密度函數的三個限制,以及上述事件條件。
解題方法
由於原本必須滿足 ,再加入 與 ,需依照 是否超過 分成兩段:
- 當 時,由於 ,故 。
- 當 時,條件 比 更嚴格,故 。
所以所求機率為
先計算第一部分:
第 三-1-(2) 題7 分
Find . ____
登入後即可作答並保存紀錄。
核心觀念
本題考查條件期望的計算。先由聯合密度函數求出 的邊際密度,再利用
最後計算
解題方法
由題目支持範圍 ,固定 後, 的範圍為 。
先求 的邊際密度:
因此,當 時,條件密度為
The number of defects per yard for a certain fabric is known to have a Poisson distribution with parameter . However, itself is a random variable with probability density function given by
第 三-2-(1) 題7 分
Find the unconditional probability function for . ____
登入後即可作答並保存紀錄。
核心觀念
本題考察「混合 Poisson 分配」:
- 給定 時, 服從 Poisson 分配:
- 本身為隨機變數,且服從參數為 的指數分配:
因此, 的無條件機率函數必須將條件機率對 的分布加總(連續情況為積分):
解題方法與推導
對任意 ,
利用 Gamma 積分公式:
令 ,可得
第 三-2-(2) 題7 分
Find the expected number of defects per yard. ____
登入後即可作答並保存紀錄。
核心觀念
這題考查全期望定理與 Poisson 分配的期望值。
若在給定 的條件下,
則 Poisson 分配的條件期望為
因此, 的無條件期望可利用全期望定理計算:
題目給定 的機率密度函數為
這正是參數為 的指數分配,因此
解題方法
由條件分配 ,可得
套用全期望定理:
In a paper, rock and scissor game, you know your opponent is focusing on playing one of the three actions (paper, rock or scissor). The focused action is 2 times more likely to appear than any one of the other two actions.
第 三-3-(1) 題7 分
At the first round the opponent played rock. Based on that sample, what is the likelihood function regarding the opponent type? ____
登入後即可作答並保存紀錄。
核心觀念
本題考查「概似函數(likelihood function)」的定義:
其中:
- :對手類型,即其專注的動作;
- :觀察到的樣本,本題為第一回合出現 rock。
題目指出,對手專注的動作,其出現機率是另外兩種動作各自的 2 倍。
解題方法
設對手專注的動作出現機率為 ,另外兩種動作各自出現機率為 。由三種動作的機率總和為 1:
因此:
所以:
- 專注動作的機率為 ;
- 非專注動作各自的機率為 。
觀察到第一回合對手出的是 rock,分別計算在三種對手類型下出現 rock 的機率:
第 三-3-(2) 題8 分
Before the first round you formulate a null hypothesis that the opponent is rock focusing type and will reject that null hypothesis if the first round he does not play rock.
What is the probability of type I error? ____
What is the probability of type II error against the hypothesis the opponent is a paper focusing type? ____
登入後即可作答並保存紀錄。
核心觀念
本題考查假設檢定中的兩類錯誤:
- 型一錯誤(Type I error):虛無假設 為真,卻錯誤拒絕 。
- 型二錯誤(Type II error):對立假設為真,卻未拒絕 。
題目指出:對手所專注的動作,其出現機率是其他任一動作的 2 倍。設專注動作機率為 ,其他任一動作機率為 ,則
且三種動作機率總和為 :
因此
所以,專注動作出現機率為 ,另外兩個非專注動作各為 。
解題方法
令虛無假設為
題目的拒絕規則是:第一回合對手只要不出 rock,就拒絕 。
因此:
- 拒絕 :對手第一回合出 paper 或 scissor。
- 不拒絕 :對手第一回合出 rock。
一、型一錯誤機率
在 為真時,對手以 rock 為專注動作,因此
另外兩種動作各為 。依照拒絕規則,型一錯誤發生於對手未出 rock:
第 三-3-(3) 題7 分
Before the first round, with no information your belief of the opponent’s being paper focusing type, rock focusing type and scissor focusing type are all . After the first round of his playing rock, what should be your Bayesian updated belief regarding his type probabilities? ____
登入後即可作答並保存紀錄。
核心觀念
本題考查貝氏定理(Bayes’ theorem)。觀察到對手第一回合出現「rock」後,要根據各類型對手出現 rock 的可能性,更新原先對其類型的信念。
設對手類型為:
- :paper focusing type
- :rock focusing type
- :scissor focusing type
題目指出,專注行動出現的機率是另外兩種行動各自的 2 倍。因此各類型下的行動機率比例為:
總比例為 ,所以專注行動的機率為 ,其餘每種行動的機率為 。
解題方法
第一回合觀察到對手出 rock,記為事件 。先列出三種類型的先驗機率:
在各類型下出現 rock 的條件機率為:
由全機率公式,觀察到對手出 rock 的總機率為:
套用貝氏定理: