109 年 國立政治大學企業管理學系碩士班《統計學》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題15 分

  1. (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 通。
首先,我們需要將抵達率轉換為每分鐘的抵達率:
λminute=48 calls60 minutes=0.8 calls/minute\lambda_{minute} = \frac{48 \text{ calls}}{60 \text{ minutes}} = 0.8 \text{ calls/minute}

接著,我們需要計算 10 分鐘內的平均電話抵達數:
μ=λminute×10 minutes=0.8×10=8\mu = \lambda_{minute} \times 10 \text{ minutes} = 0.8 \times 10 = 8

Poisson 分布的機率質量函數為:
P(X=k)=e−μμkk!P(X=k) = \frac{e^{-\mu} \mu^k}{k!}
其中 XX 是在給定時間內發生的事件次數,kk 是我們感興趣的事件次數,μ\mu 是平均事件發生次數。

我們要求的是在 10 分鐘內接獲三通電話的機率,即 k=3k=3:
P(X=3)=e−8833!=e−8×5126=5126e−8P(X=3) = \frac{e^{-8} 8^3}{3!} = \frac{e^{-8} \times 512}{6} = \frac{512}{6} e^{-8}

計算數值:
e−8≈0.00033546e^{-8} \approx 0.00033546

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題15 分

  1. (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).
spamham
shipping!0.0510.015
today!0.0450.022
here!0.0340.022
available!0.0140.041
fingertip!0.0140.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. 總郵件中,1/10 是垃圾郵件 (spam),9/10 是正常郵件 (ham)。
    P(spam)=0.1P(\text{spam}) = 0.1
    P(ham)=0.9P(\text{ham}) = 0.9

  2. 針對五個常見詞彙,在垃圾郵件和正常郵件中出現的條件機率(比例):

| | P(word∣spam)P(\text{word}|\text{spam}) | P(word∣ham)P(\text{word}|\text{ham}) |
| :---- | :------------------------ | :------------------------ |
| available! | 0.014 | 0.041 |
| shipping! | 0.051 | 0.015 |

(1) 如果一封郵件包含 "available!",這封郵件是垃圾郵件的機率為何?

我們要計算 P(spam∣available!)P(\text{spam} | \text{available!})。根據貝氏定理:
P(spam∣available!)=P(available!∣spam)P(spam)P(available!)P(\text{spam} | \text{available!}) = \frac{P(\text{available!} | \text{spam}) P(\text{spam})}{P(\text{available!})}

首先,我們需要計算 P(available!)P(\text{available!}),即一封郵件包含 "available!" 的總體機率。這可以通過全機率公式計算:
P(available!)=P(available!∣spam)P(spam)+P(available!∣ham)P(ham)P(\text{available!}) = P(\text{available!} | \text{spam}) P(\text{spam}) + P(\text{available!} | \text{ham}) P(\text{ham})
P(available!)=(0.014×0.1)+(0.041×0.9)P(\text{available!}) = (0.014 \times 0.1) + (0.041 \times 0.9)

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題35 分

  1. (35%) 自2019年六都的購屋貸款人資料中隨機分別抽取100人,下表為其年收入(X,單位:萬) 分布:
年收入台北市新北市桃園市台中市台南市高雄市
0≤X≤600 \le X \le 60243539374138
60<X<8060 < X < 80101518161718
80≤X<10080 \le X < 100121515141516
100≤X≤150100 \le X \le 150543535282728

(1) 估計桃園市購屋貸款人年收入之平均數與變異數。(10%)
(2) 檢定台北市購屋貸款人之年收入大於100萬者的比例是否大於其他五都的比例(其他五都合併考 慮)? (10%)

備註
一、作答於試題上者,不予計分。
二、試題請隨卷繳交。

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查:

  1. 組距資料的平均數與變異數估計。
  2. 以各組組中點代表該組觀測值。
  3. 兩母體比例差的假設檢定。
  4. 合併樣本比例(pooled proportion)與標準常態檢定統計量。

(1)估計桃園市年收入的平均數與變異數

① 求各組組中點

以各收入區間的中點作為該組代表值:

年收入區間組中點 mim_i次數 fif_i
0≤X≤600\le X\le 6030303939
60<X<8060<X<8070701818
80≤X<10080\le X<10090901515
100≤X≤150100\le X\le1501251253535

總樣本數為

n=39+18+15+35=107n=39+18+15+35=107

但題目文字說明每一市分別抽取 100100 人,而桃園市表中次數合計為

39+18+15+35=10739+18+15+35=107

因此表格資料與「抽取100人」不一致。以下依表中桃園市各組次數直接計算,故取 n=107n=107。

② 平均數

組距資料的平均數估計為

Xˉ=∑fimin\bar X=\frac{\sum f_i m_i}{n}

代入資料:

Xˉ=39(30)+18(70)+15(90)+35(125)107\bar X = \frac{39(30)+18(70)+15(90)+35(125)}{107} =1170+1260+1350+4375107=8155107≈76.22= \frac{1170+1260+1350+4375}{107} = \frac{8155}{107} \approx 76.22

因此桃園市購屋貸款人年收入平均數估計為

Xˉ≈76.22 萬元\boxed{\bar X\approx 76.22\text{ 萬元}}

③ 變異數

先計算平方和:

∑fimi2=39(302)+18(702)+15(902)+35(1252)\sum f_i m_i^2 = 39(30^2)+18(70^2)+15(90^2)+35(125^2) =35100+88200+121500+546875=791675=35100+88200+121500+546875 =791675

樣本變異數估計為

s2=∑fimi2−nXˉ2n−1s^2 = \frac{\sum f_i m_i^2-n\bar X^2}{n-1}

由於

Xˉ=8155107≈76.215\bar X=\frac{8155}{107}\approx76.215

所以

s2=791675−81552107106≈1284.58s^2 = \frac{791675-\frac{8155^2}{107}}{106} \approx 1284.58

因此桃園市購屋貸款人年收入變異數估計為

s2≈1284.58 萬元2\boxed{s^2\approx1284.58\text{ 萬元}^2}

相對應的標準差約為

s=1284.58≈35.84 萬元s=\sqrt{1284.58}\approx35.84\text{ 萬元}

(2)檢定台北市年收入大於100萬元者的比例是否高於其他五都

① 設定母體比例

令:

  • p1p_1:台北市購屋貸款人年收入大於100萬元的比例;
  • p2p_2:其他五都合併後,購屋貸款人年收入大於100萬元的比例。

假設為

H0:p1≤p2H_0:p_1\le p_2
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題35 分

  1. (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 (X1X_1), operating expenses and taxes (X2X_2), vacancy rate (X3X_3), total square footage (X4X_4), and rental rates (YY).
YYX1X_1X2X_2X3X_3X4X_4YYX1X_1X2X_2X3X_3X4X_4
13.50015.020.1412300017.000112.010.00299000
12.000148.190.2710407916.00017.990.14189258
10.500163.000.003999814.6251210.330.12366013
15.000410.700.055711214.5001610.670.00349930
14.000118.970.076000014.50039.450.0385335
10.500159.450.2410138516.500612.650.13235932
14.00028.000.193130016.500312.080.00130000
16.50016.620.6024817215.000310.520.0540500
17.50016.200.0021500015.00039.470.0040500
16.500811.780.0325101513.0001411.620.0045959
17.0001214.620.0829126412.50015.000.33120000
16.500211.550.0320754914.000159.890.0581243
16.00029.630.008200013.7501611.130.06153947
16.5001312.990.0435966514.00027.960.2297321
17.225212.010.0326550015.0001610.730.09276099

The following table shows the estimation output.

EstimateStandard error
Constant12.45090.7668
X1X_1-0.19960.0281
X2X_20.27720.0784
X3X_3-2.31961.4302
X4/1000X_4/10000.00830.0018

R2=0.8055R^2=0.8055

(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 R2R^2 change if you divide X4X_4 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%)

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題綜合考查多元線性迴歸分析:

  1. 單一母體平均數的 tt 信賴區間。
  2. 迴歸係數的個別顯著性檢定。
  3. ANOVA 變異分解與整體迴歸顯著性檢定。
  4. 解釋變數尺度變換對迴歸估計值的影響。
  5. 迴歸模型的診斷與延伸分析。

迴歸模型為

Y=β0+β1X1+β2X2+β3X3+β4(X41000)+ε.Y=\beta_0+\beta_1X_1+\beta_2X_2+\beta_3X_3+\beta_4\left(\frac{X_4}{1000}\right)+\varepsilon.

樣本數為 n=30n=30,解釋變數個數為 k=4k=4,因此迴歸誤差自由度為

n−k−1=30−4−1=25.n-k-1=30-4-1=25.

(1)99% 信賴區間

解題方法

題目要求的是「母體平均租金率」,因此以 30 筆租金率 YY 視為隨機樣本,使用單一母體平均數的 tt 信賴區間:

Yˉ±t0.995,29sYn.\bar Y\pm t_{0.995,29}\frac{s_Y}{\sqrt n}.

由資料計算:

∑i=130Yi=445.1,\sum_{i=1}^{30}Y_i=445.1,

所以樣本平均數為

Yˉ=445.130=14.8367.\bar Y=\frac{445.1}{30}=14.8367.

進一步計算得

∑i=130(Yi−Yˉ)2=103.1034,\sum_{i=1}^{30}(Y_i-\bar Y)^2=103.1034,

因此樣本變異數與樣本標準差為

sY2=103.103429=3.5553,s_Y^2=\frac{103.1034}{29}=3.5553, sY=3.5553=1.8855.s_Y=\sqrt{3.5553}=1.8855.

平均數的標準誤為

SE(Yˉ)=1.885530=0.3442.SE(\bar Y)=\frac{1.8855}{\sqrt{30}}=0.3442.

99% 信賴區間的臨界值為

t0.995,29=2.756.t_{0.995,29}=2.756.

因此誤差範圍為

2.756(0.3442)=0.9485.2.756(0.3442)=0.9485.

故信賴區間為

14.8367±0.948514.8367\pm0.9485

即

(13.8882, 15.7852).\boxed{(13.8882,\ 15.7852)}.

解題技巧

99% 信賴區間使用 tt 分配,而不是標準常態分配,因為母體變異數未知且樣本數只有 30。若誤用 z0.995=2.576z_{0.995}=2.576,區間會偏窄。


(2)判斷哪些變數可以刪除

核心觀念

對每一個迴歸係數進行個別 tt 檢定:

H0:βj=0,H1:βj≠0.H_0:\beta_j=0, \qquad H_1:\beta_j\ne0.

檢定統計量為

t=β^jSE(β^j),t=\frac{\hat\beta_j}{SE(\hat\beta_j)},

自由度為 2525。

在顯著水準 α=0.05\alpha=0.05 下,

t0.975,25≈2.060.t_{0.975,25}\approx2.060.

個別檢定

變數估計值標準誤tt 值判斷
X1X_1−0.1996-0.19960.02810.0281−0.19960.0281=−7.10\displaystyle\frac{-0.1996}{0.0281}=-7.10顯著
X2X_20.27720.27720.07840.07840.27720.0784=3.54\displaystyle\frac{0.2772}{0.0784}=3.54顯著
X3X_3−2.3196-2.31961.43021.4302−2.31961.4302=−1.62\displaystyle\frac{-2.3196}{1.4302}=-1.62不顯著
X4/1000X_4/10000.00830.00830.00180.00180.00830.0018=4.61\displaystyle\frac{0.0083}{0.0018}=4.61顯著

因為

∣tX3∣=1.62<2.060,|t_{X_3}|=1.62<2.060,

所以無法拒絕 H0:β3=0H_0:\beta_3=0。在 5% 顯著水準下,X3X_3(vacancy rate,空置率)可考慮自模型中刪除。

其餘變數的 ∣t∣|t| 值均大於臨界值,應保留在模型中。

結論

可考慮刪除 X3;X1, X2, X4 應保留。\boxed{\text{可考慮刪除 }X_3;X_1,\ X_2,\ X_4\text{ 應保留。}}

刪除 X3X_3 後,應重新估計迴歸模型,因為其他係數、標準誤與 R2R^2 都可能改變。

解題技巧

判斷變數能否刪除,不能只看係數大小,必須看

估計係數標準誤\frac{\text{估計係數}}{\text{標準誤}}

的絕對值。X3X_3 的係數雖然為 −2.3196-2.3196,但標準誤相對較大,因此統計上不顯著。


(3)ANOVA 表

核心觀念

總平方和可分解為

SST=SSR+SSE,SST=SSR+SSE,

其中:

  • SSTSST:總平方和;
  • SSRSSR:迴歸平方和;
  • SSESSE:誤差平方和。

且

R2=SSRSST.R^2=\frac{SSR}{SST}.

由原始 YY 資料:

SST=∑(Yi−Yˉ)2=103.1034.SST=\sum(Y_i-\bar Y)^2=103.1034.

已知

R2=0.8055,R^2=0.8055,

因此

SSR=R2(SST)=0.8055(103.1034)=83.0498.SSR=R^2(SST) =0.8055(103.1034) =83.0498.

誤差平方和為

SSE=SST−SSR=103.1034−83.0498=20.0536.SSE=SST-SSR =103.1034-83.0498 =20.0536.

自由度

迴歸自由度:

dfR=k=4.df_R=k=4.

誤差自由度:

dfE=n−k−1=25.df_E=n-k-1=25.

總自由度:

dfT=n−1=29.df_T=n-1=29.

均方與 FF 統計量

迴歸均方:

MSR=SSRdfR=83.04984=20.7625.MSR=\frac{SSR}{df_R} =\frac{83.0498}{4} =20.7625.

誤差均方:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題

其他學校的企管與商學考古題