111 年 國立臺灣大學國際企業學系碩士班乙組《統計學(K)》

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

第 1 題

  1. The manager for a grocery store needs to decide how many cabbages to order each day. A cabbage sells for 1.20andcoststhegrocerystore1.20 and costs the grocery store 0.75. Any unsold cabbage at the end of the day is donated to charity. If the manager purchases 100 cabbages for tomorrow and demand for lettuce that day is 250 heads, what is the profit?
    A) -75B)75 B) 0
    C) 45D)45 D) 112.5
    E) $120

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

這一題的完整詳解

這題考驗對利潤計算的理解,包含固定成本、變動成本與收入的關係。

題目中提到:

  • 每個高麗菜的售價 (Selling Price, SP) = $1.20
  • 每個高麗菜的成本 (Cost Price, CP) = $0.75
  • 購買數量 = 100 個
  • 需求量 (Demand) = 250 個 (此資訊與高麗菜利潤無關,僅為干擾資訊)
  • 未售出的高麗菜捐贈,意即沒有回收價值。
🔒

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

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

免費註冊

第 2 題

  1. The following data represent the number of sweaters sold for each of the past six days for a department store. Using a three-period simple moving average, what is the sales forecast for Day 7?
    Day
    Day 1
    Day 2
    Day 3
    Day 4
    Day 5
    Day 6
    Sales
    6
    13
    8
    4
    9
    14
    A) 6.5
    B) 7.0
    C) 9.0
    D) 11.5
    E) None of the above

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

這一題的完整詳解

這題考驗對「簡單移動平均法」(Simple Moving Average, SMA) 的應用,特別是「三期移動平均法」。

簡單移動平均法的概念是利用過去一段固定期間的數據來預測未來。三期移動平均法 (SMA(3)) 則是取最近的三期數據的平均值作為預測值。

題目提供的數據如下:

  • Day 1: Sales = 6
  • Day 2: Sales = 13
  • Day 3: Sales = 8
  • Day 4: Sales = 4
  • Day 5: Sales = 9
  • Day 6: Sales = 14
🔒

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

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

免費註冊

第 3 題

  1. When using the chi-square test and the observed frequencies are relatively close to the expected frequencies, which one of the following statements is the most likely to be true?
    A) The scenario will result in a smaller chi-square statistic, which makes it less likely to reject the null hypothesis.
    B) The scenario will result in a smaller chi-square statistic, which makes it more likely to reject the null hypothesis.
    C) The scenario will result in a larger chi-square statistic, makes it less likely to reject the null hypothesis.
    D) The scenario will result in a larger chi-square statistic, makes it more likely to reject the null hypothesis.
    E) Cannot conclude with the information provided

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

這一題的完整詳解

這題考驗對卡方檢定 (Chi-Square Test) 統計量計算及其與 P-value/決策關係的理解。

卡方檢定用於比較觀察頻率 (Observed Frequencies, OiO_i) 與期望頻率 (Expected Frequencies, EiE_i) 之間的差異。其檢定統計量公式為:
χ2=∑i=1k(Oi−Ei)2Ei\chi^2 = \sum_{i=1}^k \frac{(O_i - E_i)^2}{E_i}
其中 kk 是類別的數量。

檢定統計量的值越大,表示觀察頻率與期望頻率之間的差異越大。

題目提到「觀察頻率 are relatively close to the expected frequencies」,這意味著 (Oi−Ei)2(O_i - E_i)^2 的值會比較小。

🔒

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

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

免費註冊

第 4 題

  1. One airline company would like to investigate if a difference exists in the proportion of flights that arrive on-time between Alaska Airlines, Delta Airlines, Southwest Airlines, and United Airlines. The following data represent the number of on-time flights from random samples taken from each airline. What is the appropriate statistical test and what is the degree of freedom?
    Airline
    Alaska
    Delta
    Southwest
    United
    Total
    Number On-time
    90
    95
    85
    60
    330
    Sample Size
    100
    120
    100
    80
    400
    A) An F-test with the degree of freedom = 3
    B) An F-test with the degree of freedom = 4
    C) A z-test with the degree of freedom = 3
    D) A chi-square test with the degree of freedom = 3
    E) A chi-square test with the degree of freedom = 4

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

這一題的完整詳解

這題考驗如何選擇適合的統計檢定方法來比較多個比例 (proportions) 的差異,以及如何計算自由度。

題目中,我們想比較四家航空公司 (Alaska, Delta, Southwest, United) 的「準點抵達航班的比例」是否存在差異。我們有來自這四個組別的樣本數據,並且關心的是每個組別的比例。

當我們需要比較三個或更多組別的比例時,最適合的統計檢定方法是卡方獨立性檢定 (Chi-Square Test of Independence) 或卡方齊一性檢定 (Chi-Square Test of Homogeneity)。這兩種檢定都使用卡方分佈。

在這個問題中,我們有四個類別(航空公司),每個類別都有一個結果(準點或不準點)。這是一個典型的「多組比例比較」問題。

🔒

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

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

免費註冊

第 5 題

  1. A Type I error occurs when performing one-way ANOVA when we
    A) conclude that the group means are equal but, in fact, they are not equal.
    B) conclude that the group variances are equal but, in fact, they are not equal.
    C) conclude that the group means are not equal but, in fact, they are equal.
    D) conclude that the group variances are not equal but, in fact, they are equal.
    E) None of the above

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

這一題的完整詳解

這題考驗對統計檢定中第一類錯誤 (Type I Error) 的定義,特別是在單因子變異數分析 (One-Way ANOVA) 的情境下。

第一類錯誤 (Type I Error),也稱為 false positive,是指當虛無假設 (Null Hypothesis, H0H_0) 為真時,我們卻拒絕了它。

在單因子變異數分析 (One-Way ANOVA) 中,虛無假設 (H0H_0) 是所有組別的母體平均數都相等:
H0:μ1=μ2=⋯=μkH_0: \mu_1 = \mu_2 = \dots = \mu_k

對立假設 (HaH_a) 是至少有一個組別的母體平均數不等於其他組別:
Ha:H_a: 至少有一個 μi≠μj\mu_i \neq \mu_j

🔒

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

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

免費註冊

第 6 題

  1. A professor would like to test the hypothesis that the average number of minutes that a student needs to complete a statistics exam is equal to 60 minutes. A Type II error would occur if the professor concludes that the average exam time is
    A) not equal to 60 minutes when, in reality, the average time is equal to 60 minutes
    B) not equal to 60 minutes when, in reality, the average time is greater than 60 minutes
    C) equal to 60 minutes when, in reality, the average time is less than 60 minutes
    D) equal to 60 minutes when, in reality, the average time is not equal to 60 minutes
    E) None of the above

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

這一題的完整詳解

這題考驗對第二類錯誤 (Type II Error) 的定義,特別是在一個單一樣本假設檢定 (One-Sample Hypothesis Test) 的情境下。

第二類錯誤 (Type II Error),也稱為 false negative,是指當虛無假設 (Null Hypothesis, H0H_0) 為假時,我們卻未能拒絕它。

在此題目中:

  • 虛無假設 (H0H_0):母體平均考試時間 = 60 分鐘 (μ=60\mu = 60)。
  • 對立假設 (HaH_a):母體平均考試時間 ≠\neq 60 分鐘 (μ≠60\mu \neq 60)。

第二類錯誤發生在:

  • H0H_0 為假 (即真實的母體平均考試時間不是 60 分鐘)。
  • 但我們基於樣本數據,錯誤地未能拒絕 H0H_0,而得出平均考試時間等於 60 分鐘的結論。

我們來分析選項:
A) 「concludes that the average exam time is not equal to 60 minutes when, in reality, the average time is equal to 60 minutes」。

  • 結論:μ≠60\mu \neq 60 (拒絕 H0H_0)
  • 事實:μ=60\mu = 60 (H0H_0 為真)
  • 這種情況是第一類錯誤 (Type I Error)。

B) 「concludes that the average exam time is not equal to 60 minutes when, in reality, the average time is greater than 60 minutes」。

  • 結論:μ≠60\mu \neq 60 (拒絕 H0H_0)
  • 事實:μ>60\mu > 60 (H0H_0 為假)
  • 這是正確地拒絕了虛無假設。

C) 「concludes that the average exam time is equal to 60 minutes when, in reality, the average time is less than 60 minutes」。

  • 結論:μ=60\mu = 60 (未能拒絕 H0H_0)
  • 事實:μ<60\mu < 60 (H0H_0 為假)
🔒

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

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

免費註冊

第 7 題

  1. The test statistics for one-way ANOVA follows the
    A) normal distribution
    B) Student's t-distribution
    C) binomial distribution
    D) F-distribution
    E) Poisson distribution

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

這一題的完整詳解

這題考驗對單因子變異數分析 (One-Way ANOVA) 中所使用的檢定統計量 (Test Statistic) 所服從的機率分佈的認識。

單因子變異數分析 (One-Way ANOVA) 的目的是比較三個或更多組別的母體平均數是否相等。它透過比較組間變異數 (between-group variance) 與組內變異數 (within-group variance) 的比例來進行檢定。

ANOVA 的虛無假設 (H0H_0) 是所有組別的母體平均數相等。
對立假設 (HaH_a) 是至少有一個組別的平均數不同。

在 H0H_0 為真的情況下,ANOVA 的檢定統計量是組間變異數與組內變異數的比值,這個比值服從 F 分佈 (F-distribution)。
F=MSBMSWF = \frac{\text{MSB}}{\text{MSW}}
其中 MSB 是 Mean Square Between Groups,MSW 是 Mean Square Within Groups。

🔒

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

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

免費註冊

第 8 題

  1. Which is present in the regression model when independent variables within the model are highly correlated?
    A) Autocorrelation
    B) Homoscedasticity
    C) Heteroscedasticity
    D) Multicollinearity
    E) A dummy variable

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

這一題的完整詳解

這題考驗對迴歸模型中可能出現的問題的認識,特別是當自變數之間高度相關時會發生什麼情況。

當一個迴歸模型中有兩個或更多個自變數 (independent variables) 之間存在高度相關性時,這種現象稱為「多重共線性」(Multicollinearity)。

選項分析:
A) Autocorrelation (自相關):通常出現在時間序列資料中,表示誤差項之間存在相關性。
B) Homoscedasticity (同質變異數):表示誤差項的變異數對於所有觀察值都是恆定的。這是迴歸分析的一個假設,而非問題。

🔒

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

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

免費註冊

第 9 題

  1. What will happen if we increase the sample size when calculating a confidence interval while keeping the confidence level constant?
    A) result in a narrower (less precise) confidence interval
    B) result in a narrower (more precise) confidence interval
    C) result in a wider (less precise) confidence interval
    D) result in a wider (more precise) confidence interval
    E) None of the above

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

這一題的完整詳解

這題考驗對信賴區間 (Confidence Interval, CI) 計算中,樣本大小 (sample size, nn) 對區間寬度的影響。

信賴區間的計算公式通常是:
Point Estimate±Margin of Error\text{Point Estimate} \pm \text{Margin of Error}
其中 Margin of Error (MOE) 的計算方式會包含樣本大小。

對於平均數的信賴區間,MOE 的公式通常是:
MOE=zα/2×σnorMOE=tα/2,df×sn\text{MOE} = z_{\alpha/2} \times \frac{\sigma}{\sqrt{n}} \quad \text{or} \quad \text{MOE} = t_{\alpha/2, df} \times \frac{s}{\sqrt{n}}
其中:

🔒

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

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

免費註冊

第 10 題

  1. A data scientist observed the mean of a sample was below the median. What did this information suggest about the distribution?
    A) The distribution is symmetric.
    B) The distribution is skewed to the right or positively skewed.
    C) The distribution is skewed to the left or negatively skewed.
    D) The distribution is multimodal.
    E) There is insufficient information to determine the shape of the distribution.

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

這一題的完整詳解

這題考驗對樣本統計量(平均數與中位數)與資料分佈形態之間關係的理解。

  • 對稱分佈 (Symmetric Distribution):在對稱分佈中,平均數 (mean)、中位數 (median) 和眾數 (mode) 通常是相等的,或者非常接近。分佈的兩側是對稱的。
  • 右偏分佈 (Right-Skewed / Positively Skewed Distribution):在右偏分佈中,大部分數據集中在左側,尾部向右延伸。由於右側的極端值會將平均數拉向右邊,因此通常有:平均數 > 中位數 > 眾數。
  • 左偏分佈 (Left-Skewed / Negatively Skewed Distribution):在左偏分佈中,大部分數據集中在右側,尾部向左延伸。由於左側的極端值會將平均數拉向左邊,因此通常有:平均數 < 中位數 < 眾數。
🔒

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

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

免費註冊

第 11 題

  1. Alan likes to play bowling. He claims that his median bowling score for a round is greater than 190. The following random sample from 11 rounds is collected to test this hypothesis. Using a = 0.05, which one of the following statements is true?
    188 185 193 186 186 190 194 188 187 187 184
    A) Because the p-value is greater than a, we reject the null hypothesis and conclude that the median bowling score is greater than 190.
    B) Because the p-value is greater than a, we fail to reject the null hypothesis and cannot conclude that the median bowling score is greater than 190.
    C) Because the p-value is less than a, we fail to reject the null hypothesis and cannot conclude that the median bowling score is greater than 190.
    D) Because the p-value is less than a, we reject the null hypothesis and conclude that the median bowling score is greater than 190.
    E) None of the above

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

這一題的完整詳解

核心觀念

本題檢定母體中位數是否大於 190190,適合使用符號檢定。符號檢定只比較每筆觀測值與假設中位數的大小,不要求母體分配為常態。

設母體中位數為 η\eta,假設為:

H0:η=190,H1:η>190H_0:\eta=190,\qquad H_1:\eta>190

在虛無假設的邊界 η=190\eta=190 下,扣除等於 190190 的觀測值後,每筆資料大於 190190 的機率為 0.50.5。因此,若有效樣本數為 nn,大於 190190 的筆數 XX 在 H0H_0 下服從 Binomial⁡(n,0.5)\operatorname{Binomial}(n,0.5)。

解題方法

樣本中:

  • 大於 190190:193,194193,194,共 22 筆。
  • 等於 190190:190190,共 11 筆。
  • 小於 190190:共 88 筆。

符號檢定要將等於假設中位數的觀測值剔除,因此有效樣本數為 n=10n=10,大於 190190 的筆數為 X=2X=2。

由於對立假設是 η>190\eta>190,要檢查「大於 190190」的筆數是否異常偏多,故採用右尾檢定。pp 值為:

🔒

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

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

免費註冊

第 12 題

  1. A student would like to test the hypothesis that the average roundtrip airfare between New York and Paris is higher for a flight originating in New York when compared to a flight originating in Paris. The following data summarizes the sample statistics for roundtrip flights originating in both cities. Assume that the population variances are not equal. Using a = 0.05, what is the conclusion for this hypothesis test?
    Originating City
    New York
    Paris
    Sample mean
    1,3151,315 1,035
    Sample size
    16
    16
    Sample standard deviation
    270270 240
    A) The average roundtrip airfare between New York and Paris is higher for a flight originating in Paris when compared to a flight originating in New York.
    B) The average roundtrip airfare between New York and Paris is higher for a flight originating in New York when compared to a flight originating in Paris.
    C) The average roundtrip airfare between New York and Paris is similar for a flight originating in New York and a flight originating in Paris.
    D) The average roundtrip airfare between New York and Paris is not the same for a flight originating in New York and a flight originating in Paris, but we cannot tell which one is higher.
    E) Information is not enough to reach a conclusion.

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

這一題的完整詳解

核心觀念

本題評量兩獨立母體平均數差之假設檢定(Two-Independent-Sample tt-test),且題目明確指出「母體變異數不相等(σ12≠σ22\sigma_1^2 \neq \sigma_2^2)」,因此屬於 韋爾奇 tt 檢定(Welch's tt-test / Unequal Variances tt-test)。

相關核心公式如下:

  1. 假設設定(單尾檢定):

    • 虛無假設(H0H_0):μ1≤μ2\mu_1 \le \mu_2(μ1−μ2≤0\mu_1 - \mu_2 \le 0)
    • 對立假設(H1H_1):μ1>μ2\mu_1 > \mu_2(μ1−μ2>0\mu_1 - \mu_2 > 0)
      其中 μ1\mu_1 為紐約出發機票之母體平均票價,μ2\mu_2 為巴黎出發機票之母體平均票價。
  2. 檢定統計量(tt-statistic):
    t=(Xˉ1−Xˉ2)−(μ1−μ2)0s12n1+s22n2t = \frac{(\bar{X}_1 - \bar{X}_2) - (\mu_1 - \mu_2)_0}{\sqrt{\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}}}

  3. 自由度(Degrees of Freedom, dfdf):
    採用 Satterthwaite 近似公式計算自由度 ν\nu:
    ν=(s12n1+s22n2)2(s12/n1)2n1−1+(s22/n2)2n2−1\nu = \frac{\left(\dfrac{s_1^2}{n_1} + \dfrac{s_2^2}{n_2}\right)^2}{\dfrac{(s_1^2 / n_1)^2}{n_1 - 1} + \dfrac{(s_2^2 / n_2)^2}{n_2 - 1}}
    或在考場速算時採用保守估計法:ν=min⁡(n1−1,n2−1)\nu = \min(n_1 - 1, n_2 - 1)。


解題方法

步驟 1:整理題目給定之樣本統計量

  • 紐約(組 1):Xˉ1=1315\bar{X}_1 = 1315、  s1=270\;s_1 = 270、  n1=16\;n_1 = 16
  • 巴黎(組 2):Xˉ2=1035\bar{X}_2 = 1035、  s2=240\;s_2 = 240、  n2=16\;n_2 = 16
  • 顯著水準:α=0.05\alpha = 0.05

步驟 2:計算標準誤(Standard Error, SESE)

SE=s12n1+s22n2=270216+240216=72900+5760016=13050016=8156.25≈90.312SE = \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}} = \sqrt{\frac{270^2}{16} + \frac{240^2}{16}} = \sqrt{\frac{72900 + 57600}{16}} = \sqrt{\frac{130500}{16}} = \sqrt{8156.25} \approx 90.312

步驟 3:計算檢定統計量 tt 值

t=1315−103590.312=28090.312≈3.100t = \frac{1315 - 1035}{90.312} = \frac{280}{90.312} \approx 3.100

步驟 4:確認自由度與臨界值(Critical Value)

  • 使用 Satterthwaite 公式精確計算自由度:
🔒

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

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

免費註冊

第 13 題

  1. The table below shows the number of cars sold last month by a sample of seven employees at a car dealer and their number of years of sales experience. What is the correlation coefficient for this data?
    Employee
    No. 1
    No. 2
    No. 3
    No. 4
    No. 5
    No. 6
    No. 7
    Experience
    2
    2
    1
    4
    5
    6
    8
    Sales
    6
    7
    8
    14
    9
    13
    10
    A) -0.441
    B) -0.112
    C) 0.553
    D) 0.884
    E) None of the above

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

這一題的完整詳解

這題考驗如何計算皮爾森相關係數 (Pearson Correlation Coefficient, rr),以及如何根據數據判斷相關係數的可能範圍。

相關係數 rr 用於衡量兩個連續變數之間線性關係的強度和方向。
公式為:
r=∑i=1n(xi−xˉ)(yi−yˉ)∑i=1n(xi−xˉ)2∑i=1n(yi−yˉ)2=Cov(x,y)σxσyr = \frac{\sum_{i=1}^n (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_{i=1}^n (x_i - \bar{x})^2 \sum_{i=1}^n (y_i - \bar{y})^2}} = \frac{\text{Cov}(x, y)}{\sigma_x \sigma_y}
其中 xx 是經驗年數 (Experience),yy 是銷售量 (Sales)。

給定的數據 (n=7):

EmployeeExperience (x)Sales (y)
No. 126
No. 227
No. 318
No. 4414
No. 559
No. 6613
No. 7810

我們需要計算:

  1. xˉ\bar{x} (經驗年數的平均數)
  2. yˉ\bar{y} (銷售量的平均數)
  3. ∑(xi−xˉ)(yi−yˉ)\sum (x_i - \bar{x})(y_i - \bar{y}) (共變異數的分子)
  4. ∑(xi−xˉ)2\sum (x_i - \bar{x})^2 (x 的變異數分子)
  5. ∑(yi−yˉ)2\sum (y_i - \bar{y})^2 (y 的變異數分子)

計算步驟:

  1. 計算平均數:
    ∑x=2+2+1+4+5+6+8=28\sum x = 2+2+1+4+5+6+8 = 28
    xˉ=28/7=4\bar{x} = 28 / 7 = 4

    ∑y=6+7+8+14+9+13+10=67\sum y = 6+7+8+14+9+13+10 = 67
    yˉ=67/7≈9.5714\bar{y} = 67 / 7 \approx 9.5714

  2. 計算各項差值與乘積:

    xix_iyiy_ixi−xˉx_i - \bar{x}yi−yˉy_i - \bar{y}(xi−xˉ)(yi−yˉ)(x_i - \bar{x})(y_i - \bar{y})(xi−xˉ)2(x_i - \bar{x})^2(yi−yˉ)2(y_i - \bar{y})^2
    26-2-3.57147.1428412.7551
🔒

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

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

免費註冊

第 14 題

  1. To investigate the effectiveness of a diet, a random sample of 9 patients is drawn from a population of adult using the diet. The weight of each individual in the sample is taken at the start and at the end of the diet. Assume that the population of differences in weight before and after the diet follows a normal distribution. Suppose the mean decrease in weights over all 9 subjects in the study is 1.0 kilograms with the standard deviation computed as 4.5 kilograms. What conclusion can be made about the effectiveness of the diet, based on the test, at the 0.05 level of significance?
    A) The diet is not effective.
    B) The diet is effective.
    C) The sample size is relatively small to make a conclusion.
    D) The variance is relatively large to make a conclusion.
    E) None of the above.

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

這一題的完整詳解

核心觀念

本題考查「成對樣本 tt 檢定」。同一位患者在飲食前、後各量測一次體重,因此兩次觀測並非獨立樣本,應先計算每位患者的體重差異,再檢定差異母體平均數是否顯著大於 00。

令

Di=飲食前體重−飲食後體重D_i=\text{飲食前體重}-\text{飲食後體重}

則 Di>0D_i>0 表示體重下降。題目已知差異母體呈常態分布,且

n=9,Dˉ=1.0,sD=4.5n=9,\qquad \bar D=1.0,\qquad s_D=4.5

因母體變異數未知,使用單一母體平均數的 tt 檢定。

解題方法

飲食有效代表平均體重下降量大於 00,因此設定:

H0:μD=0H_0:\mu_D=0 H1:μD>0H_1:\mu_D>0

其中 μD\mu_D 為全體使用該飲食者的平均體重下降量。顯著水準為

α=0.05\alpha=0.05

檢定統計量為

t=Dˉ−μD,0sD/nt=\frac{\bar D-\mu_{D,0}}{s_D/\sqrt n}

代入 μD,0=0\mu_{D,0}=0:

t=1.0−04.5/9=1.04.5/3=1.01.5=0.667t=\frac{1.0-0}{4.5/\sqrt 9} =\frac{1.0}{4.5/3} =\frac{1.0}{1.5} =0.667

自由度為

df=n−1=8df=n-1=8

右尾檢定在 α=0.05\alpha=0.05、df=8df=8 下的臨界值約為

t0.05,8=1.860t_{0.05,8}=1.860

拒絕域為

t>1.860t>1.860

但本題的檢定統計量

0.667<1.8600.667<1.860

因此不拒絕 H0H_0。樣本雖然平均下降 1.01.0 公斤,但此下降量相對於樣本變異而言不夠大,未達到統計顯著,不能認定飲食具有有效減重效果。

選項分析

  • A) The diet is not effective.
🔒

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

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

免費註冊

第 15 題

  1. A hotel chain has 5 resorts in different small islands. The following table shows the hotel occupancies on 4 randomly selected days in the 5 locations. What is the conclusion of the test about whether the mean of the hotel occupancies is all the same for the 5 locations, at the 0.1 level of significance?
    Occupancy
    Location A
    Location B
    Location C
    Location D
    Location E
    Observation 1
    28
    40
    11
    37
    27
    Observation 2
    33
    35
    11
    47
    29
    Observation 3
    41
    36
    10
    45
    25
    Observation 4
    36
    37
    12
    39
    28
    A) We can reject the null hypothesis and conclude that there is a difference in hotel occupancies in the 5 locations.
    B) We can reject the null hypothesis and conclude that there is no difference in hotel occupancies in the 5 locations.
    C) We cannot reject the null hypothesis and conclude that there is a difference in hotel occupancies in the 5 locations.
    D) We cannot reject the null hypothesis and conclude that there is no difference in hotel occupancies in the 5 locations.
    E) Information is not enough to reach a conclusion.

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

這一題的完整詳解

這題考驗對單因子變異數分析 (One-Way ANOVA) 的應用,以檢定多個組別的平均數是否相等。

我們要檢定的假設是:

  • 虛無假設 (H0H_0):五個地點的平均入住率都相同 (μA=μB=μC=μD=μE\mu_A = \mu_B = \mu_C = \mu_D = \mu_E)。
  • 對立假設 (HaH_a):至少有一個地點的平均入住率與其他地點不同。

給定的數據:

  • 組別數量 (地點) k=5k = 5 (A, B, C, D, E)
  • 每個組別的觀察值數量 n=4n = 4
  • 總觀察值數量 N=k×n=5×4=20N = k \times n = 5 \times 4 = 20
  • 顯著水準 α=0.1\alpha = 0.1

