109 年 國立臺灣大學經濟學系碩士班《統計學(A)》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題12 分

The reading scores of TOEIC (out of 495) in a school are distributed normally with a mean of 255 and a standard deviation of 106. The school awards a certificate of excellence to all students who score at least 350 on the reading exam of TOEIC. Suppose we pick one of the recognized students at random. What is the probability this student's score will be at least 400?

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考驗對常態分配的理解與應用,特別是條件機率的概念。

假設學生的 TOEIC 閱讀分數 XX 服從常態分配,即 X∼N(μ=255,σ2=1062)X \sim N(\mu=255, \sigma^2=106^2)。
學校對分數至少 350 的學生頒發獎狀,我們稱這些學生為「獲獎學生」。
題目要求計算一位「獲獎學生」的分數至少為 400 的機率。這是一個條件機率問題,我們想求 P(X≥400∣X≥350)P(X \ge 400 | X \ge 350)。

根據條件機率的定義,
P(X≥400∣X≥350)=P(X≥400∩X≥350)P(X≥350)P(X \ge 400 | X \ge 350) = \frac{P(X \ge 400 \cap X \ge 350)}{P(X \ge 350)}
由於 X≥400X \ge 400 的條件包含了 X≥350X \ge 350,因此事件 {X≥400∩X≥350}\{X \ge 400 \cap X \ge 350\} 就是 {X≥400}\{X \ge 400\}。
所以,
P(X≥400∣X≥350)=P(X≥400)P(X≥350)P(X \ge 400 | X \ge 350) = \frac{P(X \ge 400)}{P(X \ge 350)}

接下來,我們需要計算 P(X≥400)P(X \ge 400) 和 P(X≥350)P(X \ge 350)。
我們將分數標準化,令 Z=X−μσ=X−255106Z = \frac{X - \mu}{\sigma} = \frac{X - 255}{106}。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題14 分

Jack is considering leasing an inkjet printer. The total annual cost of the printer consists of a NT5,000leasingfee,plusNT5,000 leasing fee, plus NT0.8 per page for ink and maintenance. The number of pages Jack prints in a year is a random variable with a mean 10,000 and standard deviation 2,000. Suppose that Jack leases the printer for three years and that the number of pages he prints each year is independent of previous years. Calculate the mean and variance of Jack's total costs over the three years.

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考驗對隨機變數線性組合的期望值與變異數的計算,以及獨立性的應用。

令 PiP_i 為第 ii 年列印的頁數,其中 i=1,2,3i = 1, 2, 3。
已知 E(Pi)=10,000E(P_i) = 10,000 且 S.D.(Pi)=2,000S.D.(P_i) = 2,000,所以 Var(Pi)=(2,000)2=4,000,000Var(P_i) = (2,000)^2 = 4,000,000。
各年的列印頁數是獨立的。

令 CiC_i 為第 ii 年的總成本。
每年總成本包含固定租賃費 NT5,000及每頁NT5,000 及每頁 NT0.8 的變動成本。
所以,第 ii 年的總成本可表示為:
Ci=5000+0.8×PiC_i = 5000 + 0.8 \times P_i

我們需要計算三年總成本的平均值與變異數。
三年總成本 Ctotal=C1+C2+C3C_{total} = C_1 + C_2 + C_3。

首先計算每年的成本的期望值:
E(Ci)=E(5000+0.8×Pi)=5000+0.8×E(Pi)E(C_i) = E(5000 + 0.8 \times P_i) = 5000 + 0.8 \times E(P_i)
E(Ci)=5000+0.8×10,000=5000+8000=13,000E(C_i) = 5000 + 0.8 \times 10,000 = 5000 + 8000 = 13,000

接著計算每年的成本的變異數:
Var(Ci)=Var(5000+0.8×Pi)=Var(0.8×Pi)Var(C_i) = Var(5000 + 0.8 \times P_i) = Var(0.8 \times P_i)

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題12 分

