111 年 國立成功大學交通管理研究所甲組《統計學》
第 1 題10 分
- (10%) The following data are the consumer online ratings of a e-scooter sharing system in Taiwan.
Possible responses were Excellent, Very Good, Average, Poor, and Terrible.
| Rating | Frequency |
|---|---|
| Excellent | 250 |
| Very Good | 450 |
| Average | 150 |
| Poor | 100 |
| Terrible | 50 |
Please construct a bar chart for the percent frequency distribution.
登入後即可作答並保存紀錄。
本題要求根據提供的離散數據,繪製百分比長條圖。首先需要計算各個類別的相對次數(頻率佔總數的比例),然後將其轉換為百分比。最後,根據這些百分比繪製長條圖,其中橫軸代表不同的評價等級,縱軸代表對應的百分比頻率。
計算步驟:
-
計算總次數 (Total Frequency):
總次數 = 250 + 450 + 150 + 100 + 50 = 1000 -
計算各類別的百分比頻率 (Percent Frequency):
- Excellent: (250 / 1000) * 100% = 25%
- Very Good: (450 / 1000) * 100% = 45%
- Average: (150 / 1000) * 100% = 15%
- Poor: (100 / 1000) * 100% = 10%
- Terrible: (50 / 1000) * 100% = 5%
-
繪製長條圖:
- 橫軸 (X-axis): 標示評價等級 (Rating),依序為 Excellent, Very Good, Average, Poor, Terrible。
第 2 題15 分
- (15%) For a symmetric, bell-shaped distribution,
(1) how much percent of the value would approximately lie between and ? (5%)
(2) if it contains 400 values with a mean of 35 and standard deviation of 2, how many values should
approximately lie between 31 and 39? (10%)
登入後即可作答並保存紀錄。
本題考驗對常態分配(或稱對稱、鐘形分配)的理解,特別是關於 範圍內數據比例的經驗法則。
核心觀念:
對稱、鐘形分配通常指常態分配。常態分配的數據分布具有以下特性:
- 約 68% 的數據落在 範圍內。
- 約 95% 的數據落在 範圍內。
- 約 99.7% 的數據落在 範圍內。
小題 (1) 解釋:
要求計算介於 和 之間的數據比例。
由於是常態分配,我們可以將這個範圍分解為兩個部分:
- 到 :這部分數據佔總數的比例約為 68% / 2 = 34%。
- 到 :這部分數據佔總數的比例約為 95% / 2 = 47.5%。
將這兩部分的比例相加,即可得到 到 之間的總比例。
計算:
介於 和 的比例 = (介於 和 的比例) + (介於 和 的比例)
= (約 34%) + (約 47.5%)
= 約 81.5%
【答案】(1): 約 81.5%
小題 (2) 解釋:
已知一個常態分配的數據集中有 400 個值,其平均數 ,標準差 。
第 3 題15 分
- (15%) According to a travel expenditure statistic report, a family of four spends an average of NT3150 per day and a sample standard deviation of $160.
(1) Develop a 95% confidence interval estimate of the mean amount spent per day by a family of four visiting
Taroko National Park. (10%)
(2) Based on result from part (a), does it appear that the population mean amount spent per day by families
visiting Taroko National Park differs from the mean reported by the travel expenditure statistic report
mentioned? Explain. (5%)
登入後即可作答並保存紀錄。
本題考驗建立信賴區間和進行假設檢定的基本概念,特別是針對母體平均數的估計。
核心觀念:
- 信賴區間 (Confidence Interval): 用來估計母體參數(在此為母體平均數 )的一個區間,並附帶一個信賴水準。
- t 分配 (t-distribution): 當母體標準差 未知,且使用樣本標準差 來估計時,應使用 t 分配來建構信賴區間和進行假設檢定,特別是當樣本數不大時。然而,本題樣本數 較大,使用 z 分配近似也是可接受的,但使用 t 分配更為精確。題目中給了樣本標準差,故應使用 t 分配。
小題 (1) 解釋:
要求計算一個 95% 信賴區間,用來估計在太魯閣國家公園旅遊的四口之家平均每日花費。
已知資訊:
- 樣本數
- 樣本平均數
- 樣本標準差
- 信賴水準 = 95%,對應的
計算步驟:
-
計算自由度 (Degrees of Freedom, df):
-
查找 t 分配的臨界值 (Critical Value):
對於 95% 的信賴水準 () 和 ,我們需要在 t 分配表中查找 的臨界值。
查表可知,當 時,;當 時,。由於 介於兩者之間,我們可以取近似值,例如 或直接使用 的值 2.000 作為近似,通常考題會提供可查找的表格或允許使用近似值。在此我們採用 的精確值(若有提供)或最接近的近似值。如果題目有提供 t 分配表,我們就從表中讀取。從提供的 t 分配表(頁面4)可以看到,當 時,對於 Area in Upper Tail = 0.025,臨界值約為 1.998。 -
計算標準誤 (Standard Error, SE):
-
計算信賴區間:
信賴區間 =
信賴區間 =
信賴區間 =
信賴區間 =
第 4 題20 分
- (20%) At National Cheng Kung University the historical mean of statistics examination scores for master
program applications is 70. A historical population standard deviation is assumed known. Each
year, the TCM departmental chair uses a sample of applications to determine whether the mean
examination score for the new master program applications has changed.
(1) State the hypotheses. (5%)
(2) What is the 95% confidence interval estimate of the population mean examination score if a sample of 144
applications provided a sample mean (5%)
(3) Use the confidence interval to conduct a hypothesis test. Using , what is your conclusion? (5%)
(4) What is the p-value? (5%)
登入後即可作答並保存紀錄。
本題考驗關於母體平均數的假設檢定與信賴區間的建立。由於母體標準差 已知,我們將使用常態分配 (z 分配) 進行檢定。
核心觀念:
- 假設檢定 (Hypothesis Testing): 是一種統計方法,用於根據樣本數據判斷關於母體參數的假設是否成立。
- 信賴區間 (Confidence Interval): 用於估計母體參數的範圍。信賴區間與假設檢定之間存在緊密的關聯性。
已知資訊:
- 歷史母體平均數
- 母體標準差
- 樣本數
- 樣本平均數
- 顯著水準
小題 (1) 解釋:
要求陳述虛無假設 () 和對立假設 ()。
虛無假設代表「沒有改變」或「維持現狀」的狀態,而對立假設則代表我們想要檢定的「改變」狀態。
在此,我們想檢定的是「平均考試分數是否發生改變」。
陳述:
- 虛無假設 ():新的申請者平均統計考試分數與歷史平均分數相同。
- 對立假設 ():新的申請者平均統計考試分數與歷史平均分數不同(可能更高或更低)。
這是一個雙尾檢定 (two-tailed test),因為我們感興趣的是平均分數是否「改變」,而不是特定方向的改變(例如,是否升高)。
【答案】(1):
小題 (2) 解釋:
要求計算 95% 信賴區間,估計新的申請者平均統計考試分數。
計算步驟:
-
計算標準誤 (Standard Error, SE):
由於母體標準差 已知,我們使用 。
-
查找 z 分配的臨界值 (Critical Value):
對於 95% 的信賴水準 (),雙尾檢定的臨界值為 。
查標準常態分配表可知,。 -
計算信賴區間:
信賴區間 =
信賴區間 =
信賴區間 =
信賴區間 =
信賴區間 =
【答案】(2): 95% 信賴區間為 (71.06, 76.94)。
小題 (3) 解釋:
要求使用小題 (2) 計算出的信賴區間,對 的顯著水準進行假設檢定,並得出結論。
判斷方法:
將虛無假設中的母體平均數 與 95% 信賴區間 (71.06, 76.94) 進行比較。
- 如果 落在此信賴區間內,則我們無法拒絕虛無假設 。
- 如果 不在此信賴區間內,則我們拒絕虛無假設 ,並接受對立假設 。
比較結果:
虛無假設中的母體平均數 。
95% 信賴區間為 (71.06, 76.94)。
由於 70 小於信賴區間的下限 71.06,因此 70 不在此信賴區間內。
第 5 題20 分
- (20%) An experiment is conducted to investigate the air pollution (i.e. Ozone pollution levels) among 4
cities. The ANOVA table below is the results of difference test.
| Source | SS | df | MS | F |
|---|---|---|---|---|
| Between | 36 | (a) | (b) | (c) |
| Within | (d) | 40 | 3.00 | |
| Total |
(1) What are the values for (a), (b), (c) and (d) in the table? (12%)
(2) What is the number of observations? (3%)
(3) At significant level , is there a difference in Ozone pollution levels among four cities? (5%)
登入後即可作答並保存紀錄。
核心觀念
本題為典型的單因子變異數分析(One-Way ANOVA),用於檢定多個獨立母體平均數是否相等。核心公式與關聯如下:
- 處理組數與自由度(Degrees of Freedom, ):
設處理組數(城市數)為 ,總樣本數為 :- 組間自由度:
- 組內自由度:
- 總自由度:
- 均方(Mean Square, ):
- 組間均方:
- 組內均方:
- 檢定統計量:
- 統計量:,服從自由度為 的 分配。
- 註:在標準 ANOVA 表中,組內(Within / Error)列不具備 統計量,表中的 係排版對齊於均方位置之組內均方(即 )。
解題方法
(1) 求表格中 (a)、(b)、(c)、(d) 之值
題目給定研究對象為 4 個城市,即處理組數 :
-
求 (a):
組間自由度為: -
求 (b):
組間均方為平方和除以對應自由度: -
求 (c):
依變異數分析定義,組內均方 ,故 統計量為: -
求 (d):
組內平方和為組內均方乘上組內自由度:
(2) 計算總觀察值數(Number of Observations, )
由組內自由度公式推導:
代入已知條件 與 :
亦可由總自由度加法性驗算:
又 :
兩種推導方式完全一致,總觀察值數為 44。
(3) 假說檢定:在 下,四個城市的臭氧污染水準是否有差異
- 建立假說:
- 虛無假設 (四個城市的平均臭氧污染水準均相同)
- 對立假設 : 至少有兩個城市的平均臭氧污染水準不相同
第 6 題20 分
- (20%) The following is a part of computer output of a regression model using the least squares estimation
method.
ANOVA
| df | SS | MS | F | |
|---|---|---|---|---|
| Regression | 2 | (b) | (c) | (e) |
| Residual | (a) | 20.20 | (d) | |
| Total | 11 | 120.20 |
Coefficients
| Coefficients | Standard Error | t Stat | P-value | |
|---|---|---|---|---|
| Intercept | 122.5 | (f) | 3.50 | 0.0064 |
| X1 | -0.018 | 0.030 | (g) | 0.6176 |
| X2 | (h) | 0.350 | -4.40 | 0.0018 |
(1) Based upon the output shown above, write the regression equation. (2%)
(2) What are the values for (a), (b), (c), (d), (e), (f), (g) and (h) in the estimation output. (8%)
(3) Calculate the determination coefficient R² (instead of adjusted R²). (3%)
(4) At significant level , determine which variables are significant and which are not. (4%)
(5) Write down the corresponding hypothesis test for the F-statistic (3%)
登入後即可作答並保存紀錄。
【答案】
(1) 迴歸方程式為:
(2) 各空格數值為:(a) = 9, (b) = 100, (c) = 50, (d) , (e) , (f) = 35, (g) = -0.6, (h) = -1.54。
(3) 決定係數 。
(4) 在 顯著水準下,自變數 顯著(),自變數 不顯著();常數項(Intercept)亦達顯著水準()。
(5) F 檢定的對應假說為:
詳解
本題評量多元線性迴歸報表(ANOVA 表與係數估計表)之推算、判定係數計算、個別係數顯著性檢定以及整體模型 F 檢定假說之建立。
一、計算 ANOVA 與係數表之待定數值(小題 2)
-
ANOVA 自由度與變異平方和關係:
- 殘差自由度 (a):。
- 迴歸平方和 (b):。
- 迴歸均方 (c):。
- 殘差均方 (d):。
- F 統計量 (e):。
-
係數估計表關係式():
- 截距項標準誤 (f):。
- 自變數 之 t 統計量 (g):。