113 年 國立成功大學工業與資訊管理學系研究所甲組《統計學》
第 1.1 題
The table below presents the survey results regarding preferences for Options I and II among two groups, i.e., A and B. What is the probability that a respondent of Group B prefers Option I? Is the option preference independent of the groups?
| Option I | Option II | |
|---|---|---|
| Group A | 230 | 250 |
| Group B | 280 | 210 |
Which of the following statements is correct, rounded to the second decimal place.
(a) 0.55, Dependent
(b) 0.57, Independent
(c) 0.55, Independent
(d) 0.57, Dependent
(e) 0.28, Dependent
登入後即可作答並保存紀錄。
核心觀念
本題主要測驗列聯表(Contingency Table)的機率計算與統計獨立性(Statistical Independence)判定:
- 條件機率(Conditional Probability):
在已知受訪者來自特定群體(如 Group B)的條件下,其偏好某方案(如 Option I)的機率為:
- 事件獨立性(Independence):
若兩事件或兩分類變數互相獨立,則條件機率應等於邊際機率(Marginal Probability),亦即:
或等價於各組條件機率相等:
若條件機率不相等,則兩變數為相依(Dependent)。
解題方法
從題目附表可知,調查樣本包含兩組(Group A、Group B)對兩種方案(Option I、Option II)的次數分配:Group A 偏好 Option I 為 230 人、偏好 Option II 為 250 人;Group B 偏好 Option I 為 280 人、偏好 Option II 為 210 人。
1. 整理列聯表與邊際合計(Marginal Totals)
| 組別 | Option I | Option II | 列合計(組別總人數) |
|---|---|---|---|
| Group A | 230 | 250 | |
| Group B | 280 | 210 | |
| 行合計(方案總偏好數) | 全體總人數 |
2. 計算條件機率
題目詢問「Group B 的受訪者偏好 Option I 的機率」(What is the probability that a respondent of Group B prefers Option I?),其樣本空間縮小至 Group B:
四捨五入至小數點後第二位為 。
3. 檢驗獨立性(Independence vs. Dependent)
計算 Group A 中偏好 Option I 的機率以及全體邊際機率:
- Group A 偏好 Option I 的條件機率:
- 全體受訪者偏好 Option I 的邊際機率:
比較可得:
第 1.2 題
Out of 20 stocks, half of them have an annual return rate exceeding 2%, and 6 stocks have a three-year return rate exceeding 15%. Additionally, three stocks have both an annual return rate exceeding 2% and a three-year return rate exceeding 15%. What is the probability that a stock has an annual return rate of less than 2% and a three-year return rate of less than 15%?
(a) 0.15
(b) 0.3
(c) 0.35
(d) 0.5
(e) 0.65
登入後即可作答並保存紀錄。
核心觀念
設:
- :年報酬率超過
- :三年報酬率超過
題目給定:
所求事件是年報酬率低於 且三年報酬率低於 ,即 ,也就是同時不屬於 與 的股票。
使用集合的容斥原理:
而補集關係為:
解題方法
先計算至少符合一項條件的股票數:
其中交集的 檔股票被同時計入 與 ,因此必須扣除一次。
所以同時未達兩項報酬率門檻的股票數為:
抽出一檔股票時,所求機率為:
選項分析
- (a) 0.15:錯誤。 對應 ,只是同時符合兩項條件的股票比例,不是同時低於兩項門檻的比例。
- (b) 0.3:錯誤。 對應 ,是三年報酬率超過 的股票比例。
第 1.3 題
Consider a random variable X with a probability distribution function given by
where .
Which of the following statements is correct for ?
(a) (1.8, 5.16)
(b) (1.8, 1.92)
(c) (1.92, 1.8)
(d) (2.04, 1.8)
(e) (1.92, 5.16)
登入後即可作答並保存紀錄。
此題考驗對離散機率分佈的期望值 (E(X)) 和變異數 (Var(X)) 的計算,以及求解機率質量函數中的常數 k。
步驟一:求解常數 k
機率質量函數 (PMF) 的總和必須為 1。
將這些加總:
所以,機率質量函數為:
且 其他情況。
計算各點的機率值:
步驟二:計算期望值 E(X)
步驟三:計算變異數 Var(X)
首先計算 :
第 1.4 題
Consider two independent random variables X and Y, where W = 2X + Y. If and , what is the variance of 2W + 5?
(a) 21
(b) 48
(c) 53
(d) 84
(e) 89
登入後即可作答並保存紀錄。
此題考驗對常態分佈 (Normal Distribution) 性質的理解,特別是線性組合的期望值與變異數,以及獨立隨機變數的性質。
已知:
- ,所以 , 。
- ,所以 , 。
- X 和 Y 是獨立的。
- 。
我們要求的是 。
步驟一:求解 W 的期望值和變異數
由於 X 和 Y 是獨立的,且它們是常態分佈的,它們的線性組合 W 也是常態分佈的。
- 。
- 。由於 X 和 Y 是獨立的,
。
第 1.5 題
A webpage receives 8 visitors per minute, assuming that the intervals between visitor arrivals follow an exponential distribution. What is the probability that no one visits the webpage in the next half-minute?
(a) 0.5
(b) 0.00034
(c)
(d) 8
(e)
登入後即可作答並保存紀錄。
核心觀念
訪客到達間隔服從指數分布,平均每分鐘到達 8 人,因此到達率為
若 表示下一位訪客到達所需的時間,則
指數分布的尾端機率為
「接下來半分鐘沒有人造訪」等價於「下一位訪客的到達時間超過 分鐘」。
解題方法
代入 、:
因此,接下來半分鐘沒有訪客的機率為
數值約為
亦即約 。
也可從卜瓦松過程理解:若每分鐘平均到達 8 人,則半分鐘內的到達人數 服從
所以
選項分析
-
(a) :錯誤。
是時間長度,代表半分鐘,不是由指數分布計算出的機率。 -
(b) :錯誤。
此數值約等於 ,相當於把觀察時間誤當成 1 分鐘,沒有乘上半分鐘的時間長度 。正確指數應為 。 -
(c) :正確。
根據指數分布尾端機率,
第 1.6 題
Sampling 30 samples and calculating their mean, long-term test results indicate that 5% exceed 2.5, and 5% are less than 2. Which value below is closest to the standard deviation of the population?
(a) 0.70
(b) 0.97
(c) 0.83
(d) 0.16
(e) 0.62
登入後即可作答並保存紀錄。
此題考驗對中央極限定理 (Central Limit Theorem) 和樣本統計量性質的理解,特別是如何利用樣本均值的極值來估計母體標準差。
題目提到「抽樣 30 個樣本並計算其平均值」,這暗示了我們可能在考慮樣本均值的分佈。
「長期測試結果顯示 5% 的樣本平均值超過 2.5,且 5% 的樣本平均值小於 2」。
這意味著:
根據中央極限定理,當樣本數 時,樣本均值 的分佈近似於常態分佈,其平均值為母體平均值 ,標準差為母體標準差 除以樣本數的平方根 (即標準誤 )。
所以,。
從 和 ,我們可以推斷出 的分佈是對稱的,並且其平均值 位於 2 和 2.5 的中間。
現在,我們利用標準常態分佈的性質來找出 。
對於標準常態分佈 Z,我們知道 且 。
查 Z 表可知,。
因此,我們可以將 的值轉換為 Z 分數:
對於 :
第 1.7 題
Consider a sample with the following numerical results: 95, 89, 76, 88, 90, 100, 90, 92, 98. Assuming the population follows a normal distribution, which of the following is closest to the 90% confidence interval for the population mean?
(a) (87.65, 94.13)
(b) (86.57, 95.20)
(c) (87.68, 94.05)
(d) (86.64, 95.14)
(e) (87.51, 94.49)
登入後即可作答並保存紀錄。
此題考驗對母體平均數信賴區間 (Confidence Interval for Population Mean) 的計算。由於母體標準差未知,且樣本數不大,我們需要使用 t 分佈。
步驟一:計算樣本統計量
樣本數據:95, 89, 76, 88, 90, 100, 90, 92, 98。
樣本數 。
計算樣本平均值 :
計算樣本標準差 :
首先計算樣本變異數 。
計算離差平方和:
離差平方和
樣本標準差 。
步驟二:尋找 t 分佈的臨界值
我們要計算 90% 的信賴區間。
信賴水準 = 90%,所以 。
由於是雙尾信賴區間,我們需要 的尾端機率。
自由度 。
第 1.8 題
A company wants to estimate the default proportion and aims to do so within a 98% confidence level, with a margin of error controlled at 0.03. No other population information is known. What sample size is needed?
(a) 1068
(b) 1507
(c) 1509
(d) 1069
(e) 1070
登入後即可作答並保存紀錄。
核心觀念
本題考查「母體比例之信賴區間」與「樣本數估計」。
在信賴水準 下,母體比例 的估計誤差上限為
其中:
- :誤差上限,本題為
- :標準常態分配臨界值
- :母體比例的先驗估計
- :所需樣本數
本題要求估計違約比例,且「沒有其他母體資訊」,因此採用最保守的比例估計:
因為 在 時達到最大值:
這會得到足以控制誤差的最大樣本數。
解題方法
1. 判定信賴區間臨界值
信賴水準為 ,因此
雙尾檢定需將兩側尾端各分配為 ,所以臨界值為
由標準常態分配表,通常取
2. 推導樣本數公式
由
兩邊平方:
整理得
代入 、、:
樣本數必須向上取整,才能確實使誤差不超過 :
選項分析
(a) 1068
錯誤。此數值約為正確樣本數的 ,通常是誤用較低的臨界值,或未正確處理 雙尾信賴水準所造成。代入本題條件無法達到指定的信賴水準與誤差要求。
(b) 1507
錯誤。依照考試常用的 計算,所需樣本數為約 ,必須向上取整為 。
第 2.1 題
There is a population with a daily average consumption that follows a normal distribution with a mean of 500 and a standard deviation of 100.
(3%) If a random sample is drawn from this population, what is the probability that the daily average consumption exceeds 700?
登入後即可作答並保存紀錄。
此題考驗對常態分佈 (Normal Distribution) 的應用,特別是如何計算某個值超過特定門檻的機率。
已知母體分佈為常態分佈:
- 平均值
- 標準差
我們要求的是「每日平均消費額超過 700」的機率,即 。
步驟一:將問題標準化 (計算 Z 分數)
我們將 X 值轉換為標準常態分佈 Z 值,其中 。
所以,我們要求的是 。
第 2.2 題
There is a population with a daily average consumption that follows a normal distribution with a mean of 500 and a standard deviation of 100.
(3%) If a sample of size 3 is taken from the population, what is the probability that the total daily average consumption of the sample is below 1292?
登入後即可作答並保存紀錄。
此題考驗對樣本總和 (Sum of Samples) 的分佈性質,特別是當母體為常態分佈時,樣本總和的分佈。
已知母體分佈為常態分佈:
- 平均值
- 標準差
我們抽取一個樣本,樣本大小 。
我們關心的是「樣本總和」的機率。令 為樣本中的三個觀測值。
我們要求的是 。
令 為樣本總和。
由於母體 服從常態分佈 ,且各樣本獨立,
樣本總和 T 服從常態分佈,其平均值和變異數為:
。- (由於獨立性)
。 - 樣本總和的標準差 。
第 2.3 題
There is a population with a daily average consumption that follows a normal distribution with a mean of 500 and a standard deviation of 100.
(4%) Assuming the distribution of the population is unknown, if 50 random samples are drawn, what is the probability that the total daily average consumption falls between 23,000 and 26,000?
登入後即可作答並保存紀錄。
此題考驗對中央極限定理 (Central Limit Theorem, CLT) 的應用,特別是在母體分佈未知的情況下,對樣本總和的分佈進行推論。
已知母體:
- 平均值
- 標準差
- 母體分佈未知。
我們抽取樣本,樣本大小 。
我們要求的是「樣本總和」落在 23,000 到 26,000 之間的機率,即 ,其中 。
根據中央極限定理 (CLT),即使母體分佈未知,當樣本數 足夠大時 (通常 ),樣本總和 T 的分佈近似於常態分佈。
樣本總和 T 的平均值和標準差為:
- 。
- 。
- 。
所以,T 近似服從常態分佈 。
我們要求的是 。
步驟一:將問題標準化 (計算 Z 分數)
計算區間的兩個端點的 Z 分數:
對於 :
對於 :
第 3. (a) 題5 分
A researcher is studying whether people's household income is related to which resort they stayed at during holiday season in Kenting. Data of 555 customers of two resorts are summarized in the following table:
| Household Income | Resort A | Resort B | Total |
|---|---|---|---|
| Visited | |||
| Less than 250K | 26 | 72 | 98 |
| 250K to 500K | 38 | 76 | 114 |
| 500K to 750K | 76 | 73 | 149 |
| 750K to 1000K | 57 | 34 | 91 |
| Above 1000K | 50 | 53 | 103 |
| Total | 247 | 308 | 555 |
(a) (5%) State the hypothesis of interest.
登入後即可作答並保存紀錄。
此題考驗對統計檢定的基本假設陳述的理解,特別是獨立性檢定中的虛無假設與對立假設。
這個研究的目的是探討「家庭收入」與「入住的度假村」之間是否存在關聯。這是一個典型的適合使用卡方獨立性檢定 (Chi-squared Test of Independence) 的情境。
虛無假設 (): 兩個分類變數是獨立的。
在此情境下,虛無假設表示「家庭收入」與「選擇的度假村」是獨立的。也就是說,一個人選擇入住哪個度假村與他們的家庭收入水平沒有關係。
第 3. (b) 題10 分
A researcher is studying whether people's household income is related to which resort they stayed at during holiday season in Kenting. Data of 555 customers of two resorts are summarized in the following table:
| Household Income | Resort A | Resort B | Total |
|---|---|---|---|
| Visited | |||
| Less than 250K | 26 | 72 | 98 |
| 250K to 500K | 38 | 76 | 114 |
| 500K to 750K | 76 | 73 | 149 |
| 750K to 1000K | 57 | 34 | 91 |
| Above 1000K | 50 | 53 | 103 |
| Total | 247 | 308 | 555 |
(b) (10%) Test the above hypothesis using . What is your conclusion?
登入後即可作答並保存紀錄。
核心觀念
本題測驗列聯表的卡方獨立性檢定(Chi-squared Test of Independence),檢定兩個類別變數(家庭收入等級與所選度假村)是否相互獨立。
解題方法
-
建立假設與顯著水準
- :家庭收入與選擇的度假村相互獨立。
- :家庭收入與選擇的度假村不獨立(存在關聯)。
- 顯著水準 。
-
計算各儲存格期望次數 (總樣本數 )
- Less than 250K:,
- 250K to 500K:,
- 500K to 750K:,
- 750K to 1000K:,
- Above 1000K:,
-
計算卡方檢定統計量
第 4. (a) 題5 分
30 students took the Statistic course and 20 of them passed the subject. Some of the students formed their study teams while they were taking the class. If a student joined a study team, the variable StudyMate is recorded as "1" and "0" otherwise. The following Minitab outputs show the relation of passing the subject between (1) hours spent on the study and (2) did the student have a study mate.
Link Function: Logit
Response Information
Variable Value Count
Pass
1 20 (Event)
0 10
Total 30
Logistic Regression Table
Predictor
Constant
Coef
SE Coef
Z
P
Odds Ratio
95% CI
Lower Upper
-4.64843 1.96797 -2.36 0.018
StudyingHours 0.192944 0.0772543 2.50 0.013 1.21 1.04 1.41
Study Mate 1.40216 2.01 0.044 8.52 0.55 133.06
Log-Likelihood = -10.076
Test that all slopes are zero: G = 18.038, DF = 2, P-Value = 0.000
(a) (5%) What is the estimated logistic regression equation for the problem?
登入後即可作答並保存紀錄。
核心觀念
本題測驗羅吉斯迴歸(Logistic Regression)報表的判讀與估計方程式建立。在 logit 連結函數下,迴歸係數 與勝算比(Odds Ratio, )的關係為 ,即 。
解題方法
-
判讀 Minitab 輸出表格
羅吉斯迴歸表共列出 7 個數值欄位:Coef、SE Coef、Z、P、Odds Ratio、95% CI Lower、Upper。- Constant:
Coef(SE Coef)。 - StudyingHours:
Coef(驗證:,與表中Odds Ratio = 1.21一致)。 - Study Mate:表中該列僅列 6 個數字(
1.40216 2.01 0.044 8.52 0.55 133.06),缺少Coef欄。由Odds Ratio = 8.52及 95% 信賴區間[0.55, 133.06]驗算: 且 ,確認1.40216實為SE Coef,而Study Mate之Coef為 。
- Constant:
-
寫出估計羅吉斯迴歸方程式
第 4. (b) 題5 分
30 students took the Statistic course and 20 of them passed the subject. Some of the students formed their study teams while they were taking the class. If a student joined a study team, the variable StudyMate is recorded as "1" and "0" otherwise. The following Minitab outputs show the relation of passing the subject between (1) hours spent on the study and (2) did the student have a study mate.
Link Function: Logit
Response Information
Variable Value Count
Pass
1 20 (Event)
0 10
Total 30
Logistic Regression Table
Predictor
Constant
Coef
SE Coef
Z
P
Odds Ratio
95% CI
Lower Upper
-4.64843 1.96797 -2.36 0.018
StudyingHours 0.192944 0.0772543 2.50 0.013 1.21 1.04 1.41
Study Mate 1.40216 2.01 0.044 8.52 0.55 133.06
Log-Likelihood = -10.076
Test that all slopes are zero: G = 18.038, DF = 2, P-Value = 0.000
(b) (5%) If a student spent 20 hours on study and she had a study mate, what is her probability to pass the course according to (a)?
登入後即可作答並保存紀錄。
核心觀念
本題測驗利用羅吉斯迴歸(Logistic Regression)估計方程式預測特定條件下的事件發生機率:
解題方法
-
確認迴歸方程式係數
由 Minitab 報表可知截距項 ,StudyingHours係數 ;Study Mate一列缺漏Coef欄(1.40216為SE Coef),由Odds Ratio = 8.52反推其係數為 。 -
代入條件計算 logit 值()
題目給定 且有讀書夥伴():
第 4. (c) 題5 分
30 students took the Statistic course and 20 of them passed the subject. Some of the students formed their study teams while they were taking the class. If a student joined a study team, the variable StudyMate is recorded as "1" and "0" otherwise. The following Minitab outputs show the relation of passing the subject between (1) hours spent on the study and (2) did the student have a study mate.
Link Function: Logit
Response Information
Variable Value Count
Pass
1 20 (Event)
0 10
Total 30
Logistic Regression Table
Predictor
Constant
Coef
SE Coef
Z
P
Odds Ratio
95% CI
Lower Upper
-4.64843 1.96797 -2.36 0.018
StudyingHours 0.192944 0.0772543 2.50 0.013 1.21 1.04 1.41
Study Mate 1.40216 2.01 0.044 8.52 0.55 133.06
Log-Likelihood = -10.076
Test that all slopes are zero: G = 18.038, DF = 2, P-Value = 0.000
(c) (5%) What is the change in the odds if a student decided to join a study team?
登入後即可作答並保存紀錄。
核心觀念
本題測驗羅吉斯迴歸(Logistic Regression)中勝算比(Odds Ratio, OR)的意義:對於二元虛擬變數 ,在控制其他變數不變的情況下, 由 變為 時,事件發生的勝算()會乘以 。
解題方法
- 由題幹 Minitab 報表可知,
Study Mate的 Odds Ratio = 8.52。 - 變數
Study Mate編碼為: 代表加入讀書團隊(有讀書夥伴), 代表未加入讀書團隊(沒有讀書夥伴)。
第 5. (a) 題10 分
The following table shows the improvement of metal hardening process over their original values (in percentage). The first row is the results of 8 samples from the current process and the second from the new process (the larger the better).
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| current | 66 | 57 | 98 | 72 | 68 | 77 | 81 | 60 |
| new | 80 | 70 | 120 | 67 | 59 | 83 | 85 | 79 |
(a) (10%) Formulate a Mann-Whitney U test to see if the new process is indeed better than the current process. ()
登入後即可作答並保存紀錄。
核心觀念
- Mann‑Whitney U 檢定:非參數檢定,用於比較兩個獨立樣本的分布是否有次序差異(不要求常態性)。
- 檢定假設
- :兩組觀測值的分布相同(或中位數相等)。
- :新製程的金屬硬化改進值較大(單尾右側檢定)。
- 統計量:
其中 為兩樣本大小, 為樣本 1(本題取 new)的秩和。
解題方法
- 合併兩組資料,從小到大排列,給予 秩 (rank),若有相同值則取平均秩(本題無重複)。
- 計算新製程的秩和 。
- 代入 公式得到 。
- 決定臨界值或 p 值:
- 直接使用 Mann‑Whitney 完整分布表()查找單尾 的臨界值;
- 或以 常態近似()計算 ,將 轉換為標準分數。
- 比較:若 臨界值(或 ),拒絕 ,認為新製程較佳;否則不拒絕。
計算步驟
- 資料排序與秩分配
| 值 | 所屬樣本 | 秩 |
|---|---|---|
| 57 | current | 1 |
| 59 | new | 2 |
| 60 | current | 3 |
| 66 | current | 4 |
| 67 | new | 5 |
| 68 | current | 6 |
| 70 | new | 7 |
| 72 | current | 8 |
| 77 | current | 9 |
| 79 | new | 10 |
| 80 | new | 11 |
| 81 | current | 12 |
| 83 | new | 13 |
| 85 | new | 14 |
| 98 | current | 15 |
| 120 | new | 16 |
- 新製程秩和
- 計算
- 臨界值 / p 值
- 精確表(單尾 , ):臨界值 。
- 常態近似(連續性校正)
第 5. (b) 題10 分
The following table shows the improvement of metal hardening process over their original values (in percentage). The first row is the results of 8 samples from the current process and the second from the new process (the larger the better).
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| current | 66 | 57 | 98 | 72 | 68 | 77 | 81 | 60 |
| new | 80 | 70 | 120 | 67 | 59 | 83 | 85 | 79 |
(b) (10%) Now suppose each tested sample received both treatments and generated the same results as the above table. Formulate a paired t-test to see if the new process is better than the current process. ()
登入後即可作答並保存紀錄。
核心觀念
- 配對樣本 t 檢定(paired‑t test):用於比較同一單位在兩種處理下的平均差異。
- 假設
- (新舊工藝差異的母體平均為 0)
- (新工藝的平均改進比例大於舊工藝)
- 檢定統計量
其中 為差值樣本平均, 為差值樣本標準差, 為配對樣本數。 - 自由度 。
- 顯著水準 (單尾檢定)。
解題方法
- 計算每對樣本的差值
- 求差值的樣本平均
- 求差值的樣本變異數與標準差
計算每個 :
總和 。
- 計算檢定統計量