108 年 國立中正大學企業管理學系碩士班丙組《統計學》
第 1 題10 分
[1]. (10%) The probability function of random variable X is given by , .
(1) What is the value of ? (5%)
(2) What is the expected value of ? (5%)
登入後即可作答並保存紀錄。
此題考驗連續型隨機變數的機率密度函數性質與期望值計算。
(1) 求 的值
根據機率密度函數的性質,其在定義域上的積分值必須等於 1。
在本題中,定義域為 ,所以:
令 ,則 。當 時,;當 時,。
【答案】
(2) 求 的值
期望值的定義為:
將 代入:
第 2 題10 分
[2] (10%) Let discrete random variable Y be the result of tossing a fair dice (i.e. for ), and continuous random variable X is uniformly distributed as .
(1) What is the probability of ? (5%)
(2) What is the expected value of ? (5%)
登入後即可作答並保存紀錄。
此題考驗條件機率、全機率法則以及聯合機率分佈的期望值計算。
(1) 求
此問題需要使用全機率法則,因為 的分佈取決於 的值。 是一個離散隨機變數,其值為 1 到 6。 是一個連續隨機變數,其分佈為 。
由於 對於 ,我們計算每個條件機率 。
若 ,則 。其機率密度函數為 ,對於 ,否則為 0。
- 當 : 。 (因為 必定小於或等於 1,所以小於等於 3 的機率為 1)。
- 當 : 。 (因為 必定小於或等於 2,所以小於等於 3 的機率為 1)。
- 當 : 。 (因為 必定小於或等於 3,所以小於等於 3 的機率為 1)。
- 當 : 。。
- 當 : 。。
- 當 : 。
第 3 題10 分
[3]. (10%) A process manager wants to establish standard time of a given job. The job time has been measured (in minutes) for 20 times with mean and standard deviation .
(1) For , construct the confidence interval for the job time? (5%)
(2) How many additional measurements should be made if the process manager wants the maximal error is less than 5% of the mean with 95% confidence level? (5%)
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 母體平均數 的信賴區間。
- 母體標準差未知時,使用樣本標準差 ,以 分配建立信賴區間。
- 依照允許誤差反推所需樣本數。
已知:
(1)建立工作時間的 95% 信賴區間
因為母體標準差 未知,且樣本數為 ,應使用 分配:
其中:
查表得:
標準誤為:
因此誤差界限為:
故母體平均工作時間 的 95% 信賴區間為:
即:
因此,可說在 95% 信賴水準下,該工作的平均時間約介於 分鐘至 分鐘之間。
(2)所需的額外測量次數
最大誤差須小於平均數的 ,因此允許誤差為:
第 4 題10 分
[4]. (10%) In a medicine experiment, the developer claims that the side effect is indifferent between male and female. Experimental data show that 12 out of 1,000 males and 15 out of 1,200 females have side effect.
(1) Construct the proper hypotheses test and . (5%)
(2) For , should the developer's claim be rejected based on the given data? (5%)
登入後即可作答並保存紀錄。
此題考驗兩個比例的假設檢定。
基本資訊:
男性樣本數 ,有副作用者 。
女性樣本數 ,有副作用者 。
顯著水準 。
(1) 建立假設檢定 和
開發者聲稱副作用在男性和女性之間是無差異的,這意味著男性有副作用的比例 等於女性有副作用的比例 。
虛無假設 代表「無差異」或「無效果」。
對立假設 代表我們要檢定的情況,通常是與 相反。
: (男性與女性有副作用的比例相同)
: (男性與女性有副作用的比例不同)
這是一個雙尾檢定。
【答案】
(2) 在 下,是否應拒絕開發者的主張?
我們計算樣本比例:
男性樣本比例
女性樣本比例
在虛無假設 為真時,我們使用合併比例 (pooled proportion) 來計算標準誤。
第 5 題10 分
[5]. (10%) A rechargeable battery producer claims that its battery life is at least 1,000 days. A sample of 400 batteries is tested with mean life of 1,020 days. Assume .
(1) For , conduct the hypothesis test to determine whether the producer's claim is true based on the given data? (5%)
(2) Assume the true battery life is 1,030 days, what is the power of the hypothesis test? (5%)
登入後即可作答並保存紀錄。
核心觀念
- 單一母體平均數的單尾假設檢定(母體標準差 已知):
- 當母體標準差 已知,且樣本數足夠大(,由中央極限定理),樣本平均數 的抽樣分佈近似常態分佈。
- 檢定統計量使用 檢定:
- 假設施測邏輯:製造商宣稱電池壽命「至少」1,000 天()。在統計檢定架構中,若要檢驗此宣稱是否屬實(亦即檢驗是否有足夠證據「推翻」該宣稱),虛無假設為宣稱內容 ,對立假設為挑戰該宣稱的 (左尾檢定)。
- 檢定力(Statistical Power, ):
- 型 II 錯誤機率 為「當對立假設成立(此處給定特定母體真值 )時,卻未拒絕 的機率」,即 。
- 檢定力定義為「當真實母體參數為特定數值 時,正確拒絕錯誤虛無假設的機率」:
解題方法與步驟
(1) 假設檢定()
-
步驟一:建立假設
製造商宣稱「電池壽命至少 1,000 天」,檢定是否有顯著證據反駁其宣稱:(此處為顯著水準 之左尾檢定)
-
步驟二:計算檢定統計量
已知樣本數 、樣本平均數 、母體標準差 ,在 的條件下: -
步驟三:判定拒絕域與決策
- 在顯著水準 下,左尾檢定的臨界值為 。
- 拒絕域為 。
- 由於 ,檢定統計量未落在拒絕域內()。
- 結論:不拒絕 。
第 6 題13 分
[6]. (13%) A group of 500 individuals were asked to cast their votes regarding a particular issue of the Equal Rights Amendment. The following table shows the results of the votes:
Sex
Favor
Undecided
Oppose
TOTAL
Female
180
80
40
300
Male
150
20
30
200
TOTAL
330
100
70
500
At using the p-value approach, test to determine if the votes cast were independent of the sex of the individuals.
登入後即可作答並保存紀錄。
此題考驗兩個分類變數之間的獨立性檢定,使用卡方檢定。
基本資訊:
總樣本數
觀察到的次數表格:
| Sex | Favor | Undecided | Oppose | TOTAL |
|---|---|---|---|---|
| Female | 180 | 80 | 40 | 300 |
| Male | 150 | 20 | 30 | 200 |
| TOTAL | 330 | 100 | 70 | 500 |
顯著水準 。
我們使用 p-value approach 來進行檢定。
1. 建立假設檢定:
虛無假設 : 性別與投票意向是獨立的。
對立假設 : 性別與投票意向不是獨立的 (即存在關聯性)。
2. 計算預期次數 (Expected Frequencies):
如果 為真,則性別與投票意向是獨立的。預期次數 的計算公式為:
其中 代表性別 (Female, Male), 代表投票意向 (Favor, Undecided, Oppose)。
- 預期 Female, Favor:
- 預期 Female, Undecided:
- 預期 Female, Oppose:
- 預期 Male, Favor:
- 預期 Male, Undecided:
- 預期 Male, Oppose:
預期次數表格:
| Sex | Favor | Undecided | Oppose | TOTAL |
|---|---|---|---|---|
| Female | 198 | 60 | 42 | 300 |
| Male | 132 | 40 | 28 | 200 |
第 7 題16 分
[7]. (16%) The following data show the results of the first job performance measured (in scores) of 10 employees and their grade point average.
First Job Performance
Score (y)
GPA (x)
26
1.8
31
2.3
28
2.6
30
2.4
34
2.8
38
3.0
41
3.4
44
3.2
40
3.6
43
3.8
(1) (4%) Develop a least squares estimated regression equation.
(2) (4%) Compute the coefficient of determination and comment on the strength of the regression relationship.
(3) (4%) Is the slope significant? Use a t test and let .
(4) (4%) At the 5% level of significance, test to determine if the model is significant (i.e., perform an F test).
登入後即可作答並保存紀錄。
此題考驗簡單線性迴歸分析,包括迴歸方程式的建立、決定係數計算、斜率的顯著性檢定以及模型的整體顯著性檢定。
基本資訊:
樣本數
數據點 :
(1.8, 26), (2.3, 31), (2.6, 28), (2.4, 30), (2.8, 34), (3.0, 38), (3.4, 41), (3.2, 44), (3.6, 40), (3.8, 43)
我們將 GPA () 作為自變數,工作表現分數 () 作為應變數。
迴歸方程式形式為:
計算所需統計量:
平均數:
(1) 建立最小平方估計迴歸方程式
斜率 的計算公式:
截距 的計算公式:
因此,最小平方估計迴歸方程式為:
(這裡 是工作表現分數, 是 GPA)
【答案】 (四捨五入到小數點後第四位)
(2) 計算決定係數並評論迴歸關係的強度
決定係數 的計算需要先計算總平方和 (SST) 和迴歸平方和 (SSR)。
首先計算 SSE (殘差平方和)。
(或者 SSE 可以用 計算,或通過 計算)
決定係數
或者
評論迴歸關係的強度:
表示自變數 (GPA) 能解釋應變數 (工作表現分數) 變異的約 38.44%。
這是一個中等偏弱的迴歸關係。雖然存在正向關係,但 GPA 並不能完全解釋工作表現分數的變異,還有其他因素影響工作表現。
【答案】。迴歸關係的強度為中等偏弱。
第 8 題21 分
[8]. (21%) The following data show the quarterly sales of a major auto manufacturer for the years 8 through 10.
| Year | Quarter | Sales ($1000s) |
|---|---|---|
| 8 | 1 | 160 |
| 2 | 180 | |
| 3 | 190 | |
| 4 | 170 | |
| 9 | 1 | 200 |
| 2 | 210 | |
| 3 | 260 | |
| 4 | 230 | |
| 10 | 1 | 210 |
| 2 | 240 | |
| 3 | 290 | |
| 4 | 260 | |
| (1) (7%) Compute the four-quarter centered moving average values for the above time series. | ||
| (2) (7%) Compute the seasonal indexes for the four quarters. | ||
| (3) (7%) Use the seasonal indexes developed in Part b to remove the effect of season from the sales for year 9. |
登入後即可作答並保存紀錄。
核心觀念
本題考查時間數列的四季中心移動平均、季節指數及去季節化,採用乘法分解模型:
其中 為實際銷售額, 為趨勢循環成分, 為季節成分, 為不規則成分。
四季移動平均涵蓋一整年的季節循環,可用來平滑季節波動。但四季是偶數,平均值的位置落在兩季之間,因此須將相鄰兩個四季移動平均再取平均,才能對準實際季度。
接著以「實際銷售額除以中心移動平均」估計季節效果,按季度分組平均,再正規化,使四季季節指數的平均為 ,亦即總和為 。
解題方法
(1)計算四季中心移動平均
依時間順序,令第 8 年第 1 季為 ,第 10 年第 4 季為 。定義四季移動平均:
例如:
九個四季移動平均依序為:
中心移動平均 為:
例如,第 9 年第 3 季對應 ,故:
完整結果如下;銷售額單位均為千美元。
| 年度 | 季度 | 中心化計算 | 四季中心移動平均 |
|---|---|---|---|
| 8 | 3 | 180.00 | |
| 8 | 4 | 188.75 | |
| 9 | 1 | 201.25 | |
| 9 | 2 | 217.50 | |
| 9 | 3 | 226.25 | |
| 9 | 4 | 231.25 | |
| 10 | 1 | 238.75 | |
| 10 | 2 | 246.25 |
第 8 年前兩季及第 10 年後兩季,因兩側資料不足,無法計算四季中心移動平均。
(2)計算四季季節指數
採用移動平均比率法。先計算各期的季節比率:
以百分比表示的結果如下:
| 年度 | 季度 | 實際銷售額 | 中心移動平均 | 季節比率 |
|---|---|---|---|---|
| 8 | 3 | 190 | 180.00 | 105.5556% |
| 8 | 4 | 170 | 188.75 | 90.0662% |
| 9 | 1 | 200 | 201.25 | 99.3789% |
| 9 | 2 | 210 | 217.50 | 96.5517% |
| 9 | 3 | 260 | 226.25 | 114.9171% |
| 9 | 4 | 230 | 231.25 | 99.4595% |
| 10 | 1 | 210 | 238.75 | 87.9581% |
| 10 | 2 | 240 | 246.25 | 97.4619% |
第 8 題21 分
[8]. (21%) The following data show the quarterly sales of a major auto manufacturer for the years 8 through 10.
| Year | Quarter | Sales ($1000s) |
|---|---|---|
| 8 | 1 | 160 |
| 2 | 180 | |
| 3 | 190 | |
| 4 | 170 | |
| 9 | 1 | 200 |
| 2 | 210 | |
| 3 | 260 | |
| 4 | 230 | |
| 10 | 1 | 210 |
| 2 | 240 | |
| 3 | 290 | |
| 4 | 260 | |
| (3) (7%) Use the seasonal indexes developed in Part b to remove the effect of season from the sales for year 9. | ||
| Appendix: Distribution Tables | ||
| Table 1: t Distribution Critical Value Table | ||
| Table 3: F Distribution Critical Value Table |
登入後即可作答並保存紀錄。
此題為題組題 8 的第三小題,接續前兩小題的計算。
(3) 使用 Part b 開發的季節指數,移除 Year 9 銷售額的季節影響
要移除季節影響,我們將實際銷售額除以其對應的季節指數。這稱為「去季節化」(deseasonalizing)。
在 Part (2) 中,我們計算了調整後的四季平均季節指數:
Q1: 0.9299
Q2: 1.0024
Q3: 1.1185
Q4: 0.9489
現在,我們將 Year 9 的實際銷售額除以這些季節指數:
- Year 9, Quarter 1:
實際銷售額 = 200 (200 / 0.9299 \approx 215.08