108 年 國立成功大學工業與資訊管理學系研究所甲組《統計學》
第 1 題20 分
Suppose that a random variable has pdf
Let be a second random variable, where . What is the pdf for ?
登入後即可作答並保存紀錄。
核心觀念
本題的核心觀念為單變量連續型隨機變數的變數變換(Transformation of Continuous Random Variables)。
若已知連續型隨機變數 的機率密度函數(pdf)為 ,且 為 的嚴格單調遞增(或遞減)函數,則可利用「單調變換法(Change-of-Variable Technique)」或「累積分配函數法(CDF Method)」推導出 的機率密度函數 :
- 單調變換公式:
若 具備嚴格單調性(一對一),其反函數為 ,則 的 pdf 為: - 支撐集(Support)的對應映射:
變換後的隨機變數 其定義域必須由原本 的有效範圍經由 嚴格轉換求得。
解題方法
本題 為線性變換,具有嚴格單調遞增性質,使用單調變換公式求解最為直接高效。
步驟一:求反函數及其 Jacobian(導數絕對值)
令 ,解出 作為 的函數:
計算對 的微分與絕對值:
步驟二:求 的支撐集(Support)
已知 的支撐集為 。
將 代入不等式:
同乘以 2:
同加上 1:
步驟三:代入變換公式求解
將 及 代入原 pdf:
第 2 題10 分
Suppose that and are independent random variables with the standard deviations and . Let . Find the covariance and the correlation of and .
登入後即可作答並保存紀錄。
核心觀念
本題評量隨機變數的線性組合之共變異數(Covariance)、**變異數(Variance)以及皮爾森相關係數(Pearson Correlation Coefficient)**的運算性質。核心公式與性質如下:
- 獨立隨機變數之性質:若 與 相互獨立,則其共變異數為零,即:
- 共變異數的雙線性性質(Bilinearity):
- 線性組合的變異數:若 與 獨立,則:
- 相關係數定義:
解題方法
由題意已知:
- 與 相互獨立,故 。
- 標準差 。
- 標準差 。
- 。
第一步:求解共變異數
利用共變異數的線性展開性質:
因為 與 獨立,,且任一隨機變數與自身的共變異數等於其變異數,即 :
第 3 題20 分
A coin is thrown independently 10 times to test the hypothesis that the probability of heads is versus the alternative that the probability is not . The test rejects if either 0 or 10 heads are observed.
(a) What is the significance level of the test?
(b) If in fact the probability of heads is 0.1, what is the power of the test?
登入後即可作答並保存紀錄。
核心觀念
本題考驗**假說檢定(Hypothesis Testing)**中兩大核心指標的計算:
-
二項分配(Binomial Distribution):
設隨機變數 為 10 次獨立投擲中出現正面的次數。在成功機率(出現正面機率)為 的條件下,,其機率質量函數(PMF)為:
-
顯著水準(Significance Level, ):
定義為型 I 錯誤(Type I Error)發生的機率,即「在虛無假說 為真的條件下,檢定卻落在拒絕域(Rejection Region)而做出拒絕 決策的機率」:
-
檢定力(Power of the Test, ):
定義為「在對立假說下的某一特定母數值(此處為 )為真的條件下,檢定正確拒絕 的機率」:
解題方法與詳細推導
依題意建立假說:
檢定規則給定之拒絕域(Critical Region)為 。
(a) 求檢定的顯著水準
顯著水準即在 之條件下,觀察值落在拒絕域的機率:
由二項分配公式計算各別機率:
In a manufacturing company, a new method to perform a production task is introduced. The company wants to see if the new method can significantly reduce the mean task completion time. In choosing the sampling procedure used to collect task completion time, a matched sample design is used. Seven workers are randomly chosen to use the traditional and new method separately to complete a production task. Task completion times from each worker are recorded (in seconds) in the following table. It is assumed that the task completion time follows normal distributions.
| Worker | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|---|---|---|---|---|---|---|---|
| Traditional method | 56 | 66 | 67 | 58 | 69 | 62 | 63 |
| New method | 46 | 60 | 67 | 52 | 60 | 55 | 57 |
第 4-(1) 題5 分
Suppose that the task completion time using the Traditional method follows a normal distribution, . Use the data from the table above and find a 95% two-sided confidence interval for the population variance, (use the data from Traditional method row only).
登入後即可作答並保存紀錄。
核心觀念
本題評量常態母體變異數的雙尾信賴區間估計。
- 基本假設:
母體資料來自常態分佈 ,且母體平均數 未知。 - 樞紐變量(Pivotal Quantity):
設樣本數為 ,樣本變異數為 。
根據常態抽樣分配理論,統計量: 服從自由度為 的卡方分佈(Chi-Square Distribution)。 - 雙尾信賴區間公式:
母體變異數 的 雙尾信賴區間為: 經由不等式移項整理,可得 的信賴區間為: 其中 代表自由度為 之卡方分佈右尾面積為 的臨界值。
解題方法
步驟一:計算樣本統計量
題幹中傳統方法(Traditional method)共 筆觀察值:
-
樣本平均數():
-
離均差平方和()與樣本變異數():
計算各觀測值對平均數的離均差與平方:
第 4-(2) 題10 分
Analyze the data from this table. Formulate the hypotheses that can be used to determine if the new methods can significantly reduce the mean task completion time? Use . Explicitly present your null hypothesis, test procedure and conclusion.
登入後即可作答並保存紀錄。
核心觀念
本題屬於成對樣本(Matched-pairs / Paired Samples)的平均數差檢定。
當同一組受試者(7 位工人)分別接受兩種不同處理(傳統方法與新方法)時,觀測值彼此不獨立,應消除個體間差異(Block effect)。
令配對差值為 (其中 為第 位工人使用傳統方法的時間, 為使用新方法的時間)。
假設母體差值服從常態分佈 ,因母體標準差 未知且樣本數為小樣本(),應採用成對樣本 檢定(Paired -test)。
相關公式:
- 配對差值樣本平均數:
- 配對差值樣本標準差:
- 檢定統計量:
解題方法
1. 資料整理與計算配對差值
定義配對差值 :
| 工人 | 傳統方法 () | 新方法 () | 差值 | |
|---|---|---|---|---|
| 1 | 56 | 46 | 10 | 100 |
| 2 | 66 | 60 | 6 | 36 |
| 3 | 67 | 67 | 0 | 0 |
| 4 | 58 | 52 | 6 | 36 |
| 5 | 69 | 60 | 9 | 81 |
| 6 | 62 | 55 | 7 | 49 |
| 7 | 63 | 57 | 6 | 36 |
| 總和 | — | — |
- 樣本數:
- 樣本平均差:
- 樣本變異數:
- 樣本標準差:
- 平均數標準誤:
2. 假設檢定步驟
A cardboard cans manufacturer recently purchased a new machine for producing cardboard cans. He would like to conduct a hypothesis testing to see if the fraction of nonconforming cans, , produced by this machine is acceptable. A nonconforming can may leak around the bottom of the can. To conduct this test, he decides to take a sample with sample size, , from the manufacturing process and thus the number of nonconforming cans () in this sample is a random variable. If there are more than nonconforming cans in the sample, he will conclude that the fraction of nonconforming cans is not acceptable and he has to adjust the settings of this machine. However, he does not know how to choose appropriate number of and .
第 5-(1) 題16 分
Use the normal approximation of the distribution of and use the following conditions to determine the smallest value of and the corresponding value of :
(i) If the true fraction of nonconforming cans is 0.1, the probability of is smaller than 0.05.
(ii) If the true fraction of nonconforming cans is 0.2, the probability of is greater than 0.95.
Find the closest positive integer combination of and satisfying the previous two conditions.
登入後即可作答並保存紀錄。
核心觀念
本題考查二項分配的常態近似(Normal Approximation to Binomial Distribution)以及在單尾假說檢定/驗收抽樣中,如何同時控制型 I 錯誤(Type I Error, )與型 II 錯誤(Type II Error, )來決定最適樣本數 與臨界值(Cutoff / Rejection Number)。
-
二項分配及其常態近似:
設 為樣本中不良品個數,則 ,其期望值為 ,變異數為 。當 充分大時,根據中央極限定理:標準化隨機變數為:
-
檢定條件與錯誤率對應:
- 拒絕域為 。
- 條件 (i):當真實不良率 時,拒絕的機率不超過 :
- 條件 (ii):當不良率惡化至 時,能正確拒絕(檢定力 )的機率大於 (即型 II 錯誤 ):
- 標準常態分配臨界值:(滿足 ,)。
解題方法
步驟一:依常態近似建立條件式
根據標準化公式:
-
由條件 (i),當 時:
由於標準常態分配右尾機率小於等於 ,其標準化邊界值必須大於等於 :
-
由條件 (ii),當 時:
由於標準常態分配右尾機率大於等於 ,其標準化邊界值必須小於等於 :
步驟二:聯立求最小樣本數
結合式 (1) 與式 (2),臨界值 必須滿足區間:
第 5-(2) 題4 分
Based on your solutions in (1), to test , the rejection region is . When , what are the probability of Type II error and the power of this test?
登入後即可作答並保存紀錄。
核心觀念
本題考查假設檢定中型二誤差機率(Type II error probability, )與檢定力(Power, )的定義與計算。
- 二項分配模型(Binomial Distribution):
自製程中隨機抽取容量為 的樣本,設 為不良品個數(nonconforming cans),則 : - 拒絕域與不拒絕域:
檢定假設為 vs 。
題目設定之拒絕域(Rejection Region, )為: 相對應之接受域(不拒絕域, Non-rejection Region, )即為: - 型二誤差機率()與檢定力(Power)定義:
當真實母體比例為對立假設中的特定數值 時:- 型二誤差機率 :當 為真時,未拒絕 的機率。
- 檢定力 :當 為真時,正確拒絕 的機率。
解題方法
1. 前小題 (1) 之參數連結說明
第 (2) 題開頭指明「Based on your solutions in (1)」。在品管抽樣檢驗與本題組背景中,第 (1) 題通常有兩種常見命題型態:
- 型態 A(已求出具體數值 與 ):若第 (1) 題依據常見標準給定顯著水準 (如 )求出特定樣本數與臨界值 ,則代入該數值可求得精確數值解。
- 型態 B(符號推導與通用形式):若第 (1) 題僅為建立決策準則與推導方程式,則以已知之 表示通用機率函數與常態近似公式。
以下提供精確二項分配通式與大樣本常態近似表示法,考生在考場上無論前小題求出的 數值為何,皆能直接對應作答。
2. 精確機率表示式(二項分配)
當真實不良率 時,:
- 型二誤差機率 :
The following data is from a completely randomized design:
| Treatment A | Treatment B | Treatment C | |
|---|---|---|---|
| 162 | 142 | 126 | |
| 155 | 145 | 124 | |
| 153 | 140 | 122 | |
| 165 | 155 | 138 | |
| 170 | 155 | 135 | |
| Sample mean | 161 | 147 | 129 |
| Sample variance | 50 | 51 | 50 |
第 6-(1) 題6 分
Before conducting an ANOVA analysis to the data, what are the assumptions required for the observed data?
登入後即可作答並保存紀錄。
核心觀念
本題考核單因子變異數分析(One-Way ANOVA)在完全隨機設計(Completely Randomized Design, CRD)下的基本假定(Assumptions)。
在單因子完全隨機設計中,統計模型設定為:
其中 代表處理組別(本題 ), 代表各組內的觀測值編號(本題各組 )。
欲進行變異數分析以檢定各處理平均數是否相等(),對誤差項 (或各組母體之觀測值 )必須滿足三大核心假定:
- 常態性假定(Normality)
- 同質變異數假定(Homogeneity of Variances / Homoscedasticity)
- 獨立性假定(Independence)
簡記為誤差項獨立且服從常態分配:
亦即觀測值滿足:
解題方法
回答統計檢定的「基本假定」問答題時,應針對母體觀測值與誤差項兩種角度進行嚴謹且具條理的陳述:
1. 常態性(Normality)
- 數學定義:每個處理組(母體)的觀測值皆呈現常態分配,即誤差項服從常態分配:
- 檢定與驗證方法:可利用常態機率圖(Normal Probability Plot / Q-Q Plot)或正式檢定(如 Shapiro-Wilk test、Kolmogorov-Smirnov test)進行診斷。
2. 變異數同質性(Homoscedasticity / Equal Variances)
- 數學定義:各個處理母體的變異數必須相等,即所有組別具有共同的母體變異數 :
- 本題數據特徵:由題幹給出的樣本變異數可知 、、,數值極度接近,直觀上相當支持變異數相等的假定。
第 6-(2) 題9 分
Use the data from the table, at the level of significance, set up the ANOVA table and test whether the means for the three treatments are equal?
登入後即可作答並保存紀錄。
核心觀念
本題考查**單因子變異數分析(One-Way ANOVA)與完全隨機化設計(Completely Randomized Design, CRD)**之假設檢定及變異數分析表(ANOVA Table)的編製。
-
基本假設:
- 各處理群體皆服從常態分配:。
- 各群體之變異數具同質性(Homoscedasticity):。
- 各樣本彼此獨立(Independent)。
-
平方和分解定理(Sum of Squares Identity):
- 總平方和(Total Sum of Squares, ):自由度 。
- 處理平方和(Treatment Sum of Squares, ):組間變異,自由度 。
- 誤差平方和(Error Sum of Squares, ):組內變異,自由度 。
-
檢定統計量:
在虛無假說成立下,檢定統計量服從 分配:
解題方法
步驟一:建立假說
- 虛無假說 (三種處理之平均數相等)
- 對立假說 至少有兩個處理之平均數不相等
步驟二:計算各項樣本統計量與平方和
由題幹表格可知:
- 處理組數 (A、B、C)
- 各組樣本數皆為 ,總樣本數
- 各組樣本平均數:
- 各組樣本變異數:
-
總平均數(Grand Mean, ):
因各組樣本數相等,
-
處理平方和():
-
誤差平方和():
利用各組樣本變異數加權加總: