108 年 國立政治大學企業管理研究所(MBA學位學程)甲組《統計學》

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

第 1 題25 分

  1. (25%) Based on a survey, 23 percent of women and 33 percent of men wanted to buy a Google Android smart phone. The survey contacted 240 women and 265 men.
    (1) Find the 95% confidence interval for the difference between the proportion of men and the proportion of women interested in buying an Android device. (10%)
    (2) Construct a contingency table with gender (men or women) and attitude (buying or not buying an Android device) for these data. (5%)
    (3) Test whether gender and attitude are independent at the 0.05 level of significance. (10%)

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

這一題的完整詳解

核心觀念

本題同時考查兩個母體比例的推論:

  1. 兩母體比例差的信賴區間

pM−pWp_M-p_W

其中 pMp_M 為男性中想購買 Android 手機的比例,pWp_W 為女性中的比例。

  1. 二維列聯表與卡方獨立性檢定
    用性別與購買態度建立列聯表,檢定性別與購買態度是否彼此獨立。

信賴區間使用兩組樣本比例各自估計變異;獨立性檢定則在虛無假設成立下使用合併比例(pooled proportion)。


解題方法與資料整理

已知:

p^M=0.33,nM=265\hat p_M=0.33,\qquad n_M=265

p^W=0.23,nW=240\hat p_W=0.23,\qquad n_W=240

男性與女性樣本比例差為:

p^M−p^W=0.33−0.23=0.10\hat p_M-\hat p_W=0.33-0.23=0.10

由於題目提供的比例乘以樣本數後不是整數,因此以下列聯表採用「依比例換算」的有效樣本數表示。


(1)男性與女性比例差的 95% 信賴區間

使用公式

兩獨立母體比例差的 95% 信賴區間為:

(p^M−p^W)±z0.025p^M(1−p^M)nM+p^W(1−p^W)nW(\hat p_M-\hat p_W) \pm z_{0.025} \sqrt{ \frac{\hat p_M(1-\hat p_M)}{n_M} + \frac{\hat p_W(1-\hat p_W)}{n_W} }

其中:

z0.025=1.96z_{0.025}=1.96

計算標準誤

SE=0.33(0.67)265+0.23(0.77)240SE= \sqrt{ \frac{0.33(0.67)}{265} + \frac{0.23(0.77)}{240} } SE=0.2211265+0.1771240SE= \sqrt{ \frac{0.2211}{265} + \frac{0.1771}{240} } SE≈0.0015723≈0.03965SE\approx \sqrt{0.0015723} \approx 0.03965

因此誤差界限為:

1.96(0.03965)≈0.077721.96(0.03965)\approx 0.07772

求信賴區間

0.10±0.077720.10\pm 0.07772

所以:

(0.0223, 0.1777)\boxed{(0.0223,\ 0.1777)}

換成百分比:

(2.23%, 17.77%)\boxed{(2.23\%,\ 17.77\%)}

解釋

在 95% 信心水準下,男性想購買 Android 手機的母體比例,比女性高約:

2.23% 至 17.77%\boxed{2.23\%\text{ 至 }17.77\%}

由於整個信賴區間皆為正值,資料顯示男性的購買意願高於女性。


(2)建立性別與購買態度的列聯表

計算各格人數

男性:

想購買=265(0.33)=87.45\text{想購買}=265(0.33)=87.45

不想購買=265(0.67)=177.55\text{不想購買}=265(0.67)=177.55

女性:

想購買=240(0.23)=55.20\text{想購買}=240(0.23)=55.20

不想購買=240(0.77)=184.80\text{不想購買}=240(0.77)=184.80

因此列聯表為:

性別想購買不想購買合計
男性87.45177.55265
女性55.20184.80240
合計142.65362.35505

若以實際問卷中的整數人數呈現,原始資料應提供實際人數;本題依給定百分比計算時,使用上述小數形式即可。


(3)在 0.05 顯著水準下檢定性別與態度是否獨立

第一步:提出假設

令性別為 GG,購買態度為 AA。

  • 虛無假設:

H0:性別與購買態度彼此獨立H_0:\text{性別與購買態度彼此獨立}

  • 對立假設:

H1:性別與購買態度不獨立H_1:\text{性別與購買態度不獨立}

顯著水準:

α=0.05\alpha=0.05

第二步:計算期望次數

若性別與態度獨立,期望次數公式為:

Eij=(第 i 列合計)(第 j 欄合計)總和E_{ij}=\frac{(\text{第 }i\text{ 列合計})(\text{第 }j\text{ 欄合計})}{\text{總和}}

男性且想購買:

EM,B=265(142.65)505≈74.86E_{M,B} =\frac{265(142.65)}{505} \approx 74.86

男性且不想購買:

EM,N=265(362.35)505≈190.14E_{M,N} =\frac{265(362.35)}{505} \approx 190.14

女性且想購買:

EW,B=240(142.65)505≈67.79E_{W,B} =\frac{240(142.65)}{505} \approx 67.79

女性且不想購買:

EW,N=240(362.35)505≈172.21E_{W,N} =\frac{240(362.35)}{505} \approx 172.21
🔒

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

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

免費註冊

第 2 題25 分

  1. (25%) One of the major oil products companies conducted a study recently to estimate the mean gallons of gasoline purchased by customers per visit to a gasoline station. To do this, a random sample of customers was selected with the following data being recorded that show the gallons of gasoline purchased.
    8.7 22.4 9.5 13.3 12.9 22.0 14.4 35.7
    19.0 24.9 5.7 15.7 8.9 22.5 15.9 17.5
    3.2 52.6 18.8
    (1) How large should the sample size be if we require in order for a 99% confidence interval for the average gallons of gasoline purchased to have a margin error equal to 0.6 gallon? (10%)
    (2) Construct a boxplot for these data and identify the possible outliers. (15%)

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

這一題的完整詳解

本題主要考驗樣本數的決定、盒狀圖 (Boxplot) 的繪製以及離群值的判斷。

首先,整理題目提供的數據:
X={8.7,22.4,9.5,13.3,12.9,22.0,14.4,35.7,19.0,24.9,5.7,15.7,8.9,22.5,15.9,17.5,3.2,52.6,18.8}X = \{8.7, 22.4, 9.5, 13.3, 12.9, 22.0, 14.4, 35.7, 19.0, 24.9, 5.7, 15.7, 8.9, 22.5, 15.9, 17.5, 3.2, 52.6, 18.8\}
樣本數 n=19n=19。

(1) 計算所需的樣本數,以使平均加侖汽油購買量的 99% 信賴區間的誤差邊界為 0.6 加侖。
樣本數的決定公式為:
n=(zα/2σE)2n = \left( \frac{z_{\alpha/2} \sigma}{E} \right)^2
其中:
EE 是期望的誤差邊界 (margin of error),在此為 0.6 加侖。
zα/2z_{\alpha/2} 是對應於信賴水準的 z 值。對於 99% 的信賴水準,α=0.01\alpha = 0.01,α/2=0.005\alpha/2 = 0.005。查標準常態分佈表,得到 z0.005≈2.576z_{0.005} \approx 2.576。
σ\sigma 是母體標準差。由於母體標準差未知,我們需要使用樣本標準差 ss 作為估計。

首先,計算樣本均值 xˉ\bar{x}:
xˉ=8.7+22.4+9.5+13.3+12.9+22.0+14.4+35.7+19.0+24.9+5.7+15.7+8.9+22.5+15.9+17.5+3.2+52.6+18.819\bar{x} = \frac{8.7 + 22.4 + 9.5 + 13.3 + 12.9 + 22.0 + 14.4 + 35.7 + 19.0 + 24.9 + 5.7 + 15.7 + 8.9 + 22.5 + 15.9 + 17.5 + 3.2 + 52.6 + 18.8}{19}
xˉ=320.019≈16.842\bar{x} = \frac{320.0}{19} \approx 16.842

接下來,計算樣本標準差 ss。
首先計算樣本變異數 s2s^2:
s2=∑(xi−xˉ)2n−1s^2 = \frac{\sum(x_i - \bar{x})^2}{n-1}

我們需要計算每個數據點與均值的差的平方和。
(8.7−16.842)2≈66.29(8.7-16.842)^2 \approx 66.29
(22.4−16.842)2≈30.90(22.4-16.842)^2 \approx 30.90
(9.5−16.842)2≈53.89(9.5-16.842)^2 \approx 53.89
(13.3−16.842)2≈12.55(13.3-16.842)^2 \approx 12.55
(12.9−16.842)2≈15.54(12.9-16.842)^2 \approx 15.54
(22.0−16.842)2≈26.61(22.0-16.842)^2 \approx 26.61
(14.4−16.842)2≈5.96(14.4-16.842)^2 \approx 5.96
(35.7−16.842)2≈355.66(35.7-16.842)^2 \approx 355.66
(19.0−16.842)2≈4.66(19.0-16.842)^2 \approx 4.66
(24.9−16.842)2≈64.93(24.9-16.842)^2 \approx 64.93
(5.7−16.842)2≈124.18(5.7-16.842)^2 \approx 124.18
(15.7−16.842)2≈1.30(15.7-16.842)^2 \approx 1.30
(8.9−16.842)2≈63.11(8.9-16.842)^2 \approx 63.11
(22.5−16.842)2≈31.90(22.5-16.842)^2 \approx 31.90
(15.9−16.842)2≈0.89(15.9-16.842)^2 \approx 0.89
(17.5−16.842)2≈0.43(17.5-16.842)^2 \approx 0.43
(3.2−16.842)2≈186.18(3.2-16.842)^2 \approx 186.18
(52.6−16.842)2≈1264.65(52.6-16.842)^2 \approx 1264.65
(18.8−16.842)2≈3.83(18.8-16.842)^2 \approx 3.83

∑(xi−xˉ)2≈66.29+30.90+53.89+12.55+15.54+26.61+5.96+355.66+4.66+64.93+124.18+1.30+63.11+31.90+0.89+0.43+186.18+1264.65+3.83≈2303.55\sum(x_i - \bar{x})^2 \approx 66.29 + 30.90 + 53.89 + 12.55 + 15.54 + 26.61 + 5.96 + 355.66 + 4.66 + 64.93 + 124.18 + 1.30 + 63.11 + 31.90 + 0.89 + 0.43 + 186.18 + 1264.65 + 3.83 \approx 2303.55

s2=2303.5519−1=2303.5518≈127.975s^2 = \frac{2303.55}{19-1} = \frac{2303.55}{18} \approx 127.975
s=127.975≈11.313s = \sqrt{127.975} \approx 11.313

🔒

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

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

免費註冊

第 3 題20 分

  1. (20%) The following table show the chances for typical annual usages of electricity and gas by the stores for a chain of retail stores.
    Chances for electricity use
    Chances for gas usage
    Electricity use (KWH) Percentage
    Gas usage (MCF) Percentage
    500,000
    0.3
    1,200
    0.3
    400,000
    0.4
    1,000
    0.4
    300,000
    0.25
    800
    0.25
    200,000
    0.05
    600
    0.05
    KWH: kilowatt-hour
    MCF: thousand cubic feet
    The cost of electricity is roughly US100perKWH,andthecostofnaturalgasisaboutUS100 per KWH, and the cost of natural gas is about US10 per MCF.
    (1) How much it will expect to spend on energy costs, including electricity and gas, to operate a store in the coming year? (10%)
    (2) If the correlation between electricity and gas uses is 0.4, what is its variance of energy costs to operate a store in the coming year? (10%)

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

這一題的完整詳解

核心觀念

本題屬於**雙變數機率分佈之線性組合(Linear Combinations of Random Variables)**的經典計算題,涵蓋以下核心統計學原理與公式:

  1. 離散型隨機變數之期望值與變異數:
    • 期望值: E[W]=∑w⋅P(W=w)E[W] = \sum w \cdot P(W = w)
    • 變異數: Var(W)=E[W2]−(E[W])2Var(W) = E[W^2] - (E[W])^2
  2. 隨機變數線性組合之期望值(線性性質): E[aX+bY]=aE[X]+bE[Y]E[aX + bY] = aE[X] + bE[Y] (無論 XX 與 YY 是否獨立,此線性關係均成立)
  3. 相關係數與共變異數之關係: Cov(X,Y)=ρXY⋅σX⋅σY=ρXY⋅Var(X)⋅Var(Y)Cov(X, Y) = \rho_{XY} \cdot \sigma_X \cdot \sigma_Y = \rho_{XY} \cdot \sqrt{Var(X)} \cdot \sqrt{Var(Y)}
  4. 隨機變數線性組合之變異數: Var(aX+bY)=a2Var(X)+b2Var(Y)+2ab Cov(X,Y)Var(aX + bY) = a^2 Var(X) + b^2 Var(Y) + 2ab\, Cov(X, Y)

解題方法

步驟一:設定隨機變數與總成本函數

  • 令隨機變數 XX 為單一零售門市全年的電力使用量(單位:KWH\text{KWH})。
  • 令隨機變數 YY 為單一零售門市全年的瓦斯使用量(單位:MCF\text{MCF})。
  • 依題目費率,電力每 KWH\text{KWH} 成本為 US$100,瓦斯每 MCF\text{MCF} 成本為 US$10。
  • 全年能源總營運成本 CC 可表示為線性組合: C=100X+10YC = 100X + 10Y

步驟二:計算電力使用量 XX 的期望值與變異數

根據題意之機率分配:

X (KWH)X\text{ (KWH)}P(X)P(X)
500,000500,0000.300.30
400,000400,0000.400.40
300,000300,0000.250.25
200,000200,0000.050.05
  1. 期望值 E[X]E[X]:

    E[X]=500,000(0.3)+400,000(0.4)+300,000(0.25)+200,000(0.05)=150,000+160,000+75,000+10,000=395,000 (KWH)\begin{aligned} E[X] &= 500{,}000(0.3) + 400{,}000(0.4) + 300{,}000(0.25) + 200{,}000(0.05) \\ &= 150{,}000 + 160{,}000 + 75{,}000 + 10{,}000 \\ &= 395{,}000\text{ (KWH)} \end{aligned}
  2. 二階原點動差 E[X2]E[X^2] 與變異數 Var(X)Var(X):

    E[X2]=(500,000)2(0.3)+(400,000)2(0.4)+(300,000)2(0.25)+(200,000)2(0.05)=7.5×1010+6.4×1010+2.25×1010+0.2×1010=16.35×1010\begin{aligned} E[X^2] &= (500{,}000)^2(0.3) + (400{,}000)^2(0.4) + (300{,}000)^2(0.25) + (200{,}000)^2(0.05) \\ &= 7.5 \times 10^{10} + 6.4 \times 10^{10} + 2.25 \times 10^{10} + 0.2 \times 10^{10} \\ &= 16.35 \times 10^{10} \end{aligned} Var(X)=E[X2]−(E[X])2=16.35×1010−(395,000)2=16.35×1010−15.6025×1010=0.7475×1010=7,475,000,000 (KWH)2\begin{aligned} Var(X) &= E[X^2] - (E[X])^2 \\ &= 16.35 \times 10^{10} - (395{,}000)^2 \\ &= 16.35 \times 10^{10} - 15.6025 \times 10^{10} \\ &= 0.7475 \times 10^{10} = 7{,}475{,}000{,}000\text{ (KWH)}^2 \end{aligned}

步驟三:計算瓦斯使用量 YY 的期望值與變異數

根據題意之機率分配:

