114 年 國立中正大學企業管理學系碩士班丙組《統計學》
第 1 題10 分
First, throw a fair die twice, and let denote the outcome of the throw. Let . Then, toss a fair coin times, let denote the number of heads appeared.
(1) What is the probability of ? (5%)
(2) What is the probability of ? (5%)
登入後即可作答並保存紀錄。
此題考驗機率的計算,包含離散隨機變數的定義、聯合機率以及條件機率。
核心觀念:
- 離散隨機變數 的定義:兩次骰子點數的最小值。
- 離散隨機變數 的定義:投擲 次公平硬幣出現的正面次數。
- 計算聯合機率 。
- 計算邊際機率 。
解題步驟:
首先,我們需要確定 的可能取值及其機率分佈。 是兩次骰子點數的最小值,所以 的可能取值為 。
計算 :
: 至少一次出現 1。這表示兩次點數為 (1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (2,1), (3,1), (4,1), (5,1), (6,1)。共有 11 種組合。總共有 種可能結果。所以 。
或者,用補集法:。 表示兩次點數都大於 1,即點數都在 。有 種組合。所以 。因此 。
: 最小值為 2。這表示兩次點數都大於等於 2,且至少一次出現 2。
兩次點數都在 的組合有 種。
其中,兩次點數都大於 2 (即都在 ) 的組合有 種。
所以,最小值為 2 的組合數為 種。
。
: 最小值為 3。兩次點數都在 的組合數為 。
兩次點數都大於 3 (即都在 ) 的組合數為 。
所以,最小值為 3 的組合數為 種。
。
: 最小值為 4。兩次點數都在 的組合數為 。
兩次點數都大於 4 (即都在 ) 的組合數為 。
所以,最小值為 4 的組合數為 種。
。
: 最小值為 5。兩次點數都在 的組合數為 。
兩次點數都大於 5 (即都在 ) 的組合數為 。
所以,最小值為 5 的組合數為 種。
。
: 最小值為 6。只有一種組合 (6,6)。
。
驗證機率總和:。
(1) 計算 :
是投擲 次公平硬幣出現的正面次數,所以 服從二項分佈 。
。在 的條件下,我們投擲 次硬幣,正面次數為 。因此 是投擲 次硬幣恰好出現 次正面的機率,即 。
所以,
。
可以化簡:。
第 2 題10 分
A random experiment is conducted 50 times, each time with the success probability of 0.3. Let denote the number of successes.
(1) Compute the mean and variance of (i.e. and ). (5%)
(2) What is the approximate probability of ? (5%)
登入後即可作答並保存紀錄。
此題考驗對二項分佈的理解,包括其期望值、變異數的計算,以及在試驗次數較多時,利用常態分佈近似二項分佈計算機率。
核心觀念:
- 二項分佈的期望值 。
- 二項分佈的變異數 。
- 當 夠大, 且 時,二項分佈可用常態分佈近似。
- 常態分佈近似二項分佈時,需使用連續性修正 (continuity correction)。
解題步驟:
此隨機實驗為進行 次獨立試驗,每次試驗成功的機率為 。
隨機變數 表示成功的次數,因此 服從二項分佈 ,即 。
(1) 計算 和 :
期望值 (Mean):
。
變異數 (Variance):
。
(2) 計算 的近似機率:
首先,檢查是否適用常態分佈近似。
條件皆滿足,故可用常態分佈近似。
近似的常態分佈為 ,其中 且 。
第 3 題15 分
Process manager wants to know if the improved process has better yield rate (the original process has yield rate of 70%). A random sample of size 400 is taken from the improved process, and the average yield rate is 75%.
(1) Establish the null and alternative hypotheses. (5%)
(2) Can manager claim that the improved process has better yield rate at ? (5%)
(3) What is the power of the test if the improved process has yield rate of 78%? (5%)
登入後即可作答並保存紀錄。
此題考驗對單一樣本比例檢定 (或平均數檢定,這裡視為比例) 的理解,包含建立假設、執行檢定與計算檢定力。雖然題目敘述為 "yield rate",但提供的樣本資訊是平均值 (75%),且原始製程的 "yield rate" (70%) 也是一個比例值。若將 "yield rate" 解讀為成功機率 (比例),則應使用比例檢定。若解讀為平均值,則需使用平均數檢定。根據題目常見的 "yield rate" 語境,通常指成功率,故此處採用比例檢定。若題目意圖為平均數檢定,則需使用 Z 檢定或 t 檢定 (若母體變異數未知)。由於樣本數 400 很大,Z 檢定是合適的。
核心觀念:
- 建立單尾檢定的虛無假設 () 與對立假設 ()。
- 執行 Z 檢定,計算檢定統計量並與臨界值比較,或計算 p-value。
- 計算檢定力 (Power of the test),即當對立假設為真時,正確拒絕虛無假設的機率,即 ,其中 是第二類錯誤的機率。
解題步驟:
原始製程的 yield rate (成功率) 為 。
從改進後的製程中抽取樣本,樣本大小 。
樣本平均 yield rate 。
(1) 建立虛無與對立假設:
管理者想知道改進後的製程是否 "更好",這表示 yield rate 是否顯著高於 70%。因此,這是一個單尾檢定。
虛無假設 (): 改進後製程的 yield rate 不優於原始製程。
對立假設 (): 改進後製程的 yield rate 優於原始製程。
符號表示:
令 為改進後製程的真實 yield rate。
(或 ,在檢定時通常使用等號)
(2) 在 下,管理者是否能聲稱改進製程更好?
這是一個單一比例的 Z 檢定。
檢定統計量為:
其中 是樣本比例, 是虛無假設下的母體比例, 是樣本大小。
代入數值:
。
檢定統計量:
。
顯著水準 。由於是對立假設 進行單尾檢定,我們需要找出 時的 Z 臨界值。
查標準常態分佈表, ,得到 。
比較檢定統計量與臨界值:
。
因為檢定統計量大於臨界值,我們拒絕虛無假設 。
結論:在 的顯著水準下,有足夠的證據支持改進後的製程 yield rate 優於 70%。管理者可以聲稱改進製程更好。
(3) 計算檢定力,若改進後製程的 yield rate 為 78%。
檢定力 (Power) 是指當對立假設為真時,正確拒絕虛無假設的機率。
Power 。
這裡的 是基於真實比例 計算出來的。
在計算檢定力時,我們假設真實的母體比例是 。
首先,計算在 的情況下,假設 為真,但實際上 為真時,樣本統計量 的分佈。
當 為真時 (檢定時使用的 ),拒絕域是 。
第 4 題15 分
Different quality techniques are used in two identical processes. Quality engineer wants to examine if the proportion defective is different for different techniques. Two random samples of size 200 are taken from the two processes, in which one sample has 15 defectives and the other has 10.
(1) Establish the null and alternative hypotheses. (5%)
(2) Compute the test statistic for the hypothesis testing in (1). (5%)
(3) What conclusion could quality engineer make at ? (5%)
登入後即可作答並保存紀錄。
此題考驗對兩獨立樣本比例檢定 (Two-sample proportion test) 的理解,包含建立假設、計算檢定統計量並解釋結果。
核心觀念:
- 建立虛無假設 () 與對立假設 () 來比較兩個母體比例。
- 計算樣本比例,並在虛無假設成立的條件下,合併樣本比例以估計共同的母體比例。
- 計算 Z 檢定統計量。
- 根據檢定統計量和顯著水準,做出結論。
解題步驟:
令 為製程一的真實比例 defective, 為製程二的真實比例 defective。
樣本一:,樣本 defective 數 。樣本比例 。
樣本二:,樣本 defective 數 。樣本比例 。
(1) 建立虛無與對立假設:
品質工程師想檢驗兩種技術下的 defective 比例是否不同。這是一個雙尾檢定。
虛無假設 (): 兩種技術的 defective 比例相同。
對立假設 (): 兩種技術的 defective 比例不同。
符號表示:
(或 )
(或 )
(2) 計算檢定統計量:
檢定統計量為 Z 統計量,公式為:
其中 是虛無假設下的差值,在此為 0。
是合併樣本比例 (pooled proportion),當 假設 時使用。
計算合併樣本比例 :
。
計算標準誤的分母部分:
第 5 題20 分
The following is a partial printout of a multiple regression equation where income tax payments, Y, are regressed on income, number of dependents, self-employment (1 = Yes, 0 = No), and mortgage interest payments.
Predictor
Constant
INCOME
DEPEND
SELFEMP
MORTG
Coef.
-3483
0.4051
-1063.6
-1007.6
-3.846
Stdev.
102.3
0.0361
336.6
944.6
1.507
t-ratio
-34.0
11.22
-3.16
-1.07
-2.55
Source
Regression
Error
Total
DF
15
F
117.58
(1) On what sample size is the regression equation based? (5%)
(2) Which slope is not different from zero at level of significance? (5%)
(3) What is the 95% confidence interval for the slope of SELFEMP? (5%)
(4) Calculate the lower limit of a 95% confidence interval for the average income tax payment for an individual whose income is s_{\hat{y}} = 642.$) (5%)
登入後即可作答並保存紀錄。
核心觀念
本題考查多元線性迴歸報表解讀,包含殘差自由度與樣本數的關係、個別迴歸係數的 檢定、迴歸係數信賴區間,以及平均預測值()的信賴區間。
解題方法
迴歸模型為:
-
(1) 樣本數 :
由報表知自變數個數 (INCOME、DEPEND、SELFEMP、MORTG),殘差自由度 ,故:
-
(2) 下不顯著異於零的斜率:
雙尾檢定自由度為 ,查 分配表得臨界值 。檢視各自變數的 :- INCOME:(顯著)
- DEPEND:(顯著)
- SELFEMP:(不顯著)
- MORTG:(顯著)
因此 SELFEMP 的斜率在 水準下不顯著異於零。
-
(3) SELFEMP 斜率的 95% 信賴區間:
下限:
上限:
故 95% 信賴區間為 。 -
(4) 平均所得稅支出的 95% 信賴區間下限:
代入 、、
第 6 題20 分
The temperature in Chicago has been recorded for the past seven days. You are given the information below.
| Day | Temperature (°F) |
|---|---|
| 1 | 82 |
| 2 | 80 |
| 3 | 84 |
| 4 | 83 |
| 5 | 80 |
| 6 | 79 |
| 7 | 82 |
(1) Produce exponential smoothing forecasts for the series using a smoothing constant of 0.2. (5%)
(2) Compute the mean squared error for the forecasts produced with a smoothing constant of 0.2. (5%)
(3) What is the forecasted temperature for day 8? (5%)
(4) Is a smoothing constant of 0.2 or 0.3 better for the temperature data? Explain. (5%)
登入後即可作答並保存紀錄。
核心觀念
本題考查簡單指數平滑法(Simple Exponential Smoothing)與均方誤差(MSE)。遞迴公式為:
通常取起始值 ,並以 至 共 筆真實預測誤差計算 。
解題方法
-
(1) 的指數平滑預測值(設 ):
-
(2) 的平均平方誤差(MSE)(以 計算):
-
(3) 第 8 天的預測溫度:
利用第 7 天的實際值與預測值更新(即 ,或若依題意取最新平滑水準):- 依標準一次指數平滑遞迴:。
(註:若將表列 視為該期「水準估計值」 而直接以 預測,則為 。)
- 依標準一次指數平滑遞迴:。
-
(4) 比較 與 :
對 (設 ):
第 7 題10 分
Two hundred fifty managers with degrees in business administration indicated their fields of concentration as shown below.
| Major | Top Management | Middle Management | TOTAL |
|---|---|---|---|
| Management | 65 | 60 | 125 |
| Marketing | 30 | 20 | 50 |
| Accounting | 25 | 50 | 75 |
| TOTAL | 120 | 130 | 250 |
At , test to determine if the position in management is independent of the major of concentration.
登入後即可作答並保存紀錄。
核心觀念
本題考查卡方獨立性檢定(Chi-Square Test of Independence)。
- 期望次數:
- 檢定統計量:,自由度 。
解題方法
- 建立假設:
- :管理職位與主修領域互相獨立。
- :管理職位與主修領域不獨立(有關聯)。
- 計算期望次數 ():
- ,
- ,
- ,
- 計算卡方檢定統計量: