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)所需的額外測量次數
最大誤差須小於平均數的 ,因此允許誤差為:
在樣本數規劃中,以目前的樣本標準差 作為母體標準差 的估計值,並採用 95% 信賴水準的常態臨界值:
樣本數公式為:
代入數值:
第 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 天」,檢定是否有顯著證據反駁其宣稱:(此處為顯著水準 之左尾檢定)
-
步驟二:計算檢定統計量
已知樣本數 、樣本平均數 、母體標準差 ,在 的條件下: -
步驟三:判定拒絕域與決策
- 在顯著水準 下,左尾檢定的臨界值為 。
- 拒絕域為 。
- 由於 ,檢定統計量未落在拒絕域內()。
- 結論:不拒絕 。樣本資料沒有顯著證據反駁製造商的宣稱,因此支持(接受)製造商的宣稱是真實的。
(2) 計算檢定力(Power, 當 )
-
步驟一:求臨界值對應的樣本平均數臨界點()
由第 (1) 小題的檢定規則,當 時拒絕 :即檢定拒絕 的決策條件為 。
-
步驟二:計算特定真值下的檢定力
題目假設真實平均壽命為 天。
檢定力定義為在真實值為 時,落在拒絕域的機率:
第 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.
登入後即可作答並保存紀錄。
核心觀念:卡方獨立性檢定(Chi-Square Test of Independence)與 -value 檢定法。
解題方法:
-
建立假設檢定:
- :投票意向與性別互相獨立(Independent)。
- :投票意向與性別不獨立(Not independent)。
-
計算各細格的預期次數():
已知總樣本數 :- 女性(Female,列和 ):
- Favor:
- Undecided:
- Oppose:
- 男性(Male,列和 ):
- Favor:
- Undecided:
- Oppose:
- 女性(Female,列和 ):
-
計算卡方檢定統計量:
逐格計算:
- 女性 Favor:
- 女性 Undecided:
- 女性 Oppose:
- 男性 Favor:
- 男性 Undecided:
第 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).
登入後即可作答並保存紀錄。
核心觀念
簡單線性迴歸:以 GPA()預測工作表現分數(),用最小平方法求係數,再以 、 檢定與 檢定評估。
基本統計量()
(1) 迴歸式
(2) 決定係數
GPA 可解釋工作表現約 83.0% 的變異(相關係數 ),迴歸關係很強。
(3) 斜率的 檢定
,,自由度 。
第 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% |
將相同季度的比率取算術平均,得到未調整季節指數 。例如,第 1 季為:
四季未調整季節指數的總和為:
為使四季指數總和等於 ,正規化公式為:
共同調整係數為:
因此:
| 季度 | 未調整季節指數 | 正規化季節指數 | 百分比表示 |
|---|---|---|---|
| 第 1 季 | 0.936685 | 0.946925 | 94.6925% |
| 第 2 季 | 0.970068 | 0.980673 | 98.0673% |
第 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$ -
Year 9, Quarter 2:
實際銷售額 = 210 (210 / 1.0024 \approx 209.49$