113 年 國立政治大學金融學系碩士班金融管理組《統計學A》
第 1 題30 分
- (30%) A nationalwise sample survey shows that 40% of adults are committed to eating nutritious food when eating away from home. You decide to conduct a sample survey in your own area. You contact a simple random sample of 10 households by telephone.
(1) Five of the 10 respondents say they are concerned about nutrition. Is this reason to believe that the percent in your area is higher than the national 40%? (10%)
If you plan to contact a simple random sample of 600 households by telephone rather than just 10. Assume that the population proportion of adults concerned about nutritious food, , is true.
(2) What is the probability that lies between 220 and 230? (10%)
(3) What is the probability that 45% or more of respondents say they are concerned about nutrition? (10%)
登入後即可作答並保存紀錄。
本題主要在考驗樣本比例的假設檢定、常態近似二項分配,以及利用中央極限定理處理大樣本問題。
(1) 關於樣本比例的假設檢定
此小題欲判斷樣本比例是否能支持該地區關心營養的比例高於全國平均的 40%。
- 核心觀念: 單一比例的假設檢定。
- 檢定步驟:
- 設定虛無假設 () 與對立假設 ():
- : 該地區關心營養的比例 (即不比全國高)
- : 該地區關心營養的比例 (即比全國高)
- 計算樣本比例:
樣本數 ,其中 5 位表示關心營養。
樣本比例 。 - 計算檢定統計量:
由於樣本數 較小,且我們無法確定 和 是否足夠大(在此 ),故此處應使用二項分配進行精確檢定 (Exact test)。然而,若題目預期我們使用近似方法,則需注意其限制。在此,我們假設題目可能期望使用近似方法,但實際上對小樣本,精確檢定更為合適。
若使用近似方法(z-test),則檢定統計量為:
- 決定檢定區域與 p-value (使用近似方法):
此為右尾檢定。若使用顯著水準 ,則臨界值 。
計算 p-value:。由標準常態分配表可知,此值遠大於 0.05。 - 決策:
由於檢定統計量 (或 p-value > 0.05),我們無法拒絕虛無假設。 - 結論:
沒有足夠的證據顯示該地區關心營養的比例高於全國的 40%。
注意: 對於 的小樣本,使用二項分配進行精確檢定會是更嚴謹的做法。其 p-value 為 ,此計算結果會與近似值不同。若無指定顯著水準,則無法做決策,但題目問「Is this reason to believe」,暗示我們需要判斷證據強度。
- 設定虛無假設 () 與對立假設 ():
(2) 計算 X 介於 220 與 230 的機率
當樣本數變大(),且假設母體比例 為真時,我們可以用中央極限定理將二項分配近似為常態分配。
- 核心觀念: 中央極限定理,二項分配的常態近似。
- 參數設定:
- 二項分配 。
- 近似的常態分配參數:
第 2 題30 分
- (30%) The average cost per square foot for the office rental space in the central business district is NTD2358 according to a survey. A large real estate company wants to confirm this figure. The rent of per square foot paid by 100 offices in the central business district were investigated by the company. Suppose the sample average is NTD2288 per square foot, with a standard deviation of NTD511.
(1) Conduct a hypothesis test using 0.05 significance level to determine whether the cost per square foot reported by the survey should be rejected. (8%)
(2) If the decision in part (1) is to fail to reject and if the actual average cost per square foot is NTD2230, what is the probability of committing a Type II error? (12%)
(3) The probability of committing a Type II error is set at 0.1 in part (2). How large a sample is necessary to meet requirements? (10%)
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 單一母體平均數的雙尾假設檢定。
- 母體標準差未知時,使用單一樣本 檢定。
- 第二類錯誤(Type II error)的計算。
- 在指定顯著水準 與第二類錯誤機率 下,反推所需樣本數。
設母體平均租金為 ,題目給定:
解題方法
(1)在 顯著水準下檢定調查結果是否應被拒絕
題目要確認調查報告的平均租金 是否合理,因此採雙尾檢定:
因為母體標準差未知,使用單一樣本 統計量:
代入資料:
自由度為:
雙尾檢定且 ,臨界值為:
拒絕域為:
由於:
因此統計量未落入拒絕域,故:
也就是在 顯著水準下,沒有足夠證據認為實際平均租金不同於 NTD2358,調查報告的數值不應被拒絕。
以 值表示:
因為 ,結論相同。
(2)若實際平均租金為 NTD2230,犯第二類錯誤的機率
第二類錯誤是:
實際平均租金確實不是 NTD2358,但檢定結果卻未拒絕 。
本題假設實際平均數為:
由於樣本數 很大,第二類錯誤機率以常態近似計算。以題目給定的樣本標準差 作為母體標準差估計值,因此:
在雙尾檢定下,採用常態臨界值 ,不拒絕域為:
代入數值:
因此:
當實際平均數為 時:
所以第二類錯誤機率為:
標準化:
第 3 題28 分
- (28%) A company wants to understand the impact of employee job satisfaction (score, , the higher the score, the higher the satisfaction) and their working experience (years, ), salary (NTDX_2X_3X_1X_2X_3$ | -5.95 | 3.30
SST=722.5,
Here SST is the total sum of squares and is the estimate of the standard deviation of the regression error.
(1) With a significance level of 0.05, test the significance of each regression coefficient in details and clearly. , test statistic, etc. (12%)
(2) Calculate the adjusted coefficient of determination. (8%)
(3) Give the definition of the mean squared error (MSE), describe its meaning, and calculate MSE value. (8%)
登入後即可作答並保存紀錄。
本題主要考驗複迴歸分析的假設檢定、判定係數的調整,以及均方誤差 (MSE) 的概念與計算。
題目資訊整理:
- 樣本數:
- 迴歸模型:
- 估計結果:
- ,
- ,
- ,
- ,
- 總變異數 (SST):
- 殘差標準差 (估計值):
注意: 是殘差標準差的估計值,即 。
(1) 檢定各迴歸係數的顯著性
-
核心觀念: 複迴歸中,對個別迴歸係數進行 t 檢定,判斷其是否顯著異於零。
-
檢定步驟 (對每個係數):
- 設定假設:
- 虛無假設 (): (該自變數對應的迴歸係數不顯著)
- 對立假設 (): (該自變數對應的迴歸係數顯著)
- 計算檢定統計量:
使用 t 統計量: - 決定臨界值與自由度:
顯著水準 (雙尾檢定)。
自由度 (degree of freedom, df) = ,其中 是樣本數, 是自變數的個數。
在此,, (X1, X2, X3)。
所以,。
臨界值為 。查 t 分配表可知,。 - 決策:
若 ,則拒絕 。
- 設定假設:
-
對各迴歸係數進行檢定:
-
Intercept ():
- 。
- 決策: 無法拒絕 。
- 結論: Intercept 在 0.05 顯著水準下不顯著。
-
(Working Experience):
- 。
- 決策: 拒絕 。
- 結論: 在 0.05 顯著水準下顯著。這表示工作經驗對員工滿意度有顯著影響(每增加一年的工作經驗,預期滿意度增加 8.60 分)。
-
(Salary):
- 。
- 決策: 無法拒絕 。
-
第 4 題12 分
- (12%) A safety director samples at random from the file of minor accidents and classified them according to the time the accident took place
Time | Number of Accidents
---|---
8 up to 9 A.M. | 6
9 up to 10 A.M. | 8
10 up to 11 A.M. | 18
11 up to 12 P.M. | 9
Time | Number of Accidents
---|---
1 up to 2 P.M. | 5
2 up to 3 P.M. | 13
3 up to 4 P.M. | 17
4 up to 5 P.M. | 9
At the 0.02 significance level, can we conclude whether the accidents are evenly distributed throughout the day?
🖼️【此處有附圖,請對照原卷】
Table of the Chi-square Distribution
登入後即可作答並保存紀錄。
本題主要考驗卡方分配的適合度檢定 (Goodness-of-Fit Test),用於檢測觀察到的數據分佈是否與理論上預期的均勻分佈一致。
題目資訊整理:
- 總事故數:
- 觀察到的類別數: (共 8 個時間區間)
- 顯著水準:
- 假設:事故均勻分佈於一天中。
(1) 進行適合度檢定
- 核心觀念: 卡方適合度檢定。
- 檢定步驟:
-
設定假設:
- 虛無假設 (): 事故在一天中的分佈是均勻的。
- 對立假設 (): 事故在一天中的分佈不是均勻的。
-
計算預期次數 ():
如果事故均勻分佈,則每個時間區間的預期事故數應相等。
總事故數 。
類別數 。
預期次數 。
(確保每個 都足夠大,通常要求 。此處 ,故可以使用卡方檢定。) -
計算卡方檢定統計量 ():
其中 是觀察到的次數。Time Interval Observed () Expected () 8-9 AM 6 10.625 -4.625 21.390625 2.0132 9-10 AM 8 10.625 -2.625 6.890625 0.6485
-