112 年 國立臺灣大學國際企業學系碩士班乙組《統計學(K)》
第 1 題
A marketing research company conducted a survey and found that 60% of the respondents subscribed to Netflix, 30% subscribed to Disney+, and 25% subscribed to both. What is the proportion that a respondent does not subscribe to either?
A) 0.10
B) 0.65
C) 0.50
D) 0.45
E) 0.35
登入後即可作答並保存紀錄。
本題考驗集合論與機率的基本概念,屬於機率問題。
設 N 為訂閱 Netflix 的事件,D 為訂閱 Disney+ 的事件。
根據題目,我們有:
我們想要求的是不訂閱 Netflix 且不訂閱 Disney+ 的比例,也就是 。
根據德摩根定律, 。
因此,。
第 2 題
A researcher was interested in determining whether the prices of fiction books in the bookstore were higher than if purchased online. Therefore, he randomly selected 6 fiction books and found the price for each book at the bookstore and online. He ran an analysis and the results were as follows:
Paired T for Bookstore - Online
N Mean StDev SE Mean
Bookstore 6 115.00 22.36 9.13
Online 6 105.83 13.20 5.39
Difference 6 9.17 13.20 5.39
95% lower bound for mean difference: -1.69
T-Test of mean difference = 0 (vs > 0): T-Value = 1.70 P-Value = 0.075
Based on his analysis, what can we conclude at the 0.05 level of significance?
A) The prices are higher in the bookstore.
B) The prices are higher online.
C) The prices are the same in the bookstore and online.
D) The prices are not equal in the bookstore and online.
E) The sample size is too small to make a conclusion.
登入後即可作答並保存紀錄。
核心觀念
本題比較的是同一本書在兩種購買管道的價格,因此每一本書都有一組「書店價格」與「網路價格」,兩筆資料彼此配對,應使用「配對樣本 檢定」(paired -test)。
令每本書的價格差為:
研究問題是判斷書店價格是否較高,因此設定:
- 虛無假設:
- 對立假設:
這是右尾檢定,顯著水準為 。
配對樣本 統計量為:
其中:
- :樣本平均差
- :差值的樣本標準差
- :配對數
- 自由度為
解題方法
題目給出:
因此:
配對數為 ,所以自由度:
題目已直接提供右尾檢定的結果:
比較 值與顯著水準:
因此不拒絕虛無假設 。
統計上的正確解釋是:在 顯著水準下,沒有足夠證據顯示書店價格高於網路價格。
題目另給出平均差的 95% 單尾下限為 。由於下限小於 ,代表合理的母體平均差範圍仍包含「書店價格沒有比較高」的情況,與上述檢定結論一致。
必須注意:「不拒絕 」不代表已證明兩種價格完全相同,只表示目前樣本證據不足以支持書店價格較高。
選項分析
A) The prices are higher in the bookstore.
錯誤。
雖然樣本平均價格差為:
樣本中書店平均價格確實較高,但假設檢定的 值為 ,大於 ,未達統計顯著。因此不能在 顯著水準下 conclude 書店價格較高。
第 3 題
A professor was investigating whether gender had an effect on job category in large investment firms. She sampled 1050 employees and summarized the number of respondents in each job category by gender, as shown in the table below. Which of the following statements is true about gender and job category?
| Job Category | Male | Female |
|---|---|---|
| Clerical / Technical | 40 | 100 |
| Professional Staff | 360 | 300 |
| Executive / Managerial | 200 | 50 |
A) Gender and job category are independent.
B) Gender and job category are not independent.
C) A chi-square test should be used to determine whether the association between gender and job category existed.
D) Both A and C are correct.
E) There was not sufficient information to determine whether gender and job category were independent.
登入後即可作答並保存紀錄。
本題考驗卡方檢定 (Chi-square test) 的應用與解釋,用於檢定兩個類別變數之間的關聯性。
核心概念:
- 卡方檢定: 當我們想知道兩個類別變數(在此為性別 Gender 和職位類別 Job Category)是否獨立時,可以進行卡方獨立性檢定。
- 獨立性: 如果兩個變數獨立,表示其中一個變數的分布不受另一個變數影響。
- 卡方檢定步驟:
a. 建立虛無假設 ():兩個變數是獨立的。
b. 建立對立假設 ():兩個變數不是獨立的(存在關聯性)。
c. 計算期望次數 (Expected counts)。
d. 計算卡方檢定統計量 ,其中 是觀察次數, 是期望次數。
e. 比較計算出的 值與臨界值,或比較 P-value 與顯著水準 ,來決定是否拒絕 。
題目提供的表格是觀察次數 (Observed counts)。
分析選項:
A) Gender and job category are independent.
這個陳述是一個假設,我們需要進行卡方檢定來驗證。我們不能直接斷定它們是獨立的。
B) Gender and job category are not independent.
這個陳述也是一個假設,需要檢定。
C) A chi-square test should be used to determine whether the association between gender and job category existed.
這是正確的。
第 4 題
Which of the following yields a simple random sample?
A) All students in a class are grouped according to their gender. A random sample of 5 is selected from the males and a separate random sample of 5 is drown from the females.
B) The best 10 students, according to the exam scores, in a class are selected.
C) The names of 50 students in a class are written on 50 different pieces of paper and put in a hat. The first 10 pieces of paper are selected blindly one at a time without replacing them back in the hat after shuffling the papers thoroughly.
D) 50 students in a class are divided into 10 groups. One student is randomly chosen from each group.
E) 50 students in a class are divided into 5 groups according to the rows that they are seated. One of the groups is randomly selected.
登入後即可作答並保存紀錄。
本題考驗對「簡單隨機抽樣」(Simple Random Sampling, SRS) 的定義與辨識能力。
簡單隨機抽樣的定義:
在一個母體中,每一可能的樣本(在固定樣本大小 n 的情況下),都有相同被抽到的機率。
或者,更基本地說,母體中的每一個體都有相同機會被抽中。
分析各選項:
A) 分層抽樣 (Stratified Sampling)。將母體依性別分層,然後從每一層中進行隨機抽樣。這種方法保證了各層的代表性,但不是簡單隨機抽樣,因為某些組合(例如 5 個男生和 5 個女生,但選中的男生組合是固定的)的樣本可能無法被抽中。
B) 非隨機抽樣 (Non-random Sampling)。這是基於特定標準(考試成績最佳)選擇樣本,不是隨機過程。
C) 簡單隨機抽樣 (Simple Random Sampling)。
1. 將所有 50 名學生的名字放入帽子中。
2. 進行充分的攪拌。
第 5 題
A researcher is running a regression analysis where the dependent variable is the number of weeks a worker is unemployed (Unemployed) due to a layoff and the independent variables are the age of the worker (Age) and a dummy variable for management position (Manager: 1 = yes, 0 = no). Results of the analysis are as follows.
DV: Unemployed
Standard t-statistic p-Value
Coefficient Error
Intercept -0.21 11.58 -0.02 0.985
Age 1.44 0.32 4.57 0.000
Manager -22.58 11.35 -1.99 0.054
Which of the following is a correct statement?
A) On average, a worker who is a year older is estimated to stay jobless shorter by approximately 0.21 weeks while holding constant the effects of the manager dummy variable.
B) On average, a worker who is a year older is estimated to stay jobless shorter by approximately 1.44 weeks while holding constant the effects of the manager dummy variable.
C) On average, those who are in a management position are estimated to stay jobless longer by approximately 22.58 weeks while holding constant the effects of age.
D) On average, those who are in a management position are estimated to stay jobless shorter by approximately 22.58 weeks while holding constant the effects of age.
E) On average, those who are in a management position are estimated to stay jobless longer by approximately 11.35 weeks while holding constant the effects of age.
登入後即可作答並保存紀錄。
本題考驗對迴歸分析結果的解釋,特別是係數的意義、顯著性判斷以及虛擬變數 (dummy variable) 的應用。
迴歸模型可以寫成:
從表格中我們得到估計的係數:
(截距項)
(Age 的係數)
(Manager 的係數)
同時,我們看到各變數的 p-value:
Age: p-value = 0.000 (顯著,通常小於 0.05)
Manager: p-value = 0.054 (接近顯著,但略大於 0.05)
解釋各係數的意義:
-
Age 的係數 ():
表示在控制了 Manager 變數後,Age 每增加一歲,預期 Unemployed 的週數會增加 1.44 週。
p-value = 0.000,表示 Age 對 Unemployed 有顯著的正向影響。 -
Manager 的係數 ():
Manager 是一個虛擬變數,1 代表在管理職位,0 代表不在管理職位。
這個係數的意義是:與不在管理職位 (Manager=0) 的人相比,在管理職位 (Manager=1) 的人,預期 Unemployed 的週數會減少 22.58 週。
p-value = 0.054。在 0.05 的顯著水準下,這個變數不是統計顯著的。但如果顯著水準是 0.10,則會被認為是顯著的。
現在來評估選項:
A) "On average, a worker who is a year older is estimated to stay jobless shorter by approximately 0.21 weeks..."
第 6 題
Two samples each of size 25 are taken from independent populations assumed to be normally distributed with equal variances. The first sample has a mean of 23.9 and standard deviation of 3.6 while the second sample has a mean of 20.1 and standard deviation of 3.2. A researcher would like to test if there is a difference between the population means at the 0.05 significance level. Which of the following statement is correct?
A) The null hypothesis is that the population means are not equal.
B) The degrees of freedom in the analysis is 50.
C) There is not sufficient evidence to reject the null hypothesis; the population means are equal.
D) There is sufficient evidence to reject the null hypothesis and conclude that the two population means are different.
E) The information provided is not enough to achieve a conclusion.
登入後即可作答並保存紀錄。
本題考驗獨立樣本 t 檢定 (Independent samples t-test) 的假設、自由度計算與結果判讀。
題目給予資訊:
- 兩個獨立樣本,樣本大小皆為 。
- 母體假設為常態分布。
- 母體變異數相等 (equal variances),這表示我們可以使用合併變異數 (pooled variance) 的 t 檢定。
- 樣本 1:,
- 樣本 2:,
- 顯著水準 。
- 研究者想檢定「母體平均數之間是否存在差異」。
分析各選項:
A) The null hypothesis is that the population means are not equal.
這句話描述的是對立假設 (),而不是虛無假設 ()。
通常,當研究者想檢定「是否存在差異」時,虛無假設是「平均數相等」( 或 ),對立假設是「平均數不相等」( 或 )。
因此,A 是錯誤的。
B) The degrees of freedom in the analysis is 50.
由於兩個母體假設變異數相等,我們使用合併變異數的 t 檢定。
自由度 (df) 的計算公式為:。
在此,。
因此,B 是錯誤的。 (注意:如果我們假設變異數不相等,則會使用 Welch's t-test,自由度計算會更複雜,但在此題目明確說變異數相等)。
C) There is not sufficient evidence to reject the null hypothesis; the population means are equal.
這個選項陳述了「不拒絕 」的結果,並推論「平均數相等」。
我們需要計算檢定統計量和 P-value 來判斷。
D) There is sufficient evidence to reject the null hypothesis and conclude that the two population means are different.
這個選項陳述了「拒絕 」的結果,並推論「平均數不同」。
我們需要計算檢定統計量和 P-value 來判斷。
E) The information provided is not enough to achieve a conclusion.
題目提供了足夠的資訊來進行獨立樣本 t 檢定(樣本大小、樣本平均數、樣本標準差、變異數假設、顯著水準)。因此,E 是錯誤的。
進行 t 檢定計算:
- 假設:
(或 )
第 7 題
Random samples of two freshmen, two sophomores, two juniors, and two seniors each from four dormitories were asked to rate on a scale from 1 (poor) to 10 (excellent) the quality of the dormitory environment for studying. The results are shown in the following table:
Ratings of the two students for each dormitory
| Dormitory A | Dormitory B | Dormitory C | Dormitory D
-----------|-------------|-------------|-------------|-------------
Freshman | 7, 8 | 9, 8 | 9, 9 | 9, 9
Sophomore | 5, 6 | 8, 5 | 5, 5 | 8, 7
Junior | 8, 9 | 7, 8 | 6, 6 | 7, 8
Senior | 4, 6 | 6, 7 | 8, 7 | 5, 6
ANOVA Table
| Source of Variation | SS | df | MS | F | Sig. |
|---|---|---|---|---|---|
| Dormitory | 20.3438 | 3 | 6.7813 | 5.8649 | 0.0067 |
| Student year | 10.5938 | 3 | 3.5313 | 3.0541 | 0.0587 |
| Interaction | 16.0313 | 9 | 1.7813 | 1.5405 | 0.2160 |
| Error | 18.5000 | 16 | 1.1563 | ||
| Total | 65.4689 | 31 |
Which of the following statement is correct?
A) The population mean ratings for at least two of the four dormitories are not the same.
B) There is insufficient evidence that the population mean ratings of the four student years are not the same.
C) There is insufficient evidence that interaction exists between year and dormitory ratings.
D) Both A and C are correct.
E) A, B, and C are correct.
登入後即可作答並保存紀錄。
核心觀念
本題考查「具重複觀測之二因子變異數分析」:
- 因子一:宿舍,共 4 組。
- 因子二:學生年級,共 4 組。
- 每個「宿舍 × 年級」組合抽取 2 位學生,因此為具重複觀測的 二因子設計。
- 顯著水準採研究所考試慣例 。
二因子 ANOVA 分別檢定:
- 宿舍主效果
- 年級主效果
- 宿舍與年級的交互作用
判斷原則為:
解題方法
對於宿舍主效果:
由 ANOVA 表:
其顯著機率為:
因此拒絕 ,認為四個宿舍的母體平均評分並非全部相同,亦即至少有兩個宿舍的母體平均評分不同。
對於學生年級主效果:
由 ANOVA 表:
因此不拒絕 。在 顯著水準下,沒有充分證據認為四個學生年級的母體平均評分不同。
對於交互作用:
由 ANOVA 表:
第 8 題
For a random sample of 263 professionals, the correlation between their age and their income was found to be 0.38. You are interested in testing the null hypothesis that there is no linear relationship between these two variables against the alternative that there is a positive relationship. Which of the following statement is correct?
A) Any professional's income increases as he gets older.
B) Income would be considered as the dependent variable and age would be considered as the independent variable.
C) We can reject the null hypothesis and conclude that the population correlation coefficient is greater than zero.
D) We fail to reject the null hypothesis and conclude that the population correlation coefficient is not greater than zero.
E) The information provided is not enough to determine the statistical significance.
登入後即可作答並保存紀錄。
本題考驗相關係數的解釋、假設檢定以及迴歸分析中變數角色的判斷。
題目資訊:
- 樣本大小 。
- 樣本相關係數 。
- 檢定目的:檢定「年齡與收入之間沒有線性關係」() 對「存在正向線性關係」()。
核心概念:
- 相關係數 (Correlation coefficient, r): 用來衡量兩個連續變數之間線性關係的強度與方向。值介於 -1 和 +1 之間。
- 表示正相關(一個變數增加,另一個變數也傾向增加)。
- 表示負相關(一個變數增加,另一個變數傾向減少)。
- 表示沒有線性關係。
- 越大,線性關係越強。
- 假設檢定: 檢定母體相關係數 是否等於特定值(在此為 0)。
- 虛無假設 (沒有線性關係)。
- 對立假設 (存在正向線性關係)。
- 迴歸分析中的變數角色: 通常,因變數 (dependent variable) 是被預測或解釋的變數,自變數 (independent variable) 是用來預測或解釋因變數的變數。在相關性分析中,兩者是對稱的,但在迴歸模型中則有明確區分。
分析選項:
A) Any professional's income increases as he gets older.
這是對母體相關係數 的過度推論。樣本相關係數 僅表示在樣本中存在一個「傾向」,且在統計上可能是顯著的,但不能保證「任何」一個人的收入都會隨年齡增加而增加。統計關係是群體層面的趨勢,而非個體層面的必然。
B) Income would be considered as the dependent variable and age would be considered as the independent variable.
在相關係數的計算中,收入和年齡是對稱的,沒有明確的因果或預測關係。然而,如果我們進一步要建立迴歸模型來預測收入,那麼收入通常會是因變數 (dependent variable),年齡是自變數 (independent variable)。題目問的是「相關係數」的背景,但這個陳述本身在建立預測模型時是常見的。
第 9 題
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 30 minutes. A Type II error would occur if the professor concludes that the average exam time is
A) not equal to 30 minutes when, in reality, the average time is equal to 30 minutes
B) not equal to 30 minutes when, in reality, the average time is greater than 30 minutes
C) equal to 30 minutes when, in reality, the average time is greater than 30 minutes
D) equal to 30 minutes when, in reality, the average time is less than 30 minutes
E) equal to 30 minutes when, in reality, the average time is not equal to 30 minutes
登入後即可作答並保存紀錄。
本題考驗對第一類錯誤 (Type I error) 和第二類錯誤 (Type II error) 的定義與判斷。
假設檢定設定:
- 虛無假設 (): 學生完成考試的平均時間等於 30 分鐘 ()。
- 對立假設 (): 學生完成考試的平均時間不等於 30 分鐘 ()。
(這是一個雙尾檢定)。
錯誤的決策類型:
-
第一類錯誤 (Type I error): 當虛無假設 () 為真時,錯誤地拒絕了它。
在這個情境下,就是:實際上平均考試時間是 30 分鐘,但我們卻得出結論說平均考試時間不等於 30 分鐘。 -
第二類錯誤 (Type II error): 當虛無假設 () 為偽時,錯誤地未能拒絕它。
在這個情境下,就是:實際上平均考試時間不等於 30 分鐘 (可能是大於或小於 30 分鐘),但我們卻得出結論說平均考試時間等於 30 分鐘。
題目問的是「A Type II error would occur if the professor concludes that...」
這意味著,我們要找一個情況,其中:
- 真實情況是 為偽 (即 )。
- 教授做出的結論是 為真 (即 )。
分析選項:
A) "concludes that the average time is not equal to 30 minutes when, in reality, the average time is equal to 30 minutes"
- 結論: (拒絕了 )
- 真實情況: ( 為真)
這是第一類錯誤 (Type I error)。
B) "concludes that the average time is not equal to 30 minutes when, in reality, the average time is greater than 30 minutes"
- 結論: (拒絕了 )
- 真實情況: ( 為偽)
這是正確的決策 (correct decision)。
C) "concludes that the average time is equal to 30 minutes when, in reality, the average time is greater than 30 minutes"
- 結論: (未能拒絕 )
- 真實情況: ( 為偽)
這是第二類錯誤 (Type II error)。因為真實情況是平均時間大於 30 分鐘,但我們卻得出結論說平均時間是 30 分鐘。
第 10 題
There are five rows of students seated in a statistics class. The following table shows the number of students in each row and the average exam score for that row. What is the average exam score for this class?
| Row | Number of Students | Row Average |
|---|---|---|
| 1 | 5 | 82 |
| 2 | 5 | 91 |
| 3 | 4 | 85 |
| 4 | 5 | 78 |
| 5 | 6 | 90 |
A) 85.4
B) 83.1
C) 84.7
D) 86.7
E) 82.8
登入後即可作答並保存紀錄。
本題考驗加權平均數 (Weighted Average) 的計算。題目要求計算全班的平均考試分數,而各列的分數是該列學生的平均分數。因此,我們需要根據每列的學生人數來進行加權平均。
計算步驟:
- 計算每一列的總分數:將該列的學生人數乘以該列的平均分數。
- 計算全班的總分數:將所有列的總分數加總。
- 計算全班的總學生人數:將所有列的學生人數加總。
- 計算全班的平均分數:用全班的總分數除以全班的總學生人數。
詳細計算:
| Row | Number of Students () | Row Average () | Total Score for Row () |
|---|---|---|---|
| 1 | 5 | 82 | |
| 2 | 5 | 91 |
Question I (14 points; 7 points each)
Consider the regression model . One can show that the ordinary least squares (OLS) estimator for can be written as
where is the OLS residual from the regression of on . The variance of the OLS estimator can be written as
where is the OLS residual from the regression of on and , is the total variation in , and is the R-square from the regression of on .
第 11 題7 分
Will the estimator for be estimated more precisely when the sample size grows? Explain.
登入後即可作答並保存紀錄。
核心觀念
本題檢驗考生對 OLS 參數估計量變異數公式的理解,以及樣本數 對估計精度的影響。需掌握以下定義與性質:
- 迴歸模型
- 的等價表達式
其中 是將 對 迴歸後的殘差。
3. 的變異數
其中 為對 同時以 迴歸的殘差,, 為 對 迴歸的決定係數。
解題方法
要判斷樣本數增大時估計是否更精確,只需觀察變異數公式中隨 變化的項目。
- 分子
為殘差平方和(RSS),根據 OLS 性質 是 的無偏估計量。當樣本獨立同分布且誤差變異 為常數時,隨 增大,RSS 大約以 成長,因而分子約為 ,與 無關(只留下常數)。
第 12 題7 分
Will the estimator for be estimated more precisely when each explanatory variable (i.e., and ) has a large amount of variation independent of other explanatory variables? Explain.
登入後即可作答並保存紀錄。
核心觀念
- OLS 估計量的精度:以變異數 來衡量,變異數越小,估計越精確。
- 變異數公式
- 分子 為誤差項 的估計誤差變異(與 的變動無關)。
- 分母由兩個因素構成
- : 的總變異量。
- : 中不被 解釋的獨立變異比例( 為 對 的 )。
解題方法
- 觀察變異數公式:分子固定(只受誤差變異影響),精度提升等價於分母增大。
- 增加 :若 的變異範圍擴大(例如觀測值分布更寬), 增大,分母變大 → 變異數減少。
Question II (12 points; 6 points each)
By 2017, the workplace wellness business had ballooned into an eight-billion-dollar industry in the U.S. alone. One report suggests that half of firms with more than fifty employees offer wellness programs of some sort. The exact structures of corporate wellness programs vary, but the approach is grounded in preventative medicine. Wellness programs often involve disease screening, health education, fitness activities, nutritional advice, weight loss, and stress management. As wellness programs raise ethical questions about employers having this level of control and ownership over employees' bodies, employers cannot force employees to participate. In other words, if you work for a large company, you may have the option to participate in such a program.
While employers say that they offer these programs because they care about their employees and want to improve their quality of life, the primary rationale for implementing a wellness program is that by improving the health of its employees, a company can lower insurance costs and decrease absenteeism. But there is a fundamental question: Do they work? Meta-analyses—studies that aggregate the results of previous studies—seem encouraging. They compare employees within the same company who did take part in wellness activities with those who did not, controlling for age, gender, weight, and other characteristics. Such studies typically found significant effects that wellness programs reduce medical costs and absenteeism, generating considerable savings for employers.
第 13 題6 分
Can we conclude that offering a wellness program had such beneficial effects? Was there something particularly ineffective in the previous studies?
登入後即可作答並保存紀錄。
核心觀念
本題主要測驗計量經濟學與統計推論中的因果推論(Causal Inference)、自發性選擇偏誤(Self-Selection Bias)與遺漏變數偏誤(Omitted Variable Bias, OVB):
- 因果關係與相關性之區別:統計上的顯著相關不等於因果關係(Correlation does not imply causation)。
- 潛在結果架構(Potential Outcomes Framework)與選擇偏誤:
設 為個體 參與計畫之潛在結果(如醫療支出或缺勤天數), 為未參與之潛在結果, 為是否參與( 表示參與, 表示未參與)。觀測平均差異可拆解為: - 迴歸模型中的內生性(Endogeneity): 若存在未被觀察到的混雜變數(如健康意識、自律生活習慣 ),且該變數同時影響參與決策 與結果變數 ,則 ,普通最小平方法(OLS)估計量將產生遺漏變數偏誤:
解題方法
由試卷第 5 頁第二部份 Question II 題幹資訊可知:企業健康促進計畫係由員工自願參加(雇主不得強制,"employers cannot force employees to participate"),過去文獻(meta-analyses)僅在同一公司內部比較「參加者」與「未參加者」,並控制年齡、性別、體重等外顯特徵。
切入點與推導步驟如下:
- 判斷是否能推論因果效果:
自願參加的機制決定了參與者與非參與者在計畫開始前就存在系統性差異。即使計畫本身完全無效(),自願參加者通常本身就具有較高的健康意識、飲食較規律、注重運動,其未來的醫療費用與缺勤天數本來就較低(),導致觀測到的顯著負向關聯主要來自有利的選擇偏誤,不能宣稱是提供該計畫所帶來的因果效益。 - 指出過去研究的無效/缺陷之處:
第 14 題6 分
Find a way to deal with the problem above and investigate whether offering a wellness program has such beneficial effects.
登入後即可作答並保存紀錄。
核心觀念
本題旨在考驗計量經濟學與統計推論中的**因果推論(Causal Inference)與自選擇偏誤(Self-Selection Bias)**的解決方案。主要涵蓋:
- 內生性問題(Endogeneity)與遺漏變數偏誤(Omitted Variable Bias, OVB):因員工自願決定是否參加計畫,其潛在的「健康意識」、「生活自律性」或「工作動機」屬於不可觀察的遺漏變數,導致參與決策與誤差項相關。
- 隨機對照試驗(Randomized Controlled Trial, RCT / Field Experiment):透過隨機分派(Random Assignment)阻斷混淆變數(Confounders)的影響,使實驗組與對照組的事前潛在結果(Potential Outcomes)分配一致,為因果推論的黃金標準。
- 意圖治療效應(Intention-to-Treat, ITT)與工具變數法(Instrumental Variables, IV):面對「雇主不能強制員工參加(Non-compliance)」的現實,評估「提供計畫(Offering the program)」本身的因果效益即為 ITT 效應;若欲進一步評估實際參與的局部平均處理效應(LATE),可將隨機分派作為實際參與的工具變數。
解題方法
從考卷原頁第 5 頁讀到的關鍵資訊為:本題屬於第二部份簡答題第 II 題之第 14 小題(配分 6 分),卷首規定作答字數每題不超過 5 行且可用中文作答;題幹核心在於前案研究因員工自由參加而產生嚴重的自選擇偏誤,需提出嚴謹的研究設計以評估「提供計畫(Offering)」的真實效益。
為徹底解決自選擇偏誤並驗證因果效益,標準且最嚴謹的切入點為設計一項隨機對照試驗(Randomized Controlled Trial, RCT),具體實施步驟與推導如下:
1. 隨機化實驗設計(Random Assignment)
由於倫理考量雇主不可強迫員工參加,但雇主有權決定向哪些員工「提供」或「優先開放」該計畫。可將全體員工(或以部門/分廠為單位)隨機指派為兩組:
- 實驗組(Treatment Group, ):公司主動為其提供健康促進計畫(員工仍可自由選擇是否實際投入)。
- 對照組(Control Group, ):暫不提供該計畫(或維持現狀)。
隨機指派保證了分組與員工個人的健康意識、年齡、生活習慣等特徵獨立,即:
徹底消除了未觀察變數引起的自選擇偏誤與內生性。
2. 因果效應估計模型
針對題幹所關切的兩大指標(醫療成本、缺勤率)記為結果變數 :
- 評估「提供計畫」的效應(Intention-to-Treat, ITT):
直接比較獲得提供組與未獲得提供組的平均結果差異。此即題幹要求的「investigate whether offering a wellness program has such beneficial effects」: 以簡單迴歸模型表示: 其中 OLS 估計量 即為無偏的 ITT 因果效應。 - 評估「實際參與」的效應(Local Average Treatment Effect, LATE):
若欲進一步估計實際參與者()的效益,可將隨機提供資格 作為實際參與 的工具變數(IV),使用兩階段最小平方法(2SLS)估計:
第 15 題14 分
Question I (14 points; 7 points each)
Consider the regression model . One can show that the ordinary least squares (OLS) estimator for can be written as
where is the OLS residual from the regression of on . The variance of the OLS estimator can be written as
where is the OLS residual from the regression of on and , is the total variation in , and is the R-square from the regression of on .
- According to regression (1), explain how age is related to income. Is age statistically significant in regression (1)? Test the hypothesis at a 5 percent significance level.
登入後即可作答並保存紀錄。
本題考驗對單變量迴歸係數的解釋、統計顯著性判斷以及假設檢定的應用。
題目中提到 "regression (1)",但未提供具體的迴歸結果表格。不過,題目給出了 OLS 估計量 的計算公式,以及其變異數的公式。
這裡的 是對 的估計,而 是自變數 對應的係數。
題目中提到「age is related to income」,因此我們可以推斷:
- 因變數 是 income。
- 自變數 是 age。
- 題目中提到了 ,但問題 15 只問關於 age () 的關係,所以我們專注於 。
1. 解釋 age 與 income 的關係:
在一個簡單線性迴歸模型 中, 的解釋是:當自變數 (age) 每增加一個單位時,因變數 (income) 的平均值預期會改變 個單位。
如果 ,表示 age 和 income 正相關,年齡越大,收入越高。
如果 ,表示 age 和 income 負相關,年齡越大,收入越低。
如果 ,表示 age 和 income 無線性關係。
由於題目沒有提供迴歸結果表格 (如係數 的值),我們無法直接解釋 age 與 income 的關係方向和大小。
假設我們從一個標準的迴歸輸出中得到了 的值(例如,來自第 6 頁的迴歸 (1) 的結果)。
從第 6 頁表格的迴歸 (1) 來看:
DV: Income
Age 的 Coefficient 。
Age 的 p-Value = 0.000。
因此,根據這個假設的迴歸結果:
- 解釋關係: 在迴歸模型 (1) 中,age 的係數估計值為 0.407。這表示,在控制其他變數(如果有的話;在此模型僅有 Age)的情況下,年齡每增加一歲,收入(以千美元計)平均預期會增加 0.407 千美元,即 407 美元。這顯示了正向的線性關係。
2. 判斷 age 是否統計顯著:
要判斷 age 是否統計顯著,我們需要檢定 對 (通常是雙尾檢定)。
統計顯著性通常由 p-value 來判斷。如果 p-value 小於指定的顯著水準 (在此為 5% 或 0.05),則拒絕 ,認為該變數是統計顯著的。
同樣,假設我們參考迴歸 (1) 的結果:
- Age 的 p-Value = 0.000。
- 顯著水準 。
由於 p-value (0.000) < (0.05),我們拒絕虛無假設 。
因此,age 在 5% 的顯著水準下是統計顯著的。
3. 進行假設檢定 (已在上面完成):
- 虛無假設 (): (年齡與收入之間沒有線性關係)。
- 對立假設 (): (年齡與收入之間存在線性關係)。
- 檢定統計量: 題目給了 的公式,但沒有給 的值和 的值,無法直接計算 t 統計量。但是,標準迴歸輸出通常會直接提供 t 統計量和 p-value。
第 16 題14 分
Question I (14 points; 7 points each)
Consider the regression model . One can show that the ordinary least squares (OLS) estimator for can be written as
where is the OLS residual from the regression of on . The variance of the OLS estimator can be written as
where is the OLS residual from the regression of on and , is the total variation in , and is the R-square from the regression of on .
- Do the results of regression (2) conflict with these results of regression (1)? Explain.
登入後即可作答並保存紀錄。
核心觀念
本題考查多元迴歸中的:
- Frisch–Waugh–Lovell 定理:控制 後, 等於以 解釋 後的殘差,對 進行迴歸所得的係數。
- 多重共線性與變異膨脹因子(VIF): 與 的相關程度越高, 的變異數越大。
- 單純迴歸與多元迴歸的變異數公式並不相同。
題目文字中的公式應理解為:
-
單純迴歸 對 時:
-
多元迴歸 對 時,令 為 對常數項與 迴歸後的殘差,則:
解題方法
設 對常數項與 迴歸:
其中 是 中無法由 解釋的部分。
根據 Frisch–Waugh–Lovell 定理,多元迴歸中 的估計,只使用 的「淨變異」:
因此,多元迴歸並不是使用 的全部變異,而是使用排除 影響後剩餘的變異。
令
且 為 對 迴歸的決定係數。由迴歸平方分解:
所以多元迴歸中 的變異數為:
若回歸(1)是單純迴歸 對 ,其變異數為:
第 17 題14 分
Question I (14 points; 7 points each)
Consider the regression model . One can show that the ordinary least squares (OLS) estimator for can be written as
where is the OLS residual from the regression of on . The variance of the OLS estimator can be written as
where is the OLS residual from the regression of on and , is the total variation in , and is the R-square from the regression of on .
- In regression (3), what is the marginal effect of being female on income?
登入後即可作答並保存紀錄。
本題考驗對多元迴歸模型中虛擬變數 (dummy variable) 係數的解釋,特別是當模型包含交互作用項時。
題目要求解釋迴歸 (3) 中 "being female" 的邊際效應 (marginal effect)。
我們需要參考 page 6 的迴歸 (3) 的結果。
迴歸 (3) 的結果 (Page 6, Column (3)):
- 模型:Income =
- (SE 0.361)
- (SE 0.002)
- (SE 0.454)
- (SE 30.090)
- (SE 0.803)
- R-squared = 0.592
解釋邊際效應:
邊際效應是指當一個自變數發生微小變化時,因變數的預期變化量。
在這個模型中,我們關心的是 "being female" 的邊際效應。
"Female" 是一個虛擬變數,Female=1 表示女性,Female=0 表示男性。
情況 1:當模型沒有交互作用項時
如果模型是 Income = ,
那麼 Female 的邊際效應就是 。
這表示,與男性 (Female=0) 相比,女性 (Female=1) 的平均收入預期會改變 。
在此模型中,。
這表示,在控制了 Age, Age, Experience 後,女性的平均收入比男性預期低 57.737 千美元。
情況 2:當模型包含交互作用項時 (本題情況)
模型中包含 交互作用項。
這意味著,性別對收入的影響,會隨著工作經驗 (Experience) 的變化而變化。
因此,"being female" 的邊際效應不再是一個常數 ,而是取決於 Experience 的值。
邊際效應的計算:
收入 (Income) 的預期值為:
對於男性 (Female = 0):
對於女性 (Female = 1):
第 18 題14 分
Question I (14 points; 7 points each)
Consider the regression model . One can show that the ordinary least squares (OLS) estimator for can be written as
where is the OLS residual from the regression of on . The variance of the OLS estimator can be written as
where is the OLS residual from the regression of on and , is the total variation in , and is the R-square from the regression of on .
- Test whether regression (3) or regression (2) is preferable. State your hypotheses. Calculate the required test statistic, state the decision rule you use, and the inference you draw from the test.
登入後即可作答並保存紀錄。
本題考驗模型選擇的標準,特別是比較兩個 nested models (巢式模型) 的優劣,通常使用 F 檢定來比較。
題目要求比較迴歸 (2) 和迴歸 (3) 哪個更優,並進行統計檢定。
我們需要參考 page 6 的迴歸結果表格。
迴歸 (2) 的模型:
Income =
- R-squared () = 0.168
- USS (Unexplained Sum of Squares) = 5,207
- Observations () = 80
迴歸 (3) 的模型:
Income =
- R-squared () = 0.592
- USS (Unexplained Sum of Squares) = 2,549
- Observations () = 80
模型比較:
迴歸 (3) 是迴歸 (2) 的擴展模型。迴歸 (3) 在迴歸 (2) 的基礎上,額外加入了 Age, Experience, Female Experience 這三個變數。
- 迴歸 (2) 的參數個數 (Age, Female,不計截距項)。
- 迴歸 (3) 的參數個數 (Age, Age, Experience, Female, Female Experience,不計截距項)。
- 樣本數 。
模型選擇方法:
- R-squared: 迴歸 (3) 的 R-squared (0.592) 遠大於迴歸 (2) 的 R-squared (0.168),這表明迴歸 (3) 更好地解釋了收入的變異。
- Adjusted R-squared: 雖然未直接提供,但加入更多變數會提高 R-squared,Adjusted R-squared 會考慮模型複雜度。
- F 檢定(用於比較巢式模型): 這是最正式的統計方法。我們檢定迴歸 (3) 中額外加入的變數(Age, Experience, Female Experience)是否對模型有顯著的貢獻。
進行 F 檢定:
-
虛無假設 (): 迴歸 (3) 中額外加入的變數的係數均為零。即 。這相當於說,迴歸 (2) 是更優的模型。
-
對立假設 (): 至少有一個額外變數的係數不為零。這相當於說,迴歸 (3) 是更優的模型。
-
F 檢定統計量公式:
其中:- 是迴歸 (2) 的殘差平方和 (Unexplained Sum of Squares)。
- 是迴歸 (3) 的殘差平方和 (Unexplained Sum of Squares)。
- 是迴歸 (2) 中自變數的個數 (不含截距項)。
- 是迴歸 (3) 中自變數的個數 (不含截距項)。
- 是樣本數。
從表格中,我們有:
- (Age, Female)
- (Age, Age, Experience, Female, Female Experience)