首先,我們需要計算 ANOVA 的檢定統計量 F。這需要計算組間平方和 (SSB) 和組內平方和 (SSW)。

  1. 計算各組平均數 (xˉj\bar{x}_j) 和總平均數 (xˉgrand\bar{x}_{grand}):

    • Location A: 28, 33, 41, 36. Sum = 138. xˉA=138/4=34.5\bar{x}_A = 138 / 4 = 34.5

    • Location B: 40, 35, 36, 37. Sum = 148. xˉB=148/4=37.0\bar{x}_B = 148 / 4 = 37.0

    • Location C: 11, 11, 10, 12. Sum = 44. xˉC=44/4=11.0\bar{x}_C = 44 / 4 = 11.0

    • Location D: 37, 47, 45, 39. Sum = 168. xˉD=168/4=42.0\bar{x}_D = 168 / 4 = 42.0

    • Location E: 27, 29, 25, 28. Sum = 109. xˉE=109/4=27.25\bar{x}_E = 109 / 4 = 27.25

    • Grand Sum = 138 + 148 + 44 + 168 + 109 = 607

    • xˉgrand=607/20=30.35\bar{x}_{grand} = 607 / 20 = 30.35

  2. 計算組間平方和 (SSB):
    SSB = ∑j=1knj(xˉj−xˉgrand)2\sum_{j=1}^k n_j (\bar{x}_j - \bar{x}_{grand})^2
    SSB = 4×(34.5−30.35)2+4×(37.0−30.35)2+4×(11.0−30.35)2+4×(42.0−30.35)2+4×(27.25−30.35)24 \times (34.5 - 30.35)^2 + 4 \times (37.0 - 30.35)^2 + 4 \times (11.0 - 30.35)^2 + 4 \times (42.0 - 30.35)^2 + 4 \times (27.25 - 30.35)^2
    SSB = 4×(4.15)2+4×(6.65)2+4×(−19.35)2+4×(11.65)2+4×(−3.10)24 \times (4.15)^2 + 4 \times (6.65)^2 + 4 \times (-19.35)^2 + 4 \times (11.65)^2 + 4 \times (-3.10)^2
    SSB = 4×(17.2225+44.2225+374.4225+135.7225+9.61)4 \times (17.2225 + 44.2225 + 374.4225 + 135.7225 + 9.61)
    SSB = 4×(581.2025)=2324.814 \times (581.2025) = 2324.81

  3. 計算組內平方和 (SSW):
    SSW = ∑j=1k∑i=1nj(xij−xˉj)2\sum_{j=1}^k \sum_{i=1}^{n_j} (x_{ij} - \bar{x}_j)^2

    • Location A: (28−34.5)2+(33−34.5)2+(41−34.5)2+(36−34.5)2=(−6.5)2+(−1.5)2+(6.5)2+(1.5)2=42.25+2.25+42.25+2.25=89(28-34.5)^2 + (33-34.5)^2 + (41-34.5)^2 + (36-34.5)^2 = (-6.5)^2 + (-1.5)^2 + (6.5)^2 + (1.5)^2 = 42.25 + 2.25 + 42.25 + 2.25 = 89
    • Location B: (40−37)2+(35−37)2+(36−37)2+(37−37)2=32+(−2)2+(−1)2+02=9+4+1+0=14(40-37)^2 + (35-37)^2 + (36-37)^2 + (37-37)^2 = 3^2 + (-2)^2 + (-1)^2 + 0^2 = 9 + 4 + 1 + 0 = 14
🔒

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

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

免費註冊

第 16 題

  1. What is the expected change in price of building a 500-square foot addition to a house?

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

這一題的完整詳解

核心觀念

本題考查迴歸模型中「自變數增加所造成的預期反應變化」。令:

  • YY:房屋價格
  • XX:增建面積,單位為平方英尺
  • β1\beta_1:增建面積的迴歸係數,代表面積每增加 11 平方英尺,房價的預期變化量

若迴歸模型為:

E(Y∣X)=β0+β1XE(Y\mid X)=\beta_0+\beta_1X

則面積增加 500500 平方英尺時,房價預期變化為:

ΔE(Y∣X)=β1(500)=500β1\Delta E(Y\mid X) =\beta_1(500) =500\beta_1

解題方法

將原本面積記為 XX,增建後面積變為 X+500X+500。因此:

E(Y∣X+500)=β0+β1(X+500)E(Y\mid X+500)=\beta_0+\beta_1(X+500)

原本的預期房價為:

E(Y∣X)=β0+β1XE(Y\mid X)=\beta_0+\beta_1X

兩者相減:

ΔE(Y∣X)=E(Y∣X+500)−E(Y∣X)=[β0+β1(X+500)]−(β0+β1X)=500β1\begin{aligned} \Delta E(Y\mid X) &=E(Y\mid X+500)-E(Y\mid X)\\ &=\left[\beta_0+\beta_1(X+500)\right] -\left(\beta_0+\beta_1X\right)\\ &=500\beta_1 \end{aligned}

截距 β0\beta_0 與原本面積 XX 會在相減時消去,因此只需使用面積變數的迴歸係數。

🔒

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

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

免費註冊

第 16 題

  1. What is the expected change in price of building a 500-square foot addition to a house?

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

這一題的完整詳解

核心觀念

本題考查迴歸模型中「自變數增加所造成的預期反應變化」。令:

  • YY:房屋價格
  • XX:增建面積,單位為平方英尺
  • β1\beta_1:增建面積的迴歸係數,代表面積每增加 11 平方英尺,房價的預期變化量

若迴歸模型為:

E(Y∣X)=β0+β1XE(Y\mid X)=\beta_0+\beta_1X

則面積增加 500500 平方英尺時,房價預期變化為:

ΔE(Y∣X)=β1(500)=500β1\Delta E(Y\mid X) =\beta_1(500) =500\beta_1

解題方法

將原本面積記為 XX,增建後面積變為 X+500X+500。因此:

E(Y∣X+500)=β0+β1(X+500)E(Y\mid X+500)=\beta_0+\beta_1(X+500)

原本的預期房價為:

E(Y∣X)=β0+β1XE(Y\mid X)=\beta_0+\beta_1X

兩者相減:

ΔE(Y∣X)=E(Y∣X+500)−E(Y∣X)=[β0+β1(X+500)]−(β0+β1X)=500β1\begin{aligned} \Delta E(Y\mid X) &=E(Y\mid X+500)-E(Y\mid X)\\ &=\left[\beta_0+\beta_1(X+500)\right] -\left(\beta_0+\beta_1X\right)\\ &=500\beta_1 \end{aligned}

截距 β0\beta_0 與原本面積 XX 會在相減時消去,因此只需使用面積變數的迴歸係數。

🔒

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

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

免費註冊

第 17 題

  1. Is it better to use Size or In(Size) to explain house prices? Explain.

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

這一題的完整詳解

此題要求判斷在迴歸模型中,是使用房屋大小的原始數值 SizeSize (平方英尺) 還是其自然對數 ln(Size)ln(\text{Size}) 作為自變數,更能解釋房屋價格 (Price)。我們需要比較不同的模型來做出判斷。

題目表格中提供了幾個模型:

  • 模型 (1):ln(Price)=β0+β1×Size+…ln(\text{Price}) = \beta_0 + \beta_1 \times \text{Size} + \dots
  • 模型 (2):ln(Price)=β0+β1×ln(Size)+…ln(\text{Price}) = \beta_0 + \beta_1 \times ln(\text{Size}) + \dots
  • 模型 (3):ln(Price)=β0+β1×ln(Size)+β2×(ln(Size))2+…ln(\text{Price}) = \beta_0 + \beta_1 \times ln(\text{Size}) + \beta_2 \times (ln(\text{Size}))^2 + \dots