You are given the following hypotheses:
H0:μ=100H_0: \mu = 100
HA:μ≠100H_A: \mu \neq 100
We know that the sample standard deviation is 19 and the sample size is 12. For what sample
mean would the p-value be equal to 0.05? Assume that all conditions necessary for inference are
satisfied.

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考驗假設檢定中,p-value 的概念以及如何反推樣本平均值。

我們進行一個雙尾檢定,檢定母體平均數 μ\mu 是否等於 100。
已知:
樣本標準差 s=19s = 19
樣本大小 n=12n = 12
顯著水準 α=0.05\alpha = 0.05 (因為 p-value = 0.05,這代表我們在 α=0.05\alpha = 0.05 的顯著水準下,會拒絕 H0H_0。)

由於母體標準差未知,且樣本大小不大,我們應該使用 t 檢定。
檢定統計量為:
t=xˉ−μ0s/nt = \frac{\bar{x} - \mu_0}{s/\sqrt{n}}
其中 xˉ\bar{x} 是樣本平均值,μ0=100\mu_0 = 100 是虛無假設中的母體平均值。
自由度 (df) 為 n−1=12−1=11n-1 = 12 - 1 = 11。

p-value 是在虛無假設為真的情況下,觀察到比目前樣本統計量「更極端」(即支持對立假設)的機率。
對於雙尾檢定,p-value = P(∣tdf≥∣tobserved∣)P(|t_{df} \ge |t_{observed}|),其中 tobservedt_{observed} 是根據樣本數據計算出的 t 值。
題目給定 p-value = 0.05。
對於自由度為 11 的 t 分配,雙尾檢定 p-value 為 0.05,代表 ∣tobserved∣|t_{observed}| 的臨界值是 tα/2,dft_{\alpha/2, df},其中 α=0.05\alpha = 0.05。
所以,我們需要找到 t0.025,11t_{0.025, 11}。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題12 分

A group of researchers wanted to understand the rate of growth for trees in a park. They took measurements of a random sample of 40 trees in 2010 and again measured those same trees in 2020. The data below summarize their measurements, where the heights are in meters:

20102020Differences
n404040
Mean3.667.473.81
S.D.1.072.902.19

Construct a 90% confidence interval for the average growth of trees in the park over 2010-2020.

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考驗建構配對樣本(paired samples)的信賴區間,特別是針對差值(growth)的平均數。

題目提供了 2010 年和 2020 年同一批樹木的測量數據摘要,並計算了兩者的差值(2020 年高度 - 2010 年高度),代表了樹木的生長量。
我們關心的是「平均生長量」的信賴區間。由於我們有同一批樹木在不同時間點的測量,這是配對樣本的狀況。
我們直接針對「差值」的樣本進行分析。

令 did_i 為第 ii 棵樹在 2020 年與 2010 年高度的差值,di=Height2020,i−Height2010,id_i = Height_{2020, i} - Height_{2010, i}。
我們擁有的數據是關於這些差值的樣本統計量:
樣本大小 n=40n = 40
差值的樣本平均數 dˉ=3.81\bar{d} = 3.81
差值的樣本標準差 sd=2.19s_d = 2.19

我們要建構平均生長量(即差值平均數 μd\mu_d)的 90% 信賴區間。
由於母體標準差未知,我們使用 t 分配來建構信賴區間。
信賴區間的公式為:
dˉ±tα/2,n−1×sdn\bar{d} \pm t_{\alpha/2, n-1} \times \frac{s_d}{\sqrt{n}}

信賴水準為 90%,所以 α=1−0.90=0.10\alpha = 1 - 0.90 = 0.10。
由於是雙尾信賴區間,我們需要 α/2=0.05\alpha/2 = 0.05 的機率。
自由度 df=n−1=40−1=39df = n - 1 = 40 - 1 = 39。

查閱 t 分配表(Table 3: t distribution probability table, df ≥ 31),當 df = 39,兩尾機率為 0.10 (即一尾機率為 0.05) 時,臨界值

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 5 題15 分

Assume that the true model is yi=β0+β1xi+β2zi+uiy_i = \beta_0 + \beta_1 x_i + \beta_2 z_i + u_i, but we only include ziz_i as the regressor to run a simple regression model. The OLS estimator can be written as
β^1=∑i=1n(xi−xˉ)(yi−yˉ)∑i=1n(xi−xˉ)2\hat{\beta}_1 = \frac{\sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})}{\sum_{i=1}^n (x_i - \bar{x})^2}
Assume that E(ui∣xi)=0E(u_i|x_i) = 0, β2<0\beta_2 < 0, Cov(xi,zi)=0Cov(x_i, z_i) = 0, Var(xi)=σx2>0\text{Var}(x_i) = \sigma_x^2 > 0, and Var(zi)=σz2>0\text{Var}(z_i) = \sigma_z^2 > 0. Show that β^1\hat{\beta}_1 is inconsistent, which is
Plim⁡n→∞β^1≠β1P \lim_{n \to \infty} \hat{\beta}_1 \neq \beta_1
Please derive the bias term, Bias, and determine the sign of the bias term.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題依所給估計式,所估計的是以 xix_i 為唯一解釋變數的簡單迴歸:

yi=α0+β1xi+viy_i=\alpha_0+\beta_1x_i+v_i

真實模型為:

yi=β0+β1xi+β2zi+uiy_i=\beta_0+\beta_1x_i+\beta_2z_i+u_i

因此,ziz_i 是被遺漏的變數。這題考查「遺漏變數偏誤」及一致性的判定。

簡單迴歸斜率估計量的機率極限為:

P lim⁡β^1=β1+β2Cov⁡(xi,zi)Var⁡(xi)+Cov⁡(xi,ui)Var⁡(xi)\operatorname{P\,lim}\hat{\beta}_1 = \beta_1+ \beta_2\frac{\operatorname{Cov}(x_i,z_i)}{\operatorname{Var}(x_i)} + \frac{\operatorname{Cov}(x_i,u_i)}{\operatorname{Var}(x_i)}

其中第二項就是遺漏變數所造成的偏誤,第三項是誤差項與解釋變數相關所造成的內生性偏誤。


解題方法與推導

由真實模型:

yi=β0+β1xi+β2zi+uiy_i=\beta_0+\beta_1x_i+\beta_2z_i+u_i

代入題目給定的 OLS 估計式:

β^1=∑i=1n(xi−xˉ)(yi−yˉ)∑i=1n(xi−xˉ)2\hat{\beta}_1 = \frac{\sum_{i=1}^n(x_i-\bar{x})(y_i-\bar{y})} {\sum_{i=1}^n(x_i-\bar{x})^2}

因為常數項在去平均後消失,所以:

yi−yˉ=β1(xi−xˉ)+β2(zi−zˉ)+(ui−uˉ)y_i-\bar{y} = \beta_1(x_i-\bar{x}) +\beta_2(z_i-\bar{z}) +(u_i-\bar{u})

因此:

β^1=∑(xi−xˉ)[β1(xi−xˉ)+β2(zi−zˉ)+(ui−uˉ)]∑(xi−xˉ)2\hat{\beta}_1 = \frac{ \sum (x_i-\bar{x}) \left[ \beta_1(x_i-\bar{x}) +\beta_2(z_i-\bar{z}) +(u_i-\bar{u}) \right] } {\sum (x_i-\bar{x})^2}

將分子拆開:

β^1=β1+β2∑(xi−xˉ)(zi−zˉ)∑(xi−xˉ)2+∑(xi−xˉ)(ui−uˉ)∑(xi−xˉ)2\hat{\beta}_1 = \beta_1 + \beta_2 \frac{\sum (x_i-\bar{x})(z_i-\bar{z})} {\sum (x_i-\bar{x})^2} + \frac{\sum (x_i-\bar{x})(u_i-\bar{u})} {\sum (x_i-\bar{x})^2}

當 n→∞n\to\infty 時,由大數法則:

P lim⁡β^1=β1+β2Cov⁡(xi,zi)Var⁡(xi)+Cov⁡(xi,ui)Var⁡(xi)\operatorname{P\,lim}\hat{\beta}_1 = \beta_1 + \beta_2 \frac{\operatorname{Cov}(x_i,z_i)} {\operatorname{Var}(x_i)} + \frac{\operatorname{Cov}(x_i,u_i)} {\operatorname{Var}(x_i)}

題目給定:

E(ui∣xi)=0E(u_i\mid x_i)=0

由條件期望為零可得:

Cov⁡(xi,ui)=0\operatorname{Cov}(x_i,u_i)=0

又因為:

Cov⁡(xi,zi)=0\operatorname{Cov}(x_i,z_i)=0

且:

Var⁡(xi)=σx2>0\operatorname{Var}(x_i)=\sigma_x^2>0

所以:

P lim⁡β^1=β1+β20σx2+0σx2=β1\operatorname{P\,lim}\hat{\beta}_1 = \beta_1 + \beta_2\frac{0}{\sigma_x^2} + \frac{0}{\sigma_x^2} = \beta_1

偏誤項與其符號

遺漏變數偏誤為:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 5 題15 分

Assume that the true model is yi=β0+β1xi+β2zi+uiy_i = \beta_0 + \beta_1 x_i + \beta_2 z_i + u_i, but we only include ziz_i as the regressor to run a simple regression model. The OLS estimator can be written as
β^1=∑i=1n(xi−xˉ)(yi−yˉ)∑i=1n(xi−xˉ)2\hat{\beta}_1 = \frac{\sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})}{\sum_{i=1}^n (x_i - \bar{x})^2}
Assume that E(ui∣xi)=0E(u_i|x_i) = 0, β2<0\beta_2 < 0, Cov(xi,zi)=0Cov(x_i, z_i) = 0, Var(xi)=σx2>0\text{Var}(x_i) = \sigma_x^2 > 0, and Var(zi)=σz2>0\text{Var}(z_i) = \sigma_z^2 > 0. Show that β^1\hat{\beta}_1 is inconsistent, which is
Plim⁡n→∞β^1≠β1P \lim_{n \to \infty} \hat{\beta}_1 \neq \beta_1
Please derive the bias term, Bias, and determine the sign of the bias term.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題依所給估計式,所估計的是以 xix_i 為唯一解釋變數的簡單迴歸:

yi=α0+β1xi+viy_i=\alpha_0+\beta_1x_i+v_i

真實模型為:

yi=β0+β1xi+β2zi+uiy_i=\beta_0+\beta_1x_i+\beta_2z_i+u_i

因此,ziz_i 是被遺漏的變數。這題考查「遺漏變數偏誤」及一致性的判定。

簡單迴歸斜率估計量的機率極限為:

P lim⁡β^1=β1+β2Cov⁡(xi,zi)Var⁡(xi)+Cov⁡(xi,ui)Var⁡(xi)\operatorname{P\,lim}\hat{\beta}_1 = \beta_1+ \beta_2\frac{\operatorname{Cov}(x_i,z_i)}{\operatorname{Var}(x_i)} + \frac{\operatorname{Cov}(x_i,u_i)}{\operatorname{Var}(x_i)}

其中第二項就是遺漏變數所造成的偏誤,第三項是誤差項與解釋變數相關所造成的內生性偏誤。


解題方法與推導

由真實模型:

yi=β0+β1xi+β2zi+uiy_i=\beta_0+\beta_1x_i+\beta_2z_i+u_i

代入題目給定的 OLS 估計式:

β^1=∑i=1n(xi−xˉ)(yi−yˉ)∑i=1n(xi−xˉ)2\hat{\beta}_1 = \frac{\sum_{i=1}^n(x_i-\bar{x})(y_i-\bar{y})} {\sum_{i=1}^n(x_i-\bar{x})^2}

因為常數項在去平均後消失,所以:

