108 年 國立政治大學國際經營與貿易學系碩士班國際經貿法組《統計學》
第 1 題20 分
- (20%) Police plan to enforce speed limits by using radar traps at 4 different locations within the city limits. The radar traps at each of the locations , , , and are operated 40%, 30%, 20%, and 30% of the time, and a person who is speeding on his way to work has probabilities of 0.2, 0.1, 0.5, and 0.2, respectively, of passing through these locations, respectively.
(1) What is the probability that the person will receive a speeding ticket on his way to work? (10%)
(2) If the person received a speeding ticket on his way to work, what is the probability that he passed through the radar trap located at ? (10%)
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 全機率公式
- 貝氏定理
- 條件機率
- 互斥事件的加總
令:
- :該人經過地點
- :該人收到超速罰單
已知:
各雷達執行的時間比例為:
這裡假設雷達是否運作與該人選擇經過哪個地點相互獨立。
解題方法
該人前往上班時,只會經過四個地點中的一個,因此 為互斥且完備事件。
收到罰單的事件 可依照經過的地點分解:
依全機率公式:
(1)收到超速罰單的機率
代入各項資料:
因此,收到超速罰單的機率為:
亦即:
(2)已收到罰單,經過 的機率
要求的是條件機率:
依貝氏定理:
第 2 題15 分
- (15%) A recent survey shows that 30% of potential buyers will purchase an electric powered car.
(1) What is probability that over 160 in a sample of 500 potential buyers indicated that they would buy such a product? (7%)
(2) An automobile manufacturer further states that it will be willing to mass produce these cars if more than 35% of potential buyers indicate they will purchase a newly designed electric car. In a sample of 500 potential buyers, 160 indicated that they would buy such a product. Should the manufacturer produce the new electric powered car at 95% confidence? (8%)
登入後即可作答並保存紀錄。
核心觀念
本題評量二項分配之常態近似(Normal Approximation to Binomial Distribution)與單一母體比例之假設檢定(Hypothesis Testing for a Population Proportion):
- 二項分配之常態近似:
設隨機變數 ,當樣本數 夠大(滿足 且 )時,由中央極限定理(CLT), 可近似為常態分配: 或以樣本比例表示: 若採離散變數連續化修正(Continuity Correction),求 時應轉為 。但在大型樣本(如 )的大多數經管所考試規範中,直接使用標準化(或同時呈現修正前後結果)皆屬標準答題方式。 - 單一母體比例的單尾假設檢定:
欲檢定母體比例是否超過門檻值 (右尾檢定): 檢定統計量為: 在顯著水準 下,若 ,則拒絕虛無假設 。
解題方法
第 (1) 小題:計算
-
參數設定:
- 母體比例
- 樣本數
- 檢查條件:,,符合常態近似條件。
- 平均數
- 標準差
- 樣本比例視角:,
-
方法一:未加連續性修正(Standard Normal Approximation)
欲求 ,即 :查標準常態分配表:
-
方法二:加入連續性修正(Continuity Correction)
因 為離散整數, 等價於 ,修正後取 :
第 3 題15 分
- (15%) A men's clothing retailer stocks a variety of men shirts. The data record the type of sales during the last three months, indicating shirt style and size, which are as shown in the following table:
| Size | Button-down | Polo | Small print |
|---|---|---|---|
| Small | 18 | 27 | 36 |
| Medium | 65 | 82 | 28 |
| Large | 103 | 65 | 22 |
Verify whether there is a relationship between shirt style and size at the 0.05 significant level.
登入後即可作答並保存紀錄。
這題考驗卡方檢定(Chi-square test)在兩個類別變數之間是否存在關聯性。
我們有兩種類別變數:
- Shirt Style (風格):Button-down, Polo, Small print (3類別)
- Shirt Size (尺寸):Small, Medium, Large (3類別)
我們希望檢定這兩個變數之間是否存在顯著關聯性,使用 0.05 的顯著水準。
步驟 1:建立虛無假設與對立假設
- : 襯衫風格與尺寸之間沒有關聯性 (兩變數獨立)。
- : 襯衫風格與尺寸之間有關聯性 (兩變數不獨立)。
步驟 2:計算總計與預期次數
首先,計算各類別的總計及總樣本數。
| Size | Button-down | Polo | Small print | Row Total |
|---|---|---|---|---|
| Small | 18 | 27 | 36 | 81 |
| Medium | 65 | 82 | 28 | 175 |
| Large | 103 | 65 | 22 | 190 |
| Col Total | 186 | 174 | 86 | 446 |
總樣本數 。
接著,計算在虛無假設(獨立性)下,每個儲存格的預期次數 ()。
預期次數的公式為:
步驟 3:計算卡方檢定統計量
卡方檢定統計量 () 的公式為:,其中 是觀察到的次數。
| Size | Button-down (O, E) | Polo (O, E) | Small print (O, E) |
|---|
第 4 題20 分
- (20%) A bank wishes to compare two companies (AA and BB) about the methods they use to appraise the value of residential homes. The bank selected a sample of 10 residential properties and scheduled both firms for an appraisal. The results, reported in NT million, are as follows.
| Home | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| AA | 13.5 | 11.0 | 13.1 | 14.2 | 10.5 | 12.0 | 13.1 | 11.0 | 12.5 | 14.9 |
| BB | 12.8 | 10.5 | 11.9 | 14.0 | 9.8 | 12.3 | 12.7 | 11.5 | 12.2 | 14.5 |
(1) Can we conclude there is a difference in the mean appraised values of the homes between these two companies using the 0.05 significant level? (10%)
(2) Construct a 95% confidence interval for the mean difference of the appraised home values between these two companies. (10%)
登入後即可作答並保存紀錄。
這題考驗配對樣本 t 檢定(Paired t-test)與其對應的信賴區間。我們比較兩家公司(AA 和 BB)對同一批房屋進行估價的平均值是否有差異。由於是同一批房屋,兩組數據是配對的。
首先,我們計算兩家公司估價的差異(d):。
| Home | AA | BB | ||
|---|---|---|---|---|
| 1 | 13.5 | 12.8 | 0.7 | 0.49 |
| 2 | 11.0 | 10.5 | 0.5 | 0.25 |
| 3 | 13.1 | 11.9 | 1.2 | 1.44 |
| 4 | 14.2 | 14.0 | 0.2 | 0.04 |
| 5 | 10.5 | 9.8 | 0.7 | 0.49 |
| 6 | 12.0 | 12.3 | -0.3 | 0.09 |
| 7 | 13.1 | 12.7 | 0.4 | 0.16 |
| 8 | 11.0 | 11.5 | -0.5 | 0.25 |
| 9 | 12.5 | 12.2 | 0.3 | 0.09 |
| 10 | 14.9 | 14.5 | 0.4 | 0.16 |
| Sum | 3.6 | 3.49 |
樣本數 。
差異的樣本平均值 。
差異的樣本標準差 :
首先計算差異的平方和:。
樣本變異數
樣本標準差 。
第 5 題30 分
- (30%) The following regression output is the result of a multiple regression application, in which we are interested in explaining the variation in retail price of 36 personal computers based on three explanatory variables, CPU speed, RAM, hard drive capacity, and monitor included (1=Yes, 0 = No).
| Estimate | Standard Error | |
|---|---|---|
| Constant | -62.75 | 771.67 |
| CPU speed | 0.22 | 2.62 |
| RAM | 4.52 | 2.99 |
| Hard driver capacity | 173.57 | 45.18 |
| Monitor | 19.00 | 237.84 |
(1) What is the variable, Monitor, called? What is the interpretation of the estimated coefficient for Monitor in the regression model? (5%)
(2) Examine which variables could be omitted from the regression model. Test using a .05 level of significance. (12%)
(3) Please fill in the values of (a)-(h) in the following analysis of variance table. (8%)
(4) Compute the standard error for the regression model and interpret its meaning. (5%)
登入後即可作答並保存紀錄。
核心觀念
本題考查多元線性迴歸中的:
- 虛擬變數(dummy variable)或指示變數(indicator variable)。
- 個別迴歸係數的 檢定,用來判斷變數是否可以刪除。
- 迴歸分析變異數分析表(ANOVA table)。
- 迴歸標準誤(standard error of regression)。
迴歸模型可寫為
其中樣本數 ,解釋變數個數 。
因此:
- 迴歸自由度:
- 誤差自由度:
- 總自由度:
(1)Monitor 的變數類型與係數解釋
變數類型
Monitor 只有兩種取值:
- :有包含螢幕
- :未包含螢幕
因此 Monitor 是虛擬變數,也稱為二元指示變數。
係數解釋
Monitor 的估計係數為 ,因此在 CPU 速度、RAM、硬碟容量相同的條件下:
表示「包含螢幕的個人電腦」預測零售價格平均比「未包含螢幕的個人電腦」高 個價格單位。
這是控制其他變數後的條件平均差異,而不是單純比較兩組電腦的平均價格差異。
(2)檢驗哪些變數可以刪除
檢定方法
對每一個斜率係數進行個別 檢定:
若無法拒絕 ,表示在控制其他變數後,該變數對價格的線性影響不顯著,可考慮從模型中刪除。
誤差自由度為 ,顯著水準 ,雙尾檢定的臨界值為
判斷規則為:
各變數檢定
CPU speed
因為
所以不拒絕 。CPU speed 的係數在 顯著水準下不顯著,可考慮刪除。
RAM
因為
所以不拒絕 。RAM 的係數在 顯著水準下不顯著,可考慮刪除。
Hard drive capacity
因為
所以拒絕 。硬碟容量的係數顯著不為零,不宜刪除。
Monitor
因為
所以不拒絕 。Monitor 的係數在 顯著水準下不顯著,可考慮刪除。
判斷
個別檢定結果如下:
| 變數 | 值 | 判斷 |
|---|---|---|
| CPU speed | 可考慮刪除 | |
| RAM | 可考慮刪除 | |
| Hard drive capacity | 不宜刪除 | |
| Monitor | 可考慮刪除 |
因此,依個別 檢定結果,CPU speed、RAM 與 Monitor 可考慮刪除;Hard drive capacity 應保留。
需注意:個別 檢定只能判斷單一變數的邊際顯著性。若要同時檢定刪除三個變數,應另做聯合 檢定:
題目未提供刪除後限制模型的殘差平方和,因此無法計算此聯合 檢定。