判斷哪個自變數更能解釋房屋價格,可以透過以下幾個標準:

  1. 調整後 R2R^2 (Adjusted R-squared):R2R^2 值越高,表示模型解釋的變異量越多。調整後 R2R^2 則考慮了模型中自變數的數量,能更公平地比較不同模型。
  2. 係數的顯著性 (Significance of Coefficients):自變數的係數應顯著不為零,這表示該變數對因變數有統計上的影響。
  3. 模型的理論基礎與解釋力 (Theoretical Justification and Interpretability):經濟學理論或常識上,價格與大小之間的關係可能是線性的,也可能是非線性的(例如,規模報酬遞減)。對數轉換常用於處理偏態資料或捕捉比例關係。

我們來比較模型 (1) 和模型 (2) (以及模型 (3)):

模型 (1) vs 模型 (2):

  • R2R^2 值:

    • 模型 (1) 的 R2=0.72R^2 = 0.72。
    • 模型 (2) 的 R2=0.74R^2 = 0.74。
    • 模型 (3) 的 R2=0.73R^2 = 0.73。
    • 模型 (4) 和 (5) 的 R2R^2 都是 0.73。
      從 R2R^2 值來看,模型 (2) 的 R2R^2 (0.74) 最高,略優於模型 (1) (0.72)。
  • 調整後 R2R^2:

    • 模型 (1) 的 R2=0.72R^2 = 0.72。
    • 模型 (2) 的 R2=0.74R^2 = 0.74。
    • 模型 (3) 的 R2=0.73R^2 = 0.73。
    • 模型 (4) 的 R2=0.73R^2 = 0.73。
    • 模型 (5) 的 R2=0.73R^2 = 0.73。
      由於模型 (2) 和 (1) 使用的自變數數量相同(如果我們只考慮 Size 和 ln(Size)),我們可以比較 R2R^2。模型 (2) 的 R2R^2 較高。
🔒

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

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

免費註冊

第 18 題

  1. Is the quadratic term In(Size) important? Explain.

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

這一題的完整詳解

此題要求判斷迴歸模型中的二次項 ln(Size)2ln(\text{Size})^2 是否重要,並解釋原因。我們需要查看模型 (3) 的結果。

模型 (3) 的迴歸方程式為:
ln(Price)=β0+β1×ln(Size)+β2×(ln(Size))2+…ln(\text{Price}) = \beta_0 + \beta_1 \times ln(\text{Size}) + \beta_2 \times (ln(\text{Size}))^2 + \dots
其中,對於 (ln(Size))2(ln(\text{Size}))^2 的估計係數為 β^2=0.0078\hat{\beta}_2 = 0.0078,其標準誤為 0.140.14。

判斷一個二次項是否重要,通常是通過檢定其係數 β2\beta_2 是否顯著不為零。我們可以通過計算 tt 值來進行檢定:
t=β^2Standard Error of β^2=0.00780.14≈0.056t = \frac{\hat{\beta}_2}{\text{Standard Error of } \hat{\beta}_2} = \frac{0.0078}{0.14} \approx 0.056

這個 tt 值非常接近於零。
通常,我們將顯著水準 α\alpha 設定為 0.05。
對於雙尾檢定,如果 ∣t∣>tα/2,df|t| > t_{\alpha/2, df},則我們拒絕虛無假設 H0:β2=0H_0: \beta_2 = 0。

🔒

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

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

免費註冊

第 19 題

  1. Construct a 95% confidence interval for the estimated effect of an additional bedroom.

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

這一題的完整詳解

此題要求計算「增加一個臥室」對房屋價格估計效果的 95% 信賴區間。我們需要找到模型中與「臥室數量」(Bedrooms) 相關的係數,並利用其估計值和標準誤來建構信賴區間。

在提供的迴歸結果表中,模型 (3) 包含了「Bedrooms」變數。

  • 估計係數 β^Bedrooms=0.0036\hat{\beta}_{Bedrooms} = 0.0036
  • 標準誤 (Standard Error, SE) = 0.0370.037

此係數的解釋是:在控制其他變數(包括 ln(Size)ln(\text{Size}) 及其二次項)的情況下,臥室數量每增加一間,ln(Price)ln(\text{Price}) 預期增加 0.00360.0036。

我們需要建構一個 95% 的信賴區間。對於迴歸係數,信賴區間的計算公式為:
Confidence Interval=β^±tα/2,df×SE(β^)\text{Confidence Interval} = \hat{\beta} \pm t_{\alpha/2, df} \times SE(\hat{\beta})
其中:

  • β^\hat{\beta} 是係數的估計值。
  • SE(β^)SE(\hat{\beta}) 是係數的標準誤。
  • tα/2,dft_{\alpha/2, df} 是在給定自由度 dfdf 和顯著水準 α\alpha 下的 tt 分配臨界值。

在這個模型 (3) 中:

  • β^Bedrooms=0.0036\hat{\beta}_{Bedrooms} = 0.0036
  • SE(β^Bedrooms)=0.037SE(\hat{\beta}_{Bedrooms}) = 0.037
  • 信賴水準為 95%,所以 α=1−0.95=0.05\alpha = 1 - 0.95 = 0.05。
  • 自由度 dfdf 通常是樣本大小減去參數數量。表格中未提供樣本大小,但 R2R^2 值較高,通常意味著樣本量較大。在這種情況下,我們可以近似使用 zz 分配的臨界值,或者如果能估計 dfdf 則使用 tt 分配。由於題目是簡答題,且表格中沒有直接提供 dfdf,我們通常會假設樣本量足夠大,或者查表。
🔒

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

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

免費註冊

第 20 題

  1. Using the regression in column (5) to compute the expected change in price when a pool is added to a house with a view.

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

這一題的完整詳解

此題要求計算在模型 (5) 的框架下,當房屋增加一個「泳池」(Pool) 時,預期的價格變化。模型 (5) 包含了多個變數,包括 PoolPool、 ViewView 以及它們的交互項 Pool×ViewPool \times View。

模型 (5) 的迴歸方程式為:
ln(Price)=β0+βPool×Pool+βView×View+βPool×View×(Pool×View)+…ln(\text{Price}) = \beta_0 + \beta_{Pool} \times \text{Pool} + \beta_{View} \times \text{View} + \beta_{Pool \times View} \times (\text{Pool} \times \text{View}) + \dots
其中:

  • PoolPool 是二元變數:1 如果有泳池,0 如果沒有。
  • ViewView 是二元變數:1 如果有景觀,0 如果沒有。
  • Pool×ViewPool \times View 是交互項。

我們需要關注與 PoolPool 相關的係數。在模型 (5) 中:

  • β^Pool=0.074\hat{\beta}_{Pool} = 0.074 (標準誤 0.035)
  • β^View=0.024\hat{\beta}_{View} = 0.024 (標準誤 0.030)
  • β^Pool×View=0.0022\hat{\beta}_{Pool \times View} = 0.0022 (標準誤 0.10)

題目問的是「when a pool is added to a house with a view」。這意味著我們比較兩種情況:

  1. 有景觀的房子,沒有泳池:View=1,Pool=0View = 1, Pool = 0。
    ln(Price)=β0+βPool×0+βView×1+βPool×View×(0×1)+…ln(\text{Price}) = \beta_0 + \beta_{Pool} \times 0 + \beta_{View} \times 1 + \beta_{Pool \times View} \times (0 \times 1) + \dots
    ln(Price)=β0+βView+…ln(\text{Price}) = \beta_0 + \beta_{View} + \dots

  2. 有景觀的房子,有泳池:View=1,Pool=1View = 1, Pool = 1。
    ln(Price)=β0+βPool×1+βView×1+βPool×View×(1×1)+…ln(\text{Price}) = \beta_0 + \beta_{Pool} \times 1 + \beta_{View} \times 1 + \beta_{Pool \times View} \times (1 \times 1) + \dots
    ln(Price)=β0+βPool+βView+βPool×View+…ln(\text{Price}) = \beta_0 + \beta_{Pool} + \beta_{View} + \beta_{Pool \times View} + \dots

當一個「有景觀的房子」增加一個泳池時,ln(Price)ln(\text{Price}) 的變化量是:
Δln(Price)=(ln(Price)with Pool−ln(Price)without Pool)\Delta ln(\text{Price}) = (ln(\text{Price})_{\text{with Pool}} - ln(\text{Price})_{\text{without Pool}})
Δln(Price)=(β0+βPool+βView+βPool×View)−(β0+βView)\Delta ln(\text{Price}) = (\beta_0 + \beta_{Pool} + \beta_{View} + \beta_{Pool \times View}) - (\beta_0 + \beta_{View})
Δln(Price)=βPool+βPool×View\Delta ln(\text{Price}) = \beta_{Pool} + \beta_{Pool \times View}

🔒

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

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

免費註冊

第 21 題

  1. Explain why the coefficients on Condition in columns (1) and (2) are far different from those in columns (3), (4), and (5).

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

這一題的完整詳解

核心觀念

本題考察迴歸模型中「控制變數」對處理效果估計的影響,核心是:

  1. 簡單迴歸係數代表 Condition 與應變數之間的無條件關聯。
  2. 多元迴歸係數代表在控制其他變數後,Condition 對應變數的部分效果。
  3. 若遺漏的控制變數同時與 Condition 及應變數有關,便會產生遺漏變數偏誤(omitted variable bias)。

將 Condition 設為處理變數 CC,應變數設為 YY,完整模型可寫為:

Yi=α+βCi+γXi+uiY_i=\alpha+\beta C_i+\gamma X_i+u_i

其中:

  • CiC_i:Condition 指標變數;
  • XiX_i:其他控制變數;
  • β\beta:控制 XiX_i 後,Condition 對 YiY_i 的影響;
  • γ\gamma:控制變數對 YiY_i 的影響。

若欄(1)、(2)未充分控制 XiX_i,估計的其實是簡單迴歸係數;欄(3)、(4)、(5)納入更多控制變數後,估計的是條件效果,因此兩組係數可能出現很大差異。


解題方法

設欄(1)、(2)的模型省略了控制變數 XX:

Yi=a+bCi+eiY_i=a+bC_i+e_i

完整的真實模型為:

Yi=α+βCi+γXi+uiY_i=\alpha+\beta C_i+\gamma X_i+u_i

若 XX 與 Condition 有關,可將 XX 對 CC 的線性投影寫為:

Xi=π0+π1Ci+viX_i=\pi_0+\pi_1 C_i+v_i

將此式代入完整模型:

Yi=α+βCi+γ(π0+π1Ci+vi)+uiY_i = \alpha+\beta C_i+\gamma(\pi_0+\pi_1C_i+v_i)+u_i

整理得:

Yi=(α+γπ0)+(β+γπ1)Ci+(ui+γvi)Y_i = (\alpha+\gamma\pi_0) + (\beta+\gamma\pi_1)C_i + (u_i+\gamma v_i)

因此,未控制 XX 時,Condition 的估計係數為:

b=β+γπ1b=\beta+\gamma\pi_1

其中:

  • β\beta 是控制 XX 後的真正 Condition 效果;
  • γπ1\gamma\pi_1 是因遺漏 XX 所產生的偏誤。

也可寫成:

plim⁡(b^)=β+Cov⁡(C,X)Var⁡(C)γ\operatorname{plim}(\hat b) = \beta+ \frac{\operatorname{Cov}(C,X)}{\operatorname{Var}(C)}\gamma

因此,只要同時滿足下列條件:

  1. Condition 與控制變數 XX 相關;
  2. XX 對應變數 YY 有影響;

欄(1)、(2)未控制 XX 的 Condition 係數,就會與欄(3)、(4)、(5)控制 XX 後的係數大幅不同。


為何欄(1)、(2)與欄(3)至(5)差異很大

最合理的解釋是,欄(1)、(2)所呈現的是 Condition 的總體關聯,其中混入了其他因素的影響;欄(3)、(4)、(5)則逐步加入控制變數、固定效果或其他模型設定,使 Condition 的係數更接近其純粹效果。

例如,假設 Condition 組與控制變數 XX 的平均值不同,而且 XX 本身會影響 YY:

E(X∣C=1)≠E(X∣C=0)E(X\mid C=1)\neq E(X\mid C=0)
🔒

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

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

免費註冊

第 22 題

  1. Does the Gauss-Markov theorem say that the estimators Bo, B1,..., Bk have the minimum variance of all possible estimators? Explain.

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

這一題的完整詳解

高斯-馬可夫定理 (Gauss-Markov Theorem) 說明,在滿足 A1-A5 的假設下,最小平方法 (Ordinary Least Squares, OLS) 估計量 β^0,β^1,…,β^k\hat{\beta}_0, \hat{\beta}_1, \dots, \hat{\beta}_k 是線性且不偏的估計量中具有最小變異數 (minimum variance) 的估計量。

這個定理的結論是,OLS 估計量是「在所有線性不偏估計量 (Best Linear Unbiased Estimators, BLUE) 中最好的」。

🔒

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

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

免費註冊

第 23 題

  1. Suppose that u is independent of the explanatory variables, and it takes on the values -2, -1, 0, 1, and 2 with equal probability of 1/5. Which Gauss-Markov assumption(s) does this violate. Explain.

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

這一題的完整詳解

核心觀念

Gauss–Markov 定理通常建立在以下假設:

  1. 模型對參數具有線性形式:
    y=β0+β1x1+⋯+βkxk+uy=\beta_0+\beta_1x_1+\cdots+\beta_kx_k+u

  2. 隨機抽樣。

  3. 解釋變數不存在完全共線性。

  4. 零條件平均假設:
    E(u∣X)=0E(u\mid X)=0

  5. 同質變異數假設:
    Var⁡(u∣X)=σ2\operatorname{Var}(u\mid X)=\sigma^2