yi−yˉ=β1(xi−xˉ)+β2(zi−zˉ)+(ui−uˉ)y_i-\bar{y} = \beta_1(x_i-\bar{x}) +\beta_2(z_i-\bar{z}) +(u_i-\bar{u})

因此:

β^1=∑(xi−xˉ)[β1(xi−xˉ)+β2(zi−zˉ)+(ui−uˉ)]∑(xi−xˉ)2\hat{\beta}_1 = \frac{ \sum (x_i-\bar{x}) \left[ \beta_1(x_i-\bar{x}) +\beta_2(z_i-\bar{z}) +(u_i-\bar{u}) \right] } {\sum (x_i-\bar{x})^2}

將分子拆開:

β^1=β1+β2∑(xi−xˉ)(zi−zˉ)∑(xi−xˉ)2+∑(xi−xˉ)(ui−uˉ)∑(xi−xˉ)2\hat{\beta}_1 = \beta_1 + \beta_2 \frac{\sum (x_i-\bar{x})(z_i-\bar{z})} {\sum (x_i-\bar{x})^2} + \frac{\sum (x_i-\bar{x})(u_i-\bar{u})} {\sum (x_i-\bar{x})^2}

當 n→∞n\to\infty 時,由大數法則:

P lim⁡β^1=β1+β2Cov⁡(xi,zi)Var⁡(xi)+Cov⁡(xi,ui)Var⁡(xi)\operatorname{P\,lim}\hat{\beta}_1 = \beta_1 + \beta_2 \frac{\operatorname{Cov}(x_i,z_i)} {\operatorname{Var}(x_i)} + \frac{\operatorname{Cov}(x_i,u_i)} {\operatorname{Var}(x_i)}

題目給定:

E(ui∣xi)=0E(u_i\mid x_i)=0

由條件期望為零可得:

Cov⁡(xi,ui)=0\operatorname{Cov}(x_i,u_i)=0

又因為:

Cov⁡(xi,zi)=0\operatorname{Cov}(x_i,z_i)=0

且:

Var⁡(xi)=σx2>0\operatorname{Var}(x_i)=\sigma_x^2>0

所以:

P lim⁡β^1=β1+β20σx2+0σx2=β1\operatorname{P\,lim}\hat{\beta}_1 = \beta_1 + \beta_2\frac{0}{\sigma_x^2} + \frac{0}{\sigma_x^2} = \beta_1

偏誤項與其符號

遺漏變數偏誤為:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 6 題

To estimate a demand function for fish, we use the data in the fish market and consider the following model:
log⁡(Q)=β0+β1log⁡(Pt)+β2MON+β3TUE+β4WED+β5THUR+ut\log(Q) = \beta_0 + \beta_1 \log(P_t) + \beta_2 \text{MON} + \beta_3 \text{TUE} + \beta_4 \text{WED} + \beta_5 \text{THUR} + u_t
For the independent variables, we include a set of dummies for days of the week, and the based group is Friday. The following table shows the empirical result from ordinary least squares (OLS) regression:

VariablesOLS
log(Q)
log(Pt)-0.525***
[0.176]
MON-0.311
[0.226]
TUE-0.683***
[0.223]
WED-0.534**
[0.220]
THUR0.0672
[0.220]
Constant8.244***
[0.163]

Observations: 97
R-squared: 0.217
Standard errors in brackets
*** p<0.01, ** p<0.05, * p<0.1

(a) (5 points) Interpret the coefficient on log(Pt).
(b) (5 points) Find the 95% confidence interval for β1\beta_1. Then, test H0:β1=0H_0: \beta_1 = 0 against the two-sided alternative. What do you conclude?
(c) (5 points) Why do we need to include the dummies for days of the week? Also, interpret the coefficients on those dummies.
(d) (5 points) Explain why the variable log(Pt) could be an endogenous variable, and find a suitable instrumental variable (IV).
(e) (5 points) Assume that z1tz_{1t} and z2tz_{2t} are two valid instrumental variables. Describe how you use two stage least squares (2SLS) to get the unbiased estimator. Write down the detailed procedures.
(f) (5 points) Compared with the OLS estimator, do you think that the 2SLS estimator should be larger, smaller, or uncertain? Explain.
(g) (5 points) If you want to check whether there exists a weak IV problem or not, what can you do? Write down the detailed procedures.

登入後即可作答並保存紀錄。

這一題的完整詳解

這是一個關於迴歸分析的綜合題,涵蓋了係數解釋、信賴區間、假設檢定、虛擬變數應用、內生性問題、工具變數法(IV)及兩階段最小平方法(2SLS)。

總體模型:
log⁡(Qt)=β0+β1log⁡(Pt)+β2MONt+β3TUEt+β4WEDt+β5THURt+ut\log(Q_t) = \beta_0 + \beta_1 \log(P_t) + \beta_2 \text{MON}_t + \beta_3 \text{TUE}_t + \beta_4 \text{WED}_t + \beta_5 \text{THUR}_t + u_t
其中 QtQ_t 是魚的數量,PtP_t 是魚的價格。MON, TUE, WED, THUR 是星期幾的虛擬變數(dummy variables),Friday 是基準組(base group)。

OLS 迴歸結果:

  • β^1=−0.525\hat{\beta}_1 = -0.525 (標準誤 s.e.=0.176s.e. = 0.176)
  • β^2=−0.311\hat{\beta}_2 = -0.311 (s.e.=0.226s.e. = 0.226)
  • β^3=−0.683\hat{\beta}_3 = -0.683 (s.e.=0.223s.e. = 0.223)
  • β^4=−0.534\hat{\beta}_4 = -0.534 (s.e.=0.220s.e. = 0.220)
  • β^5=0.0672\hat{\beta}_5 = 0.0672 (s.e.=0.220s.e. = 0.220)
  • β^0=8.244\hat{\beta}_0 = 8.244 (s.e.=0.163s.e. = 0.163)
  • n=97n=97, R2=0.217R^2=0.217

(a) (5 points) Interpret the coefficient on log(Pt).

解釋:
係數 β1\beta_1 是 log⁡(Pt)\log(P_t) 的係數,這表示當價格 PtP_t 的對數變動一個單位時,魚的數量 QtQ_t 的對數預期會變動 β1\beta_1 個單位。這也稱為彈性(elasticity)。
β^1=−0.525\hat{\beta}_1 = -0.525 是一個點估計值。

解釋:
β^1=−0.525\hat{\beta}_1 = -0.525 表示,在控制了星期幾的影響後,魚的價格(PtP_t)的對數每增加 1%,預期魚的購買數量(QtQ_t)的對數會減少 0.525%。這意味著魚的需求是價格的負彈性,即價格越高,需求量越低,這是經濟學上符合預期的結果。


(b) (5 points) Find the 95% confidence interval for β1\beta_1. Then, test H0:β1=0H_0: \beta_1 = 0 against the two-sided alternative. What do you conclude?

1. 計算 95% 信賴區間 (Confidence Interval, CI)

信賴區間的公式為:
CI=β^1±tα/2,n−k−1×s.e.(β^1)CI = \hat{\beta}_1 \pm t_{\alpha/2, n-k-1} \times s.e.(\hat{\beta}_1)
其中 n=97n=97 是樣本數,k=5k=5 是解釋變數的數量(log⁡(Pt)\log(P_t) 和四個虛擬變數,Friday 是基準組)。
自由度 df=n−k−1=97−5−1=91df = n - k - 1 = 97 - 5 - 1 = 91。
信賴水準為 95%,所以 α=0.05\alpha = 0.05,α/2=0.025\alpha/2 = 0.025。
由於自由度 df=91df=91 較大,我們可以使用常態分配的臨界值 zα/2≈1.96z_{\alpha/2} \approx 1.96 來近似 t 分配的臨界值 t0.025,91t_{0.025, 91}。
(或者查閱 t 分配表,df=91 時 t0.025,91≈1.985t_{0.025, 91} \approx 1.985。使用 1.961.96 也是可接受的近似)。我們在此使用 1.961.96。

