112 年 國立政治大學統計學系碩士班《統計方法》
第 1 題10 分
To understand whether the average monthly salary of recent college graduates reaches 32,000?
---If the month of birth is from September to December, answer: Question B: Is your monthly salary less than 32,000 based on this survey.
登入後即可作答並保存紀錄。
核心觀念
本題考查「隨機回答法(randomized response technique)」與全母體比例的估計。
令
由於出生月份決定受訪者回答哪一道問題:
- 1月至8月:比例為 ,回答「月薪至少為 」。
- 9月至12月:比例為 ,回答「月薪少於 」。
設樣本中回答「是」的比例為 ,則題目給出
解題方法
當月薪至少為 的比例為 時:
1. 1月至8月者
這群人回答:
月薪是否至少為 ?
因此回答「是」的機率為
2. 9月至12月者
這群人回答:
月薪是否少於 ?
月薪少於 的比例為 ,因此回答「是」的機率為
3. 合併兩種情況
樣本回答「是」的總比例為
整理得
第 2 題6 分
The total score of the master's entrance examination is normally distributed with a mean of 200 and a standard deviation of 30. There are 500 examinees recently.
(1) Mary's total score is 185. How many examinees are worse than Mary?
(2) Examinee with top 30% of the total score will be eligible for oral. What is the minimum total score in order to be eligible for oral?
登入後即可作答並保存紀錄。
這題考驗對常態分配的理解,包含計算機率、人數,以及反求分數。
題目給定總分服從平均數 、標準差 的常態分配,總共有 位考生。
(1) Mary's total score is 185. How many examinees are worse than Mary?
首先,我們需要計算 Mary 的分數 185 在常態分配中的標準化分數 (z-score)。
「比 Mary 差」意味著分數低於 185。在常態分配中,這對應著 z-score 小於 -0.5 的區域。
我們需要計算 。
查閱標準常態分配表 (z-table),或者使用統計軟體,可以得到 。
這表示約有 30.85% 的考生分數比 Mary 低。
題目要求的是人數,所以我們將這個比例乘以總考生人數:
人數 =
由於人數必須是整數,我們通常會四捨五入。在這裡,154.25 可以四捨五入為 154 人。
【答案】約 154 人
(2) Examinee with top 30% of the total score will be eligible for oral. What is the minimum total score in order to be eligible for oral?
「前 30%」意味著分數高於 70% 的考生。也就是說,我們需要找到一個分數 ,使得 。
這等同於 。
我們需要找到對應於累積機率 0.70 的 z-score。
查閱標準常態分配表,找到累積機率最接近 0.70 的 z-score。
通常我們取最接近的,或使用插值法。這裡我們取 (更精確的值)。
使用 進行計算:
如果使用更精確的 z-score (約 0.5244):
由於分數通常是整數,且題目沒有特別說明,我們將結果四捨五入。
如果我們要求「前 30%」,那麼分數必須大於或等於某個值。
如果取 或 ,那麼分數大於這個值的機率是 0.30。
如果分數是整數,那麼最小的整數分數應該是 216。
第 3 題4 分
At the reception center in a hotel, the time between calls follow an exponential distribution with a mean of 2 minutes.
(1) Find the probability that after receiving a call, the next call comes in less than 1 minute.
(2) Today George is the only person on duty, and he is going to take a break for 10 minutes. What is the probability that 4 calls will he miss to answer?
(3) George will work 2 hours on next Monday. Find the probability that he will answer 50 to 70 calls approximately.
登入後即可作答並保存紀錄。
這題考驗對指數分配的理解,包含機率計算、泊松分配與指數分配的關係,以及常態近似。
題目給定電話呼叫之間的時間間隔服從指數分配,平均時間為 分鐘。
對於指數分配,其機率密度函數 (PDF) 為 ,累積分布函數 (CDF) 為 ,其中 。
因為平均時間是 2 分鐘,所以 (每分鐘的呼叫率)。
(1) Find the probability that after receiving a call, the next call comes in less than 1 minute.
這是指數分配的無記憶性 (memoryless property) 的直接應用。
對於指數分配,過去的事件(例如剛才收到一個 call)不影響未來的事件。
所以,從任意時間點開始,下一個事件發生所需的時間,服從相同的指數分配。
我們要求的是下一個 call 在 1 分鐘內發生的機率,即 ,其中 是時間間隔。
使用 CDF:
【答案】約 0.3935
(2) Today George is the only person on duty, and he is going to take a break for 10 minutes. What is the probability that 4 calls will he miss to answer?
首先,我們需要知道在 10 分鐘的休息時間內,平均會有多少通電話。
呼叫率 (calls per minute)。
在 10 分鐘內,平均呼叫數為 通。
由於呼叫之間的間隔服從指數分配,這意味著呼叫的發生是一個泊松過程。
在一個固定時間區間內,事件發生的次數服從泊松分配。
所以,在 10 分鐘內收到的電話數 服從參數為 的泊松分配。
George 會錯過 4 通電話,這意味著在 10 分鐘的休息時間內,總共收到了 4 通電話。
我們要求 。
第 4 題6 分
The marketing manager of a department store claimed that customers using store credit cards spent more on average than customers using bank credit cards. Recently, customer service department conducted a survey. Independent samples of credit cards' spending (unit: $100), are summarized below. It is reasonable to assume spending to be normally distributed.
| Bank Card | Store Card | |
|---|---|---|
| sample size | 9 | 16 |
| sample mean | 25 | 34 |
| sample st. dev. | 10 | 5 |
(1) At , test for equality of the two population variances.
(2) At , does the sample results support the manager's claim?
登入後即可作答並保存紀錄。
這題考驗獨立樣本變異數的檢定(F檢定)以及平均數的檢定(t檢定),並需根據題目判斷是否進行池化變異數。
題目給定兩組獨立樣本的數據:
Bank Card: , ,
Store Card: , ,
假設兩組資料來自常態分配,且抽樣是獨立的。
(1) At , test for equality of the two population variances.
我們要檢定總體變異數是否相等。
虛無假設
對立假設 (通常使用雙尾檢定,除非題目有特別指示)
檢定統計量為兩個樣本變異數的比值:
或 。
為了使 F 分配的自由度明確,我們通常將較大的樣本變異數放在分子。
所以,我們使用 。
自由度為:
分子自由度
分母自由度
顯著水準 。由於是雙尾檢定,我們需要找到臨界值 和 。
這裡我們將較大的變異數放分子,所以用 。
我們需要比較 與 和 。
或者,直接將較大的樣本變異數放分子,用單尾檢定來判斷。
如果 ,則 。
檢定統計量 。
自由度為 , 。
顯著水準 。
雙尾檢定的臨界區域是 或 。
這裡 。
查閱 F 分配表, 。
。
由於 。
查閱 F 分配表, 。
所以 。
我們的檢定統計量 。
因為 ,所以 落在了拒絕域。
因此,我們拒絕虛無假設 。
結論:在 的顯著水準下,有足夠的證據顯示兩總體變異數不相等。
也就是說, 和 的差異是顯著的。
【答案】
檢定統計量 。
分子自由度 ,分母自由度 。
在 下,雙尾檢定的臨界值為 和 。
因為 ,所以檢定統計量落在拒絕域。
結論:拒絕 。在 下,兩總體變異數不相等。
(2) At , does the sample results support the manager's claim?
經理的聲稱是:「using store credit cards spent more on average than customers using bank credit cards」。
這意味著:總體平均數 。
所以,我們要檢定的虛無假設和對立假設是:
(或 )
(或 )
這是一個單尾檢定。
在第 (1) 部分,我們已經檢定出兩總體變異數不相等 ( 被拒絕)。
因此,我們應該使用 Welch's t-test (或稱不等變異數 t-檢定),而不使用池化變異數的 t-檢定。
Welch's t-test 的檢定統計量為:
第 5 題5 分
The costs (unit:US$1,000) and numbers of passengers for Boeing 737s of Northland Airline are listed below.
| X (passengers) | 61 | 63 | 67 | 69 | 70 | 74 | 76 | 81 | 86 | 91 | 95 | 97 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Y (cost) | 4.3 | 4.1 | 4.4 | 4.2 | 4.5 | 4.3 | 4.8 | 4.7 | 5.1 | 5.2 | 5.8 | 5.6 |
Notice that , , , , ; and SSE=0.3665.
Answer the questions by rounding to 4 decimal places! (四捨五入至小數點後第4位數!)
(1) Derive the estimated regression function.
(2) An industry comparison suggests the slope to be 0.027. At , test whether Northland has a slope larger than suggested.
(3) A Boeing 737 flight has 75 passengers on board. Develop a 95% interval for its cost.
登入後即可作答並保存紀錄。
這題考驗簡單線性迴歸的相關計算,包含迴歸函數的推導、斜率的假設檢定,以及迴歸預測的信賴區間。
題目給定了 12 個觀測點,其中 X 是乘客數,Y 是成本 (單位:千美元)。
我們有以下統計量:
SSE (Sum of Squared Errors) = 0.3665
(1) Derive the estimated regression function.
簡單線性迴歸模型為 。
估計的迴歸函數為 。
首先計算樣本平均數:
計算迴歸係數 (斜率) 和 (截距)。
四捨五入到小數點後第 4 位:
四捨五入到小數點後第 4 位:
所以,估計的迴歸函數為:
【答案】
(2) An industry comparison suggests the slope to be 0.027. At , test whether Northland has a slope larger than suggested.
我們要檢定北 land 航空的斜率是否大於產業比較建議值 0.027。
虛無假設
對立假設
這是一個單尾檢定。
我們需要計算 的標準誤 (standard error)。
MSE (Mean Squared Error)
四捨五入到小數點後第 4 位:
檢定統計量
其中 是虛無假設下的斜率值。
四捨五入到小數點後第 4 位:
自由度為 。
顯著水準 。
這是單尾檢定,我們需要臨界值 。
查閱 t 分配表, 。
我們的檢定統計量 。
因為 ,所以檢定統計量落在拒絕域。
因此,我們拒絕虛無假設 。
結論:在 的顯著水準下,有足夠的證據顯示 Northland 航空的斜率大於產業建議值 0.027。
【答案】
第 6 題9 分
Three different hardwood concentrations are studied to determine their effect on the strength of the paper produced. The factory could only sustain 3 trials per day, so an experiment was carried out over 4 days.
| Hardwood Concentration | Days | Subtotal |
|---|---|---|
| 1st | 2nd | |
| I | 4 | 10 |
| II | 9 | 12 |
| III | 13 | 17 |
| Subtotal | 26 | 39 |
(1) Based on the following partial ANOVA table, can we conclude there is a difference in the mean strength by concentration at . Write down 、、test statistic、critical value, and conclusion.
| Source | DF | SS |
|---|---|---|
| Concentration | 15.3333 | |
| Day | ||
| Error | 170.2500 | |
| Total |
(2) Develop the 95% confidence interval for difference between mean strength of concentration II and mean strength of concentration III.
(3) The factory decides to rerun the experiment on next month. Do you suggest to ignore the effect of Day? Why or why not?
登入後即可作答並保存紀錄。
核心觀念
本題採用「隨機完全區集設計」(Randomized Complete Block Design, RCBD):
- 處理因子:木材濃度,共 種。
- 區集因子:實驗天數,共 天。
- 每一天均測試三種濃度,因此每個處理在每個區集各出現一次。
- 主要目的:在控制「天數」差異後,檢定不同濃度的平均強度是否相同。
RCBD 的變異分解為
各自由度為
先整理一致的 ANOVA 數值
總平方和:
其中
因此
濃度平方和:
天數平方和:
誤差平方和:
因此,由題目原始資料所得到的正確 ANOVA 表為:
| 變異來源 | DF | SS | MS | |
|---|---|---|---|---|
| 濃度 | ||||
| 天數 | ||||
| 誤差 | ||||
| 總和 | $170.25 |
題目所列的「濃度 、誤差 」與原始資料不一致;這兩個數值實際上分別應是誤差平方和與總平方和。以下依原始資料及一致的 ANOVA 分解作答。
(1) 檢定不同濃度的平均強度是否有差異
假設
令 分別代表三種木材濃度的平均紙張強度。
檢定統計量
濃度的均方為
誤差均方為
因此
臨界值
在顯著水準 $\alpha=0.05