題目特別給定誤差項 uu 與所有解釋變數獨立,因此可直接判斷零條件平均與同質變異數是否成立。

解題方法

1. 計算誤差項的平均數

uu 以相同機率 15\frac15 取 −2,−1,0,1,2-2,-1,0,1,2,因此

E(u)=15(−2−1+0+1+2)=0E(u)=\frac15(-2-1+0+1+2)=0

又因為 uu 與解釋變數 XX 獨立,所以

E(u∣X)=E(u)=0E(u\mid X)=E(u)=0

因此,零條件平均假設成立。

2. 計算誤差項的變異數

由於 E(u)=0E(u)=0,

Var⁡(u)=E(u2)\operatorname{Var}(u)=E(u^2)

而

E(u2)=15[(−2)2+(−1)2+02+12+22]=4+1+0+1+45=2E(u^2) =\frac15\left[(-2)^2+(-1)^2+0^2+1^2+2^2\right] =\frac{4+1+0+1+4}{5}=2

因為 uu 與 XX 獨立,

Var⁡(u∣X)=Var⁡(u)=2\operatorname{Var}(u\mid X)=\operatorname{Var}(u)=2

這是一個與 XX 無關的固定值,因此

Var⁡(u∣X)=σ2\operatorname{Var}(u\mid X)=\sigma^2
🔒

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

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

免費註冊

第 24 題

  1. Consider the regression model y₁ = Bo + B1x1₁ + u₁ where the pairs (yi, x₁i), i = 1,2, ..., N, are random independent draws from a population, x₁₁~N(0,1), and E(u₁|x₁₁) = x² - 1. Note that E(u) = Ex[E(u₁|x₁₁)] and Ex(x₁₁) = 1. Will the least squares estimator for B₁ be unbiased? Explain.

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

這一題的完整詳解

核心觀念

本題要區分「條件無偏」、「無條件無偏」與「估計量的期望是否存在」。

將模型記為

yi=B0+B1xi+ui,xi∼N(0,1),y_i=B_0+B_1x_i+u_i,\qquad x_i\sim N(0,1),

且各組 (yi,xi)(y_i,x_i) 為獨立同分配的抽樣。由標準常態分配可知

E(xi)=0,E(xi2)=1.E(x_i)=0,\qquad E(x_i^2)=1.

因此,題目給定的條件平均數滿足

E(ui∣xi)=xi2−1,E(ui)=E(xi2−1)=0.E(u_i\mid x_i)=x_i^2-1,\qquad E(u_i)=E(x_i^2-1)=0.

但 E(ui)=0E(u_i)=0 並不等於 E(ui∣xi)=0E(u_i\mid x_i)=0,不能直接套用最小平方法的通常無偏性結論。此外,無偏的定義為

E(B^1)=B1,E(\hat B_1)=B_1,

所以必須先確保 B^1\hat B_1 有有限期望;具有對稱性並不足以保證期望存在。

解題方法

一、寫出斜率估計量,分析條件平均數

令

xˉ=1N∑i=1Nxi,Sxx=∑i=1N(xi−xˉ)2.\bar x=\frac1N\sum_{i=1}^N x_i,\qquad S_{xx}=\sum_{i=1}^N(x_i-\bar x)^2.

含截距的最小平方法斜率估計量為

B^1=B1+∑i=1N(xi−xˉ)uiSxx.\hat B_1 =B_1+\frac{\sum_{i=1}^N(x_i-\bar x)u_i}{S_{xx}}.

當 N≥2N\ge2 時,連續分配的抽樣使 Sxx>0S_{xx}>0 幾乎必然成立,故估計量幾乎必然有定義;但這仍不保證其期望存在。

若另假設 E∣B^1∣<∞E|\hat B_1|<\infty,由各組觀察值彼此獨立,

E(ui∣x1,…,xN)=xi2−1.E(u_i\mid x_1,\ldots,x_N)=x_i^2-1.

於是

E(B^1−B1∣x1,…,xN)=∑i=1N(xi−xˉ)(xi2−1)Sxx=∑i=1N(xi−xˉ)xi2Sxx,\begin{aligned} E(\hat B_1-B_1\mid x_1,\ldots,x_N) &=\frac{\sum_{i=1}^N(x_i-\bar x)(x_i^2-1)}{S_{xx}}\\ &=\frac{\sum_{i=1}^N(x_i-\bar x)x_i^2}{S_{xx}}, \end{aligned}

其中使用了 ∑i(xi−xˉ)=0\sum_i(x_i-\bar x)=0。將最後一式記為 A(x1,…,xN)A(x_1,\ldots,x_N)。它一般不為零,因此本題的斜率估計量一般不具條件無偏性。

二、利用對稱性證明:可積分時,仍具有無條件無偏性

把所有 xix_i 同時換成 −xi-x_i,分母 SxxS_{xx} 不變,分子則變號,因此

A(−x1,…,−xN)=−A(x1,…,xN).A(-x_1,\ldots,-x_N)=-A(x_1,\ldots,x_N).

又因標準常態分配對稱,

(x1,…,xN)=d(−x1,…,−xN).(x_1,\ldots,x_N)\overset{d}{=}(-x_1,\ldots,-x_N).

此處也能直接確認 AA 可積分。令 di=xi−xˉd_i=x_i-\bar x,則

🔒

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

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

免費註冊

第 25 題

  1. Is the assumption A6: u~N (0, 0²) essential to carry out hypotheses tests? Explain.

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

這一題的完整詳解

假設 A6:誤差項 uu 服從常態分佈 N(0,σ2)N(0, \sigma^2)。

高斯-馬可夫定理本身(保證 OLS 估計量是 BLUE)並不需要誤差項服從常態分佈。高斯-馬可夫定理的假設是 A1-A5。

然而,當我們進行假設檢定(例如,對 β1\beta_1 的 tt 檢定,或對整個模型的 FF 檢定)時,我們需要誤差項服從常態分佈。

原因如下:

  1. t 檢定的推導:tt 檢定的統計量是構建在樣本平均數與母體平均數之差除以標準誤的基礎上。在標準線性迴歸模型中,如果誤差項 uiu_i 服從常態分佈,那麼 OLS 估計量 β^j\hat{\beta}_j 也將服從常態分佈(或 tt 分佈,取決於是否已知 σ2\sigma^2)。具體來說,對於 β^j\hat{\beta}_j 的 tt 統計量:
    t=β^j−βjSE(β^j)t = \frac{\hat{\beta}_j - \beta_j}{SE(\hat{\beta}_j)}
    在 H0:βj=βj0H_0: \beta_j = \beta_{j0} 為真時,這個 tt 統計量服從自由度為 n−k−1n-k-1 的 tt 分佈。這個推導依賴於誤差項服從常態分佈。
🔒

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

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

免費註冊

其他考古題