109 年 國立政治大學企業管理學系碩士班《統計學》
第 1 題15 分
- (15%) Phone calls arrive at the rate of 48 per hour at the reservation desk for an airways company.
(1) Compute the probability of receiving three calls in a 10-minute interval of time. (7%)
(2) Suppose no calls are currently on hold. If the agent takes 5 minutes to complete the current call, how many callers do you expect to be waiting by the time? What is the probability that none will be waiting? (8%)
登入後即可作答並保存紀錄。
此題主要考驗對 Poisson 分布的理解與應用。
(1) 計算 10 分鐘內接獲三通電話的機率。
此問題可視為一個 Poisson process。電話的抵達率為每小時 48 通。
首先,我們需要將抵達率轉換為每分鐘的抵達率:
接著,我們需要計算 10 分鐘內的平均電話抵達數:
Poisson 分布的機率質量函數為:
其中 是在給定時間內發生的事件次數, 是我們感興趣的事件次數, 是平均事件發生次數。
我們要求的是在 10 分鐘內接獲三通電話的機率,即 :
計算數值:
第 2 題15 分
- (15%) Suppose that for one email account, 1 in every 10 messages is spam. The proportions of spam messages that have the five most common words in spam email are given below, together with those of ham messages (email not considered to be spam).
| spam | ham | |
|---|---|---|
| shipping! | 0.051 | 0.015 |
| today! | 0.045 | 0.022 |
| here! | 0.034 | 0.022 |
| available! | 0.014 | 0.041 |
| fingertip! | 0.014 | 0.011 |
(1) If a message includes the word available!, what is the probability the message is spam? (7%)
(2) If a message includes the word shipping!, what is the probability the message is ham? (8%)
登入後即可作答並保存紀錄。
此題考驗貝氏定理(Bayes' Theorem)的應用,特別是在垃圾郵件過濾的場景。
我們已知以下資訊:
-
總郵件中,1/10 是垃圾郵件 (spam),9/10 是正常郵件 (ham)。
-
針對五個常見詞彙,在垃圾郵件和正常郵件中出現的條件機率(比例):
| | | |
| :---- | :------------------------ | :------------------------ |
| available! | 0.014 | 0.041 |
| shipping! | 0.051 | 0.015 |
(1) 如果一封郵件包含 "available!",這封郵件是垃圾郵件的機率為何?
我們要計算 。根據貝氏定理:
首先,我們需要計算 ,即一封郵件包含 "available!" 的總體機率。這可以通過全機率公式計算:
第 3 題35 分
- (35%) 自2019年六都的購屋貸款人資料中隨機分別抽取100人,下表為其年收入(X,單位:萬) 分布:
| 年收入 | 台北市 | 新北市 | 桃園市 | 台中市 | 台南市 | 高雄市 |
|---|---|---|---|---|---|---|
| 24 | 35 | 39 | 37 | 41 | 38 | |
| 10 | 15 | 18 | 16 | 17 | 18 | |
| 12 | 15 | 15 | 14 | 15 | 16 | |
| 54 | 35 | 35 | 28 | 27 | 28 |
(1) 估計桃園市購屋貸款人年收入之平均數與變異數。(10%)
(2) 檢定台北市購屋貸款人之年收入大於100萬者的比例是否大於其他五都的比例(其他五都合併考 慮)? (10%)
備註
一、作答於試題上者,不予計分。
二、試題請隨卷繳交。
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 組距資料的平均數與變異數估計。
- 以各組組中點代表該組觀測值。
- 兩母體比例差的假設檢定。
- 合併樣本比例(pooled proportion)與標準常態檢定統計量。
(1)估計桃園市年收入的平均數與變異數
① 求各組組中點
以各收入區間的中點作為該組代表值:
| 年收入區間 | 組中點 | 次數 |
|---|---|---|
總樣本數為
但題目文字說明每一市分別抽取 人,而桃園市表中次數合計為
因此表格資料與「抽取100人」不一致。以下依表中桃園市各組次數直接計算,故取 。
② 平均數
組距資料的平均數估計為
代入資料:
因此桃園市購屋貸款人年收入平均數估計為
③ 變異數
先計算平方和:
樣本變異數估計為
由於
所以
因此桃園市購屋貸款人年收入變異數估計為
相對應的標準差約為
(2)檢定台北市年收入大於100萬元者的比例是否高於其他五都
① 設定母體比例
令:
- :台北市購屋貸款人年收入大於100萬元的比例;
- :其他五都合併後,購屋貸款人年收入大於100萬元的比例。
假設為
第 4 題35 分
- (35%) The data below are randomly taken from 30 suburb commercial properties by a real estate company in order to provide clients with quantitative information upon which to make rental decision. Shown here are the age (), operating expenses and taxes (), vacancy rate (), total square footage (), and rental rates ().
| 13.500 | 1 | 5.02 | 0.14 | 123000 | 17.000 | 1 | 12.01 | 0.00 | 299000 |
| 12.000 | 14 | 8.19 | 0.27 | 104079 | 16.000 | 1 | 7.99 | 0.14 | 189258 |
| 10.500 | 16 | 3.00 | 0.00 | 39998 | 14.625 | 12 | 10.33 | 0.12 | 366013 |
| 15.000 | 4 | 10.70 | 0.05 | 57112 | 14.500 | 16 | 10.67 | 0.00 | 349930 |
| 14.000 | 11 | 8.97 | 0.07 | 60000 | 14.500 | 3 | 9.45 | 0.03 | 85335 |
| 10.500 | 15 | 9.45 | 0.24 | 101385 | 16.500 | 6 | 12.65 | 0.13 | 235932 |
| 14.000 | 2 | 8.00 | 0.19 | 31300 | 16.500 | 3 | 12.08 | 0.00 | 130000 |
| 16.500 | 1 | 6.62 | 0.60 | 248172 | 15.000 | 3 | 10.52 | 0.05 | 40500 |
| 17.500 | 1 | 6.20 | 0.00 | 215000 | 15.000 | 3 | 9.47 | 0.00 | 40500 |
| 16.500 | 8 | 11.78 | 0.03 | 251015 | 13.000 | 14 | 11.62 | 0.00 | 45959 |
| 17.000 | 12 | 14.62 | 0.08 | 291264 | 12.500 | 1 | 5.00 | 0.33 | 120000 |
| 16.500 | 2 | 11.55 | 0.03 | 207549 | 14.000 | 15 | 9.89 | 0.05 | 81243 |
| 16.000 | 2 | 9.63 | 0.00 | 82000 | 13.750 | 16 | 11.13 | 0.06 | 153947 |
| 16.500 | 13 | 12.99 | 0.04 | 359665 | 14.000 | 2 | 7.96 | 0.22 | 97321 |
| 17.225 | 2 | 12.01 | 0.03 | 265500 | 15.000 | 16 | 10.73 | 0.09 | 276099 |
The following table shows the estimation output.
| Estimate | Standard error | |
|---|---|---|
| Constant | 12.4509 | 0.7668 |
| -0.1996 | 0.0281 | |
| 0.2772 | 0.0784 | |
| -2.3196 | 1.4302 | |
| 0.0083 | 0.0018 |
(1) Construct the 99% confidence interval for the population mean of rental rates. (8%)
(2) Examine which variables could be omitted from the regression model. (8%)
(3) Construct the ANOVA table for the regression analysis. (8%)
(4) What will the estimates and change if you divide by 10000? (6%)
(5) Please give two suggestions to enrich the further analysis for these data, based on the above information/estimation provided and you obtained. (5%)
登入後即可作答並保存紀錄。
核心觀念
本題綜合考查多元線性迴歸分析:
- 單一母體平均數的 信賴區間。
- 迴歸係數的個別顯著性檢定。
- ANOVA 變異分解與整體迴歸顯著性檢定。
- 解釋變數尺度變換對迴歸估計值的影響。
- 迴歸模型的診斷與延伸分析。
迴歸模型為
樣本數為 ,解釋變數個數為 ,因此迴歸誤差自由度為
(1)99% 信賴區間
解題方法
題目要求的是「母體平均租金率」,因此以 30 筆租金率 視為隨機樣本,使用單一母體平均數的 信賴區間:
由資料計算:
所以樣本平均數為
進一步計算得
因此樣本變異數與樣本標準差為
平均數的標準誤為
99% 信賴區間的臨界值為
因此誤差範圍為
故信賴區間為
即
解題技巧
99% 信賴區間使用 分配,而不是標準常態分配,因為母體變異數未知且樣本數只有 30。若誤用 ,區間會偏窄。
(2)判斷哪些變數可以刪除
核心觀念
對每一個迴歸係數進行個別 檢定:
檢定統計量為
自由度為 。
在顯著水準 下,
個別檢定
| 變數 | 估計值 | 標準誤 | 值 | 判斷 |
|---|---|---|---|---|
| 顯著 | ||||
| 顯著 | ||||
| 不顯著 | ||||
| 顯著 |
因為
所以無法拒絕 。在 5% 顯著水準下,(vacancy rate,空置率)可考慮自模型中刪除。
其餘變數的 值均大於臨界值,應保留在模型中。
結論
刪除 後,應重新估計迴歸模型,因為其他係數、標準誤與 都可能改變。
解題技巧
判斷變數能否刪除,不能只看係數大小,必須看
的絕對值。 的係數雖然為 ,但標準誤相對較大,因此統計上不顯著。
(3)ANOVA 表
核心觀念
總平方和可分解為
其中:
- :總平方和;
- :迴歸平方和;
- :誤差平方和。
且
由原始 資料:
已知
因此
誤差平方和為
自由度
迴歸自由度:
誤差自由度:
總自由度:
均方與 統計量
迴歸均方:
誤差均方: