111 年 國立政治大學經濟學系碩士班《統計學》
第 1 題15 分
The probability density function of X is given by
,
where is a constant.
(a) (5%) Find .
(b) (5%) Find the expected value of .
(c) (5%) Find the cumulative distribution function of .
登入後即可作答並保存紀錄。
本題考驗機率密度函數的基本性質、期望值計算以及累積分布函數的推導。
核心觀念:
- 機率密度函數的積分必須等於 1。
- 連續隨機變數的期望值定義。
- 累積分布函數是機率密度函數的積分。
解題步驟:
(a) 求
根據機率密度函數的性質,函數在整個定義域上的積分必須等於 1。
在本題中, 僅在 上非零,因此:
因此,機率密度函數為 ,對於 。
【答案】
(b) 求
連續隨機變數 的期望值定義為:
將 代入,積分範圍為 :
【答案】
第 2 題15 分
The joint distribution of and is given below.
| 0.10 | 0.20 | |
| 0.60 | 0.10 |
(a) (5%) Find .
(b) (5%) Find the probability distribution of .
(c) (5%) Find .
登入後即可作答並保存紀錄。
本題考驗聯合機率分佈、條件期望值、隨機變數函數的期望值以及迭代期望定律。
核心觀念:
- 條件機率與條件期望值的計算。
- 隨機變數函數的期望值計算。
- 迭代期望定律 (Law of Iterated Expectations):。
解題步驟:
首先,我們需要先計算邊際機率與條件機率。
由聯合機率分佈表,我們可以得到:
計算邊際機率:
(驗算:)
(驗算:)
(a) 求
條件期望值 是在已知 的條件下,對 的期望值。首先,我們需要計算條件機率 。
現在,計算條件期望值:
【答案】
(b) 求 的機率分佈
是一個隨機變數,它的值取決於 的值。 有兩個可能的值:1 和 2。
我們已經計算了當 時的條件期望值:。
現在我們需要計算當 時的條件期望值 。
首先計算條件機率 :
第 3 題14 分
Let denote the sample average from a random sample with mean and variance . Consider an estimator of , where is the sample size.
(a) (3%) Show that is a biased estimator of and find the bias.
(b) (3%) What happens to the bias of as ?
(c) (3%) Find the variance of .
(d) (5%) Is a consistent estimator of ? Explain.
登入後即可作答並保存紀錄。
核心觀念
估計量 的偏誤定義為 。在獨立同分配的隨機樣本下,樣本平均數的期望值與變異數分別為
判斷一致性時,可計算均方誤差;若均方誤差隨 趨近於零,則估計量一致。
解題方法
(a) 利用期望值的線性性質:
因此偏誤為
所以 時, 是有偏估計量,偏誤為 ;若 ,偏誤則為零。
(b) 固定 並令 :
因此,偏誤會趨近於零。
(c) 常數倍隨機變數的變異數會乘上該常數的平方:
第 4 題10 分
Show that for random variables and , if then .
登入後即可作答並保存紀錄。
本題考驗條件期望值與協方差的關係,以及如何利用迭代期望定律證明兩個隨機變數獨立或無關。
核心觀念:
- 條件期望值的性質:。
- 協方差 (Covariance) 的定義:。
- 如何利用條件期望值計算 。
解題步驟:
我們被告知 。
根據迭代期望定律 (Law of Iterated Expectations),我們知道:
將已知條件 代入上式:
由於 是一個常數,常數的期望值就是它本身,所以這個式子是恆成立的,它本身並沒有直接給出 和 之間的關係。
我們需要計算協方差 。定義為:
為了證明 ,我們需要證明 。
我們可以利用條件期望值來計算 。考慮 :
(迭代期望定律)
第 5 題8 分
Suppose that the logarithm of wages (log(wage)) is related to years of schooling (educ) and work experience (exper, in years) by the conditional expectation:
where , , and .
(a) (3%) Interpret .
(b) (5%) Suppose that the expected values of educ and exper are 12 years and 20 years, respectively. Find . Show your arguments.
登入後即可作答並保存紀錄。
本題考驗對 log-linear 迴歸模型中係數的解釋,以及如何計算條件期望值的期望值。
核心觀念:
- log-linear 模型中,自變數每增加一個單位,應變數的對數平均值會改變多少。
- 迭代期望定律:。
解題步驟:
給定的模型是:
其中 , , 。
(a) 解釋
是在控制了工作經驗 (exper) 的情況下,教育年數 (educ) 對薪資對數 (log(wage)) 的影響。
在 log-linear 模型中,當應變數是 log(Y) 且自變數是 X 時,。
其中 表示自變數 每增加一個單位,應變數的對數 平均會增加 個單位。
因此, 的解釋是:
在其他條件(即工作經驗 exper)相同的情況下,教育年數 (educ) 每增加一年,預期薪資的對數 (log(wage)) 平均會增加 0.10。
這也可以轉換成薪資本身百分比的改變。因為 的改變 (當 很小時)。
所以,薪資的預期百分比改變為 。
0.10 的意思是,教育年數每增加一年,預期薪資會增加約 。
【答案】在其他條件(工作經驗)相同的情況下,教育年數每增加一年,預期薪資的對數平均會增加 0.10,相當於預期薪資平均增加約 10%。
第 6 題15 分
Consider the following demand and supply equations:
Demand:
Supply:
where and denote quantities and prices, respectively, and the demand error and supply error satisfy , , and .
(a) (5%) Find the equilibrium price and quantity.
(b) (5%) Compute in terms of and .
(Hint: Use your answers in (a).)
(c) (5%) Given a random sample of equilibrium prices and quantities, consider the following linear regression:
where and . Find in terms of and .
(Hint: Use your answers in (a).)
登入後即可作答並保存紀錄。
核心觀念
本題考查供需均衡、聯立方程式,以及迴歸斜率的共變異數表示式:
其中假設 ;在一般經濟學設定下,。
(a) 均衡價格與均衡數量
均衡時需求量等於供給量,因此令兩式相等:
整理價格項:
所以均衡價格為
將價格代回需求式:
通分整理:
因此
(b) 計算
由 (a):
利用共變異數的線性性質:
進一步展開:
根據題目條件:
且
因此
這表示均衡價格與需求誤差項並不獨立。價格本身受到需求衝擊 影響,因此直接以價格解釋數量時會產生內生性問題。
(c) 計算迴歸斜率
迴歸式為
並且滿足
由於 ,迴歸斜率可寫為
第一步:計算
由
可得
因為 :
第 7 題23 分
Consider a linear regression for a Cobb-Douglas production function in a log-linear form:
where is output, is labor input, is capital input, is the error term, and are coefficients to be estimated.
Given a random sample of firms, the OLS estimates are given below:
and the covariance matrix estimate is:
(a) (3%) Interpret .
(b) (5%) Find the standard error of .
(c) (5%) You are interested in testing constant returns to scale. Write the associated testing hypotheses and the test statistic.
(d) (5%) Based on the information above, calculate the test statistic.
(e) (5%) Now suppose that unobserved firm-specific productivity positively affects firms' output as well as labor input. Which true value of , 0.724 or 1.132, do you think would be more likely? Explain your answer.
登入後即可作答並保存紀錄。
本題考驗對 log-linear 生產函數的解釋、估計量變異數的計算、假設檢定(特別是關於規模報酬的檢定)以及聯立方程模型中的內生性問題對估計量的影響。
核心觀念:
- log-linear 模型係數的解釋。
- 線性組合估計量的變異數計算。
- 假設檢定,特別是關於規模報酬的檢定。
- 內生性問題(遺漏變數偏誤)對迴歸係數的影響。
解題步驟:
給定的模型是 log-linear 生產函數:
OLS 估計結果:, , 。
樣本大小 。
估計的協方差矩陣:
從協方差矩陣中,我們可以讀出:
(a) 解釋
在 log-linear 生產函數模型中, 代表勞動投入 每增加一個單位,產出對數 平均的改變量。
這表示勞動的邊際產出彈性 (elasticity of output with respect to labor)。
所以, 的解釋是:
在資本投入 不變的情況下,勞動投入 每增加 1%,預期產出 平均會增加 0.954%。
或者說, 每增加一個單位(即 增加到原來的 倍), 平均增加 0.954。
【答案】在資本投入不變的情況下,勞動投入每增加 1%,預期產出平均增加 0.954%。
(b) 求 的標準誤 (standard error)。
標準誤是變異數的平方根。我們需要計算 。
令 。
利用變異數的性質:。
從協方差矩陣中讀取值:
代入計算:
標準誤是變異數的平方根:
【答案】 的標準誤為 0.03。
(c) 檢定恆定規模報酬 (constant returns to scale) 的假設檢定。
在 Cobb-Douglas 生產函數 中,規模報酬由 的值決定:
- 若 ,表示恆定規模報酬 (Constant Returns to Scale, CRS)。
- 若 ,表示遞增規模報酬 (Increasing Returns to Scale, IRS)。
- 若 ,表示遞減規模報酬 (Decreasing Returns to Scale, DRS)。
我們感興趣的檢定是恆定規模報酬,即 。
因此,檢定假設為:
虛無假設
對立假設 (通常對規模報酬的檢定,對立假設是不等於 1)
檢定統計量 (t 檢定統計量) 的形式為:
其中,hypothesized value 是我們在虛無假設下聲稱的值,即 1。
【答案】
檢定假設: vs 。