114 年 國立成功大學交通管理科學系碩士班丙組《統計學》
第 1 題5 分
- (5%) Which of the following can be decided by a researcher? Choose all that apply.
a. Alpha level
b. Critical region
c. The probability (or risk) of a Type I error
d. A Type I error
e. The probability of a Type II error
f. A Type II error
g. p-value
登入後即可作答並保存紀錄。
核心觀念
本題考察假設檢定中的顯著水準、拒絕域、型一錯誤與型二錯誤。
設虛無假設為 ,對立假設為 :
- 顯著水準 :研究者事先設定的型一錯誤機率上限。
- 拒絕域(critical region):當檢定統計量落入此區域時,拒絕 。
- 型一錯誤(Type I error): 為真,卻拒絕 。
- 型二錯誤(Type II error): 為假,卻未拒絕 。
- -value:根據樣本資料計算出的觀察結果,不是事先由研究者指定。
型一錯誤的機率為
型二錯誤的機率則為
其大小通常取決於真實參數值、樣本數、母體變異程度與檢定方法。
解題方法
判斷原則如下:
- 研究者可以在分析前自行設定的,是「檢定規則」與「可接受的錯誤風險」。
- 由樣本資料實際計算出的,是 -value。
- 型一錯誤與型二錯誤是根據真實狀態及研究者決策共同形成的結果,不能由研究者直接決定。
- 型二錯誤機率涉及未知的真實狀態,因此通常不能事先唯一決定。
因此,研究者可以決定:
- level;
- critical region;
- 可接受的 Type I error risk,也就是 。
選項分析
a. Alpha level
正確。
研究者可以在進行檢定前設定顯著水準,例如
表示研究者願意承擔至多約 的型一錯誤風險。
b. Critical region
正確。
拒絕域由研究者依據檢定方向、顯著水準及檢定統計量的分布決定。
例如右尾檢定中,若檢定統計量為 ,則拒絕域可設定為
其中 為右尾面積等於 的臨界值。
c. The probability (or risk) of a Type I error
正確。
型一錯誤的機率就是顯著水準:
第 2 題20 分
- (20%) A hotel company wants to know if employees' previous work experiences (years) affect their
satisfaction with their current job at the hotel (score 1-10, the higher score indicates higher satisfaction
with their job). The hotel asked 5 employees and obtained the data below (X = years of previous work
experiences, Y = satisfaction)
| Employee | X | Y |
|---|---|---|
| A | 0 | 4 |
| B | 2 | 1 |
| C | 8 | 10 |
| D | 6 | 9 |
| E | 4 | 6 |
(a) Please compute the values for the regression equation (10%).
(b) For an employee with 5 years work experience, how satisfied this employee might be? (10%)
登入後即可作答並保存紀錄。
此題在考驗簡單線性迴歸的計算與應用。
首先,我們需要計算迴歸直線的參數。迴歸直線的方程式為 。
其中, 且 。
我們需要計算以下統計量:
第 3 題25 分
- (25%) Please explain the meanings and the usage for the following concepts clearly.
(a) When we say that a null hypothesis is rejected, what do we mean exactly? Please provide an example to illustrate your answer (10%).
(b) What is the meaning of standard deviation? (5%)
(c) If we have a sample data below:
1 2 3 4 5
Please calculate the unbiased estimate of the standard deviation (10%)
登入後即可作答並保存紀錄。
此題考驗統計學中假設檢定、標準差的定義與計算。
(a) 虛無假設被拒絕的意義與範例
-
意義: 當我們說一個虛無假設(Null Hypothesis, )被拒絕時,表示根據我們所收集到的樣本資料,以及所設定的顯著水準(),我們有足夠的統計證據來推翻虛無假設。這意味著我們傾向於接受對立假設(Alternative Hypothesis, )。這是一個基於機率的結論,我們並非 100% 確定虛無假設是錯的,而是說在虛無假設為真的前提下,觀察到目前樣本結果的機率非常低(通常低於我們預設的顯著水準 )。
-
使用時機: 在進行假設檢定時,當檢定統計量的值落在拒絕域內,或者計算出的 p-value 小於顯著水準 時,我們便會拒絕虛無假設。
-
範例:
假設一家藥廠聲稱他們新開發的止痛藥能有效降低頭痛的平均時間,而傳統藥物的平均降低時間是 30 分鐘。- 虛無假設 ():新藥降低頭痛的平均時間 等於 30 分鐘 ()。
- 對立假設 ():新藥降低頭痛的平均時間 大於 30 分鐘 ()。
藥廠進行了一項臨床實驗,隨機抽取 100 名病患,給予新藥,並記錄頭痛時間縮短的平均值為 35 分鐘,標準差為 10 分鐘。假設顯著水準 。
經過統計檢定後,計算出 p-value 為 0.002。
由於 p-value (0.002) < (0.05),我們有足夠的統計證據拒絕虛無假設 。
這意味著,我們得出結論:新藥確實比傳統藥物能更有效地降低頭痛時間。
(b) 標準差的意義
- 意義: 標準差(Standard Deviation, SD)是衡量數據離散程度(或分散程度)的一個指標。它表示樣本(或母體)中的數據點相對於其平均值的平均離散程度。標準差越大,表示數據點越分散,離平均值越遠;標準差越小,表示數據點越集中,越靠近平均值。
第 4 題25 分
- (25%) The government would like to understand whether income can affect people's intention to take
public transportations. A survey was conducted by the government. There were 3 income groups and 5
participants per group included in the survey. Please see below for the result of the ANOVA table.
| ANOVA | Source | Sum of squares | df | Mean Square | F |
|---|---|---|---|---|---|
| Between | (a) | (c) | 35 | (g) | |
| Within | (b) | (d) | (f) | ||
| Total | 118 | (e) |
(a) Please provide the values for the missing entries (a)-(g) in the ANOVA table (14%).
(b) Please use an analysis of variance with a = .05 to determine whether there are any significant
differences among the three income groups on their intention to take public transportations (4%).
(c) Please calculate the effect size (eta squared η²) for the data (4%).
(d) What is the percentage of variance explained by income (3%)?
登入後即可作答並保存紀錄。
此題考驗單因子變異數分析(One-way ANOVA)的相關計算與概念。
題目資訊:
- 有 3 個 income groups (處理組數,k=3)。
- 每個 group 有 5 位 participant (每組樣本數,n=5)。
- 總樣本數 N = k * n = 3 * 5 = 15。
- Total Sum of Squares (SST) = 118。
ANOVA 表中的關係式:
- Sum of Squares: (總離差平方和 = 組間離差平方和 + 組內離差平方和)
- Degrees of Freedom:
- Mean Square: ,
- F-statistic:
(a) 填寫 ANOVA 表的遺漏項目 (a)-(g)
-
計算 df:
=> (c) = 2
=> (d) = 12
=> (e) = 14
驗證:。 -
計算 SS:
已知 。
已知 。
=> (a) = 70。
=> (b) = 48。 -
計算 MSW:
=> (f) = 4。 -
計算 F-statistic:
=> (g) = 8.75。
填寫完成的 ANOVA 表:
第 5 題25 分
- (25%) The bus company used an independent-measures design to compare gender differences on how
many times they took the bus to school per year and obtained the data below. Four male and four female
students participated in the study. In average, male students took the bus to school for 52 times per year
and female students took the bus for 58 times.
| Male | Female | |
|---|---|---|
| n (Total Sample Number) | 4 | 4 |
| M (Sample Mean) | 52 | 58 |
| SS (Sum of Squares) | 108 | 84 |
(a) Please calculate the variance for each gender and compute the pooled variance (12%).
(b) Please provide the estimated standard error and t-value (8%).
(c) Do the data show a significant difference between gender? Please use a two-tailed test with a = .05 (5%).
登入後即可作答並保存紀錄。
此題考驗獨立樣本 t 檢定(Independent Samples t-test)的計算與應用。
已知資訊:
- 兩組獨立樣本:男性 (Male) 與女性 (Female)。
- 樣本數:。
- 樣本平均數: (Male), (Female)。
- 組內離差平方和: (Male), (Female)。
- 總樣本數 。
- 顯著水準 ,雙尾檢定。
(a) 計算各組變異數並計算合併變異數 (Pooled Variance)
-
計算各組變異數:
樣本變異數的公式為 。
男性組變異數 。
女性組變異數 。 -
計算合併變異數 (Pooled Variance, ):
合併變異數的公式為 。
。
(b) 提供估計的標準誤和 t 值
- 估計的標準誤 (Estimated Standard Error, ):
獨立樣本 t 檢定的標準誤公式為 。