Y (MCF)Y\text{ (MCF)}P(Y)P(Y)
1,2001,2000.300.30
1,0001,0000.400.40
8008000.250.25
6006000.050.05
  1. 期望值 E[Y]E[Y]:

    E[Y]=1,200(0.3)+1,000(0.4)+800(0.25)+600(0.05)=360+400+200+30=990 (MCF)\begin{aligned} E[Y] &= 1{,}200(0.3) + 1{,}000(0.4) + 800(0.25) + 600(0.05) \\ &= 360 + 400 + 200 + 30 \\ &= 990\text{ (MCF)} \end{aligned}
  2. 二階原點動差 E[Y2]E[Y^2] 與變異數 Var(Y)Var(Y):

    E[Y2]=(1,200)2(0.3)+(1,000)2(0.4)+(800)2(0.25)+(600)2(0.05)=432,000+400,000+160,000+18,000=1,010,000\begin{aligned} E[Y^2] &= (1{,}200)^2(0.3) + (1{,}000)^2(0.4) + (800)^2(0.25) + (600)^2(0.05) \\ &= 432{,}000 + 400{,}000 + 160{,}000 + 18{,}000 \\ &= 1{,}010{,}000 \end{aligned}
🔒

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

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

免費註冊

第 4 題30 分

  1. (30%) In order to determine the price at which their house is likely to sell, a realtor gathers a sample of 150 purchase transactions in an area during a recent three-month period. For the response in the regression model, use the price of home. Other explanatory variables defined as follows:
    Price: price of the home (in thousand US dollars)
    SqFeet: area of the home (in thousand square feet)
    Bathrooms: number of bathrooms
    Size: lot size (in thousand square feet)
    Income: median household income in the subarea of the house (in million US dollars)
    Fireplace: with or without fireplaces in the home
    The following table shows the estimation output.
    Estimate Standard error
    Constant
    81.66
    20.49
    SqFeet
    33.75
    6.77
    Bathrooms
    14.29
    11.15
    Size
    6.21
    2.30
    Income
    0.21
    0.06
    Fireplace
    -15.14
    14.25
    SSTotal = 2,069,071; R²=0.593
    Please answer the following questions.
    (1) What is the interpretation of the estimated coefficient for Fireplace in the regression model? (4%)
    (2) Examine which variables could be omitted from the regression model. Use the 0.05 level of significance. (10%)
    (3) Construct the ANOVA table for the regression analysis. (8%)
    (4) Compute the standard error of the regression and explain its meaning. (4%)
    (5) Compute the adjusted R². (4%)

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

這一題的完整詳解

本題主要考驗多元迴歸分析的相關概念,包括係數解釋、顯著性檢定、ANOVA 表建構、迴歸標準誤及調整 R2R^2 的計算。

首先,整理多元迴歸的輸出結果:
樣本數 n=150n=150。
因變數:Price (千美元)
自變數:SqFeet, Bathrooms, Size, Income, Fireplace (0/1 變數)

迴歸係數估計值 (β^\hat{\beta}):
β^0\hat{\beta}_0 (Constant) = 81.66
β^1\hat{\beta}_1 (SqFeet) = 33.75
β^2\hat{\beta}_2 (Bathrooms) = 14.29
β^3\hat{\beta}_3 (Size) = 6.21
β^4\hat{\beta}_4 (Income) = 0.21
β^5\hat{\beta}_5 (Fireplace) = -15.14

對應的標準誤 (Standard Error, SE):
SE(β^0)=20.49SE(\hat{\beta}_0) = 20.49
SE(β^1)=6.77SE(\hat{\beta}_1) = 6.77
SE(β^2)=11.15SE(\hat{\beta}_2) = 11.15
SE(β^3)=2.30SE(\hat{\beta}_3) = 2.30
SE(β^4)=0.06SE(\hat{\beta}_4) = 0.06
SE(β^5)=14.25SE(\hat{\beta}_5) = 14.25

總平方和 SSTotal=2,069,071SSTotal = 2,069,071
決定係數 R2=0.593R^2 = 0.593