β^1=−0.525\hat{\beta}_1 = -0.525
s.e.(β^1)=0.176s.e.(\hat{\beta}_1) = 0.176

邊際誤差 (Margin of Error, MOE) =1.96×0.176≈0.345= 1.96 \times 0.176 \approx 0.345

95% CI =−0.525±0.345= -0.525 \pm 0.345
95% CI =(−0.525−0.345,−0.525+0.345)= (-0.525 - 0.345, -0.525 + 0.345)
95% CI =(−0.870,−0.180)= (-0.870, -0.180)

2. 假設檢定 (Hypothesis Testing)

虛無假設 H0:β1=0H_0: \beta_1 = 0 (魚的價格對數量沒有顯著影響)。
對立假設 HA:β1≠0H_A: \beta_1 \neq 0 (魚的價格對數量有顯著影響)。
檢定統計量為 t 值:
t=β^1−β1,H0s.e.(β^1)=−0.525−00.176=−0.5250.176≈−2.983t = \frac{\hat{\beta}_1 - \beta_{1, H_0}}{s.e.(\hat{\beta}_1)} = \frac{-0.525 - 0}{0.176} = \frac{-0.525}{0.176} \approx -2.983
顯著水準 α=0.05\alpha = 0.05。
臨界值 ∣tα/2,df∣=∣t0.025,91∣≈1.985|t_{\alpha/2, df}| = |t_{0.025, 91}| \approx 1.985 (使用近似值 1.961.96 也可以)。
由於 ∣tobserved∣=∣−2.983∣=2.983>1.985|t_{observed}| = |-2.983| = 2.983 > 1.985,我們拒絕虛無假設 H0H_0。

結論:
95% 信賴區間 (−0.870,−0.180)(-0.870, -0.180) 不包含 0。
假設檢定結果顯示,在 5% 的顯著水準下,我們拒絕 β1=0\beta_1 = 0 的虛無假設。
因此,我們有統計上顯著的證據表明,魚的價格對其需求量有顯著影響。


(c) (5 points) Why do we need to include the dummies for days of the week? Also, interpret the coefficients on those dummies.

1. 為什麼需要包含星期幾的虛擬變數?

我們需要包含星期幾的虛擬變數,是因為魚的需求量可能受到星期幾的影響。例如,人們可能在週末(如週四、週五)比工作日(週一至週三)購買更多的魚,或者有不同的消費習慣。如果我們不控制這些星期幾的差異,那麼星期幾對需求的影響可能會被錯誤地歸因於其他變數(如價格 log⁡(Pt)\log(P_t)),導致迴歸係數產生遺漏變數偏誤(omitted variable bias)。

2. 解釋虛擬變數的係數

模型設定Friday為基準組(base group),表示當所有虛擬變數 (MON, TUE, WED, THUR) 皆為 0 時,模型為 Friday 的情況。
我們解釋每個虛擬變數的係數,代表該天相對於 Friday 的需求量的差異。

  • β^2=−0.311\hat{\beta}_2 = -0.311 (MON): 在控制了價格和其他星期幾的影響後,相較於 Friday,星期一的魚的對數需求量預期會低 0.311。
  • β^3=−0.683\hat{\beta}_3 = -0.683 (TUE): 相較於 Friday,星期二的魚的對數需求量預期會低 0.683。這個影響是所有星期幾中最大(負面)的,且統計上非常顯著 (***)。
  • β^4=−0.534\hat{\beta}_4 = -0.534 (WED): 相較於 Friday,星期三的魚的對數需求量預期會低 0.534。
  • β^5=0.0672\hat{\beta}_5 = 0.0672 (THUR): 相較於 Friday,星期四的魚的對數需求量預期會高 0.0672。但這個係數並不統計上顯著(p-value > 0.1)。

顯著性分析:

  • MON: tt-statistic = −0.311/0.226≈−1.376-0.311 / 0.226 \approx -1.376 (p-value > 0.1)
  • TUE: tt-statistic = −0.683/0.223≈−3.063-0.683 / 0.223 \approx -3.063 (p < 0.01)
  • WED: tt-statistic = −0.534/0.220≈−2.427-0.534 / 0.220 \approx -2.427 (p < 0.05)
  • THUR: tt-statistic = 0.0672/0.220≈0.3050.0672 / 0.220 \approx 0.305 (p > 0.1)

可以看出,週二和週三的需求量顯著低於週五,而週一和週四與週五相比,差異不顯著。


(d) (5 points) Explain why the variable log(Pt) could be an endogenous variable, and find a suitable instrumental variable (IV).

1. 為什麼 log(Pt) 可能是內生變數 (Endogenous Variable)?

在迴歸模型中,如果一個解釋變數與誤差項 utu_t 相關,那麼該解釋變數就是內生變數。
在需求函數模型中,解釋變數是價格 log⁡(Pt)\log(P_t),而誤差項 utu_t 代表了除了價格、星期幾等已包含變數之外,所有影響需求量的其他因素。
價格 log⁡(Pt)\log(P_t) 可能與誤差項 utu_t 相關,原因如下:

  • 供給端的變動: 魚的供給量也可能受到許多未包含在模型中的因素影響(例如,天氣、漁獲量、政府補貼等)。這些因素會同時影響供給曲線和需求曲線。當供給曲線移動時,市場均衡價格 PtP_t 會改變,進而影響需求量 QtQ_t。如果這些影響供給的因素未被完全包含在誤差項 utu_t 中,那麼價格 PtP_t 就會與 utu_t 相關。
  • 反向因果關係: 雖然我們建立的是需求函數,但市場上的價格是供給和需求共同決定的。如果模型中的誤差項 utu_t 也包含了影響供給的隨機因素,那麼這些因素會同時影響價格和需求,導致價格與誤差項相關。

簡單來說,市場價格 PtP_t 是由供給和需求共同決定的,如果誤差項 utu_t 包含了影響供給的隨機因素,那麼 PtP_t 就會與 utu_t 相關。

2. 尋找合適的工具變數 (Instrumental Variable, IV)

一個好的工具變數 ZZ 必須滿足兩個條件:
a. 相關性 (Relevance): 工具變數 ZZ 必須與內生解釋變數 log⁡(Pt)\log(P_t) 相關,即 Cov(Z,log⁡(Pt))≠0Cov(Z, \log(P_t)) \neq 0。
b. 外生性 (Exogeneity): 工具變數 ZZ 必須與誤差項 utu_t 無關,即 Cov(Z,ut)=0Cov(Z, u_t) = 0。

在魚的需求函數模型中,我們可以考慮以下可能的工具變數:

  • 其他魚類的價格: 如果我們研究的是特定種類魚的需求,那麼其他替代性魚類的價格可能影響該魚的價格(因為消費者可能會轉換購買),但它們對魚的數量需求 QtQ_t 的直接影響(除了透過價格傳導外)可能較小,且不太可能直接受 utu_t 的影響。
  • 捕撈成本相關變數: 例如,燃油價格、漁具價格、或勞動力成本等。這些因素會影響魚的供給成本,進而影響市場價格 PtP_t,但它們對魚的需求量 QtQ_t 的直接影響(除了透過價格傳導外)可能較小,且不太可能直接受 utu_t 的影響。
  • 政府補貼或政策變動: 影響漁業供給的政策變動,可能會影響價格,但對需求沒有直接影響。

一個具體的例子:
假設我們研究鮭魚的需求。我們可以考慮鯛魚的價格作為鮭魚價格 log⁡(Pt)\log(P_t) 的工具變數。

  • 相關性: 鯛魚價格上漲,消費者可能轉向購買鮭魚,這會影響鮭魚的市場價格。
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題