(1) 解釋迴歸模型中 Fireplace 係數的估計值。
迴歸模型為:
Price=β^0+β^1SqFeet+β^2Bathrooms+β^3Size+β^4Income+β^5Fireplace+ϵ\text{Price} = \hat{\beta}_0 + \hat{\beta}_1 \text{SqFeet} + \hat{\beta}_2 \text{Bathrooms} + \hat{\beta}_3 \text{Size} + \hat{\beta}_4 \text{Income} + \hat{\beta}_5 \text{Fireplace} + \epsilon

Fireplace 是一個二元變數 (dummy variable),假設:
Fireplace = 1 表示房屋有壁爐
Fireplace = 0 表示房屋沒有壁爐

β^5=−15.14\hat{\beta}_5 = -15.14 是 Fireplace 係數的估計值。
其解釋為:在控制了 SqFeet, Bathrooms, Size, Income 等其他變數不變的情況下,有壁爐的房屋(Fireplace=1)比沒有壁爐的房屋(Fireplace=0)的預期價格(以千美元計)低 15.14 千美元,即低 $15,140 美元。

【答案】在控制其他變數不變的情況下,有壁爐的房屋比沒有壁爐的房屋,其預期價格平均低 15.14 千美元(或 15,140 美元)。

(2) 檢定哪些變數可以從迴歸模型中省略,使用 0.05 的顯著水準。
這需要對每個自變數的係數進行顯著性檢定。通常使用 t 檢定。
t 統計量的計算公式為:t=β^iSE(β^i)t = \frac{\hat{\beta}_i}{SE(\hat{\beta}_i)}。
我們需要將計算出的 t 值與對應於顯著水準 α=0.05\alpha=0.05 和自由度 df=n−k−1df = n - k - 1 的臨界值進行比較,其中 kk 是自變數的數量。
在此模型中,有 5 個自變數 (SqFeet, Bathrooms, Size, Income, Fireplace),所以 k=5k=5。
自由度 df=150−5−1=144df = 150 - 5 - 1 = 144。
對於雙尾檢定,臨界值 tα/2,df=t0.025,144t_{\alpha/2, df} = t_{0.025, 144}。查 t 分佈表,當 dfdf 很大時,t 分佈近似於標準常態分佈,所以臨界值約為 1.96。

我們逐一計算 t 統計量並進行檢定:

  • SqFeet: β^1=33.75,SE(β^1)=6.77\hat{\beta}_1 = 33.75, SE(\hat{\beta}_1) = 6.77
    t1=33.756.77≈4.985t_1 = \frac{33.75}{6.77} \approx 4.985
    ∣t1∣=4.985>1.96|t_1| = 4.985 > 1.96。SqFeet 係數在 0.05 顯著水準下是顯著的。

  • Bathrooms: β^2=14.29,SE(β^2)=11.15\hat{\beta}_2 = 14.29, SE(\hat{\beta}_2) = 11.15
    t2=14.2911.15≈1.282t_2 = \frac{14.29}{11.15} \approx 1.282
    ∣t2∣=1.282<1.96|t_2| = 1.282 < 1.96。Bathrooms 係數在 0.05 顯著水準下不顯著。

  • Size: β^3=6.21,SE(β^3)=2.30\hat{\beta}_3 = 6.21, SE(\hat{\beta}_3) = 2.30
    t3=6.212.30≈2.699t_3 = \frac{6.21}{2.30} \approx 2.699
    ∣t3∣=2.699>1.96|t_3| = 2.699 > 1.96。Size 係數在 0.05 顯著水準下是顯著的。

  • Income: β^4=0.21,SE(β^4)=0.06\hat{\beta}_4 = 0.21, SE(\hat{\beta}_4) = 0.06
    t4=0.210.06=3.5t_4 = \frac{0.21}{0.06} = 3.5
    ∣t4∣=3.5>1.96|t_4| = 3.5 > 1.96。Income 係數在 0.05 顯著水準下是顯著的。

  • Fireplace: $\hat{\beta}_5 = -15.14, SE(\hat{\beta}_5) = 14.25

🔒

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

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

免費註冊

其他考古題