113 年 國立成功大學工業與資訊管理學系研究所乙組《統計學》

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

第 1.1 題

The table below presents the survey results regarding preferences for Options I and II among two groups, i.e., A and B. What is the probability that a respondent of Group B prefers Option I? Is the option preference independent of the groups?

Option IOption II
Group A230250
Group B280210

Which of the following statements is correct, rounded to the second decimal place.
(a) 0.55, Dependent
(b) 0.57, Independent
(c) 0.55, Independent
(d) 0.57, Dependent
(e) 0.28, Dependent

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 2 頁

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

這一題的完整詳解

此題考驗對條件機率和獨立性檢定的理解。首先計算在 B 組中偏好 Option I 的機率,接著進行獨立性檢定。

步驟一:計算 P(Option I | Group B)
由表格可知,Group B 的總人數為 280+210=490280 + 210 = 490 人。
其中偏好 Option I 的人數為 280 人。
因此,從 Group B 中隨機抽取一人,其偏好 Option I 的機率為:
P(Option I∣Group B)=Number of people in Group B who prefer Option ITotal number of people in Group B=280490=2849=47≈0.5714P(\text{Option I} | \text{Group B}) = \frac{\text{Number of people in Group B who prefer Option I}}{\text{Total number of people in Group B}} = \frac{280}{490} = \frac{28}{49} = \frac{4}{7} \approx 0.5714

步驟二:檢定選項偏好是否獨立於組別
為了檢定選項偏好是否獨立於組別,我們可以進行 Chi-squared 獨立性檢定。
首先,計算期望次數 (Expected Counts),假設選項偏好與組別是獨立的。
總人數 N = 555 (由題幹 3. 知道,此處為 230+250+280+210=970)

  • E(Group A, Option I)=Row Total A×Column Total IGrand Total=(230+250)×(230+280)970=480×510970≈252.37E(\text{Group A, Option I}) = \frac{\text{Row Total A} \times \text{Column Total I}}{\text{Grand Total}} = \frac{(230+250) \times (230+280)}{970} = \frac{480 \times 510}{970} \approx 252.37
  • E(Group A, Option II)=480×(250+210)970=480×460970≈227.63E(\text{Group A, Option II}) = \frac{480 \times (250+210)}{970} = \frac{480 \times 460}{970} \approx 227.63
🔒

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

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

免費註冊

第 1.2 題

Out of 20 stocks, half of them have an annual return rate exceeding 2%, and 6 stocks have a three-year return rate exceeding 15%. Additionally, three stocks have both an annual return rate exceeding 2% and a three-year return rate exceeding 15%. What is the probability that a stock has an annual return rate of less than 2% and a three-year return rate of less than 15%?
(a) 0.15
(b) 0.3
(c) 0.35
(d) 0.5
(e) 0.65

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

這一題的完整詳解

核心觀念

設:

  • AA:年報酬率超過 2%2\%
  • BB:三年報酬率超過 15%15\%

題目給定:

∣A∣=202=10|A|=\frac{20}{2}=10 ∣B∣=6|B|=6 ∣A∩B∣=3|A\cap B|=3

所求事件是年報酬率低於 2%2\% 且三年報酬率低於 15%15\%,即 Ac∩BcA^c\cap B^c,也就是同時不屬於 AA 與 BB 的股票。

使用集合的容斥原理:

∣A∪B∣=∣A∣+∣B∣−∣A∩B∣|A\cup B|=|A|+|B|-|A\cap B|

而補集關係為:

∣Ac∩Bc∣=20−∣A∪B∣|A^c\cap B^c|=20-|A\cup B|

解題方法

先計算至少符合一項條件的股票數:

∣A∪B∣=10+6−3=13|A\cup B|=10+6-3=13

其中交集的 33 檔股票被同時計入 ∣A∣|A| 與 ∣B∣|B|,因此必須扣除一次。

所以同時未達兩項報酬率門檻的股票數為:

∣Ac∩Bc∣=20−13=7|A^c\cap B^c|=20-13=7

抽出一檔股票時,所求機率為:

🔒

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

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

免費註冊

第 1.3 題

Consider a random variable X with a probability distribution function given by
f(x)={k−1(2+x2),x=−1,0,1,2,30,elsef(x) = \begin{cases} k^{-1}(2+x^2), & x = -1, 0, 1, 2, 3 \\ 0, & \text{else} \end{cases}
where k∈Rk \in \mathbb{R}.
Which of the following statements is correct for (E(X),Var(X))(E(X), Var(X))?
(a) (1.8, 5.16)
(b) (1.8, 1.92)
(c) (1.92, 1.8)
(d) (2.04, 1.8)
(e) (1.92, 5.16)

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

這一題的完整詳解

此題考驗對離散機率分佈的期望值 (E(X)) 和變異數 (Var(X)) 的計算,以及求解機率質量函數中的常數 k。

步驟一:求解常數 k
機率質量函數 (PMF) 的總和必須為 1。
∑x=−13f(x)=1\sum_{x=-1}^{3} f(x) = 1
f(−1)=k−1(2+(−1)2)=3k−1f(-1) = k^{-1}(2+(-1)^2) = 3k^{-1}
f(0)=k−1(2+02)=2k−1f(0) = k^{-1}(2+0^2) = 2k^{-1}
f(1)=k−1(2+12)=3k−1f(1) = k^{-1}(2+1^2) = 3k^{-1}
f(2)=k−1(2+22)=6k−1f(2) = k^{-1}(2+2^2) = 6k^{-1}
f(3)=k−1(2+32)=11k−1f(3) = k^{-1}(2+3^2) = 11k^{-1}
將這些加總:
3k−1+2k−1+3k−1+6k−1+11k−1=13k^{-1} + 2k^{-1} + 3k^{-1} + 6k^{-1} + 11k^{-1} = 1
(3+2+3+6+11)k−1=1(3+2+3+6+11)k^{-1} = 1
25k−1=125k^{-1} = 1
k=25k = 25
所以,機率質量函數為:
f(x)=125(2+x2),for x=−1,0,1,2,3f(x) = \frac{1}{25}(2+x^2), \quad \text{for } x = -1, 0, 1, 2, 3
且 f(x)=0f(x)=0 其他情況。

計算各點的機率值:
f(−1)=125(2+(−1)2)=325f(-1) = \frac{1}{25}(2+(-1)^2) = \frac{3}{25}
f(0)=125(2+02)=225f(0) = \frac{1}{25}(2+0^2) = \frac{2}{25}
f(1)=125(2+12)=325f(1) = \frac{1}{25}(2+1^2) = \frac{3}{25}
f(2)=125(2+22)=625f(2) = \frac{1}{25}(2+2^2) = \frac{6}{25}
f(3)=125(2+32)=1125f(3) = \frac{1}{25}(2+3^2) = \frac{11}{25}

步驟二:計算期望值 E(X)
E(X)=∑x=−13x⋅f(x)E(X) = \sum_{x=-1}^{3} x \cdot f(x)

🔒

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

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

免費註冊

第 1.4 題

Consider two independent random variables X and Y, where W = 2X + Y. If X∼N(12,4)X \sim N(12, 4) and Y∼N(20,5)Y \sim N(20, 5), what is the variance of 2W + 5?
(a) 21
(b) 48
(c) 53
(d) 84
(e) 89

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

這一題的完整詳解

此題考驗對常態分佈 (Normal Distribution) 性質的理解,特別是線性組合的期望值與變異數,以及獨立隨機變數的性質。

已知:

  • X∼N(μX=12,σX2=4)X \sim N(\mu_X=12, \sigma_X^2=4),所以 E(X)=12E(X) = 12, Var(X)=4Var(X) = 4。
  • Y∼N(μY=20,σY2=5)Y \sim N(\mu_Y=20, \sigma_Y^2=5),所以 E(Y)=20E(Y) = 20, Var(Y)=5Var(Y) = 5。
  • X 和 Y 是獨立的。
  • W=2X+YW = 2X + Y。

我們要求的是 Var(2W+5)Var(2W + 5)。

步驟一:求解 W 的期望值和變異數
由於 X 和 Y 是獨立的,且它們是常態分佈的,它們的線性組合 W 也是常態分佈的。

  • E(W)=E(2X+Y)=2E(X)+E(Y)=2(12)+20=24+20=44E(W) = E(2X + Y) = 2E(X) + E(Y) = 2(12) + 20 = 24 + 20 = 44。
🔒

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

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

免費註冊

第 1.5 題

A webpage receives 8 visitors per minute, assuming that the intervals between visitor arrivals follow an exponential distribution. What is the probability that no one visits the webpage in the next half-minute?
(a) 0.5
(b) 0.00034
(c) e−4e^{-4}
(d) 8
(e) 1−e−41-e^{-4}

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

這一題的完整詳解

核心觀念

訪客到達間隔服從指數分布,平均每分鐘到達 8 人,因此到達率為

λ=8 人/分鐘\lambda=8\ \text{人/分鐘}

若 TT 表示下一位訪客到達所需的時間,則

T∼Exponential⁡(λ)T\sim \operatorname{Exponential}(\lambda)

指數分布的尾端機率為

P(T>t)=e−λtP(T>t)=e^{-\lambda t}

「接下來半分鐘沒有人造訪」等價於「下一位訪客的到達時間超過 0.50.5 分鐘」。

解題方法

代入 λ=8\lambda=8、t=0.5t=0.5:

P(T>0.5)=e−8(0.5)P(T>0.5)=e^{-8(0.5)} =e−4=e^{-4}

因此,接下來半分鐘沒有訪客的機率為

e−4\boxed{e^{-4}}

數值約為

e−4≈0.0183e^{-4}\approx 0.0183

亦即約 1.83%1.83\%。

也可從卜瓦松過程理解:若每分鐘平均到達 8 人,則半分鐘內的到達人數 N(0.5)N(0.5) 服從

N(0.5)∼Poisson⁡(8×0.5)=Poisson⁡(4)N(0.5)\sim\operatorname{Poisson}(8\times0.5) =\operatorname{Poisson}(4)

所以

P(N(0.5)=0)=e−4400!=e−4P(N(0.5)=0) =\frac{e^{-4}4^0}{0!} =e^{-4}

選項分析

🔒

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

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

免費註冊

第 1.6 題

Sampling 30 samples and calculating their mean, long-term test results indicate that 5% exceed 2.5, and 5% are less than 2. Which value below is closest to the standard deviation of the population?
(a) 0.70
(b) 0.97
(c) 0.83
(d) 0.16
(e) 0.62

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

這一題的完整詳解

此題考驗對中央極限定理 (Central Limit Theorem) 和樣本統計量性質的理解,特別是如何利用樣本均值的極值來估計母體標準差。

題目提到「抽樣 30 個樣本並計算其平均值」,這暗示了我們可能在考慮樣本均值的分佈。
「長期測試結果顯示 5% 的樣本平均值超過 2.5,且 5% 的樣本平均值小於 2」。
這意味著:

  • P(Xˉ>2.5)=0.05P(\bar{X} > 2.5) = 0.05
  • P(Xˉ<2)=0.05P(\bar{X} < 2) = 0.05

根據中央極限定理,當樣本數 n=30n=30 時,樣本均值 Xˉ\bar{X} 的分佈近似於常態分佈,其平均值為母體平均值 μ\mu,標準差為母體標準差 σ\sigma 除以樣本數的平方根 n\sqrt{n} (即標準誤 σXˉ=σ/n\sigma_{\bar{X}} = \sigma / \sqrt{n})。
所以,Xˉ∼N(μ,σ2/n)\bar{X} \sim N(\mu, \sigma^2/n)。

從 P(Xˉ>2.5)=0.05P(\bar{X} > 2.5) = 0.05 和 P(Xˉ<2)=0.05P(\bar{X} < 2) = 0.05,我們可以推斷出 Xˉ\bar{X} 的分佈是對稱的,並且其平均值 μ\mu 位於 2 和 2.5 的中間。
μ=2+2.52=4.52=2.25\mu = \frac{2 + 2.5}{2} = \frac{4.5}{2} = 2.25

現在,我們利用標準常態分佈的性質來找出 σXˉ\sigma_{\bar{X}}。
對於標準常態分佈 Z,我們知道 P(Z>z0.05)=0.05P(Z > z_{0.05}) = 0.05 且 P(Z<−z0.05)=0.05P(Z < -z_{0.05}) = 0.05。
查 Z 表可知,z0.05≈1.645z_{0.05} \approx 1.645。

🔒

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

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

免費註冊

第 1.7 題

Consider a sample with the following numerical results: 95, 89, 76, 88, 90, 100, 90, 92, 98. Assuming the population follows a normal distribution, which of the following is closest to the 90% confidence interval for the population mean?
(a) (87.65, 94.13)
(b) (86.57, 95.20)
(c) (87.68, 94.05)
(d) (86.64, 95.14)
(e) (87.51, 94.49)

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

這一題的完整詳解

此題考驗對母體平均數信賴區間 (Confidence Interval for Population Mean) 的計算。由於母體標準差未知,且樣本數不大,我們需要使用 t 分佈。

步驟一:計算樣本統計量
樣本數據:95, 89, 76, 88, 90, 100, 90, 92, 98。
樣本數 n=9n = 9。

計算樣本平均值 xˉ\bar{x}:
xˉ=95+89+76+88+90+100+90+92+989=8189≈90.8889\bar{x} = \frac{95+89+76+88+90+100+90+92+98}{9} = \frac{818}{9} \approx 90.8889

計算樣本標準差 ss:
首先計算樣本變異數 s2s^2。
s2=∑(xi−xˉ)2n−1s^2 = \frac{\sum(x_i - \bar{x})^2}{n-1}
計算離差平方和:
(95−90.8889)2≈16.89(95-90.8889)^2 \approx 16.89
(89−90.8889)2≈3.57(89-90.8889)^2 \approx 3.57
(76−90.8889)2≈221.69(76-90.8889)^2 \approx 221.69
(88−90.8889)2≈8.35(88-90.8889)^2 \approx 8.35
(90−90.8889)2≈0.79(90-90.8889)^2 \approx 0.79
(100−90.8889)2≈82.97(100-90.8889)^2 \approx 82.97
(90−90.8889)2≈0.79(90-90.8889)^2 \approx 0.79
(92−90.8889)2≈1.23(92-90.8889)^2 \approx 1.23
(98−90.8889)2≈50.57(98-90.8889)^2 \approx 50.57
離差平方和 ∑(xi−xˉ)2≈16.89+3.57+221.69+8.35+0.79+82.97+0.79+1.23+50.57≈386.85\sum(x_i - \bar{x})^2 \approx 16.89 + 3.57 + 221.69 + 8.35 + 0.79 + 82.97 + 0.79 + 1.23 + 50.57 \approx 386.85

🔒

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

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

免費註冊

第 1.8 題

A company wants to estimate the default proportion and aims to do so within a 98% confidence level, with a margin of error controlled at 0.03. No other population information is known. What sample size is needed?
(a) 1068
(b) 1507
(c) 1509
(d) 1069
(e) 1070

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

這一題的完整詳解

核心觀念

本題考查「母體比例之信賴區間」與「樣本數估計」。

在信賴水準 1−α1-\alpha 下,母體比例 pp 的估計誤差上限為

E=zα/2p(1−p)nE=z_{\alpha/2}\sqrt{\frac{p(1-p)}{n}}

其中:

  • EE:誤差上限,本題為 0.030.03
  • zα/2z_{\alpha/2}:標準常態分配臨界值
  • pp:母體比例的先驗估計
  • nn:所需樣本數

本題要求估計違約比例,且「沒有其他母體資訊」,因此採用最保守的比例估計:

p=0.5p=0.5

因為 p(1−p)p(1-p) 在 p=0.5p=0.5 時達到最大值:

p(1−p)=0.5(1−0.5)=0.25p(1-p)=0.5(1-0.5)=0.25

這會得到足以控制誤差的最大樣本數。


解題方法

1. 判定信賴區間臨界值

信賴水準為 98%98\%,因此

α=1−0.98=0.02\alpha=1-0.98=0.02

雙尾檢定需將兩側尾端各分配為 0.010.01,所以臨界值為

zα/2=z0.01=z0.99z_{\alpha/2}=z_{0.01}=z_{0.99}

由標準常態分配表,通常取

z0.99≈2.33z_{0.99}\approx 2.33

2. 推導樣本數公式

由

E=zα/2p(1−p)nE=z_{\alpha/2}\sqrt{\frac{p(1-p)}{n}}

兩邊平方:

E2=zα/22p(1−p)nE^2=z_{\alpha/2}^2\frac{p(1-p)}{n}

整理得

n=zα/22p(1−p)E2n=\frac{z_{\alpha/2}^2p(1-p)}{E^2}

代入 zα/2=2.33z_{\alpha/2}=2.33、p=0.5p=0.5、E=0.03E=0.03:

n=(2.33)2(0.5)(0.5)(0.03)2n=\frac{(2.33)^2(0.5)(0.5)}{(0.03)^2} n=5.4289×0.250.0009n=\frac{5.4289\times 0.25}{0.0009}
🔒

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

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

免費註冊

第 2.1 題

There is a population with a daily average consumption that follows a normal distribution with a mean of 500 and a standard deviation of 100.
(3%) If a random sample is drawn from this population, what is the probability that the daily average consumption exceeds 700?

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

這一題的完整詳解

此題考驗對常態分佈 (Normal Distribution) 的應用,特別是如何計算某個值超過特定門檻的機率。

已知母體分佈為常態分佈:

  • 平均值 μ=500\mu = 500
  • 標準差 σ=100\sigma = 100

我們要求的是「每日平均消費額超過 700」的機率,即 P(X>700)P(X > 700)。

步驟一:將問題標準化 (計算 Z 分數)
我們將 X 值轉換為標準常態分佈 Z 值,其中 Z=X−μσZ = \frac{X - \mu}{\sigma}。

🔒

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

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

免費註冊

第 2.2 題

There is a population with a daily average consumption that follows a normal distribution with a mean of 500 and a standard deviation of 100.
(3%) If a sample of size 3 is taken from the population, what is the probability that the total daily average consumption of the sample is below 1292?

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

這一題的完整詳解

此題考驗對樣本總和 (Sum of Samples) 的分佈性質,特別是當母體為常態分佈時,樣本總和的分佈。

已知母體分佈為常態分佈:

  • 平均值 μ=500\mu = 500
  • 標準差 σ=100\sigma = 100

我們抽取一個樣本,樣本大小 n=3n=3。
我們關心的是「樣本總和」的機率。令 X1,X2,X3X_1, X_2, X_3 為樣本中的三個觀測值。
我們要求的是 P(X1+X2+X3<1292)P(X_1 + X_2 + X_3 < 1292)。

令 T=X1+X2+X3T = X_1 + X_2 + X_3 為樣本總和。
由於母體 XiX_i 服從常態分佈 N(μ,σ2)N(\mu, \sigma^2),且各樣本獨立,
樣本總和 T 服從常態分佈,其平均值和變異數為:

  • E(T)=E(X1+X2+X3)=E(X1)+E(X2)+E(X3)=nμE(T) = E(X_1 + X_2 + X_3) = E(X_1) + E(X_2) + E(X_3) = n \mu
    E(T)=3×500=1500E(T) = 3 \times 500 = 1500。
  • Var(T)=Var(X1+X2+X3)=Var(X1)+Var(X2)+Var(X3)Var(T) = Var(X_1 + X_2 + X_3) = Var(X_1) + Var(X_2) + Var(X_3) (由於獨立性)
🔒

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

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

免費註冊

第 2.3 題

There is a population with a daily average consumption that follows a normal distribution with a mean of 500 and a standard deviation of 100.
(4%) Assuming the distribution of the population is unknown, if 50 random samples are drawn, what is the probability that the total daily average consumption falls between 23,000 and 26,000?

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

這一題的完整詳解

此題考驗對中央極限定理 (Central Limit Theorem, CLT) 的應用,特別是在母體分佈未知的情況下,對樣本總和的分佈進行推論。

已知母體:

  • 平均值 μ=500\mu = 500
  • 標準差 σ=100\sigma = 100
  • 母體分佈未知。

我們抽取樣本,樣本大小 n=50n=50。
我們要求的是「樣本總和」落在 23,000 到 26,000 之間的機率,即 P(23000<T<26000)P(23000 < T < 26000),其中 T=X1+X2+...+X50T = X_1 + X_2 + ... + X_{50}。

根據中央極限定理 (CLT),即使母體分佈未知,當樣本數 nn 足夠大時 (通常 n≥30n \ge 30),樣本總和 T 的分佈近似於常態分佈。
樣本總和 T 的平均值和標準差為:

  • E(T)=nμ=50×500=25000E(T) = n \mu = 50 \times 500 = 25000。
  • Var(T)=nσ2=50×(100)2=50×10000=500000Var(T) = n \sigma^2 = 50 \times (100)^2 = 50 \times 10000 = 500000。
  • σT=Var(T)=500000=50×10000=10050=10025×2=100×52=5002≈500×1.4142=707.1\sigma_T = \sqrt{Var(T)} = \sqrt{500000} = \sqrt{50 \times 10000} = 100 \sqrt{50} = 100 \sqrt{25 \times 2} = 100 \times 5 \sqrt{2} = 500\sqrt{2} \approx 500 \times 1.4142 = 707.1。

所以,T 近似服從常態分佈 N(25000,500000)N(25000, 500000)。

我們要求的是 P(23000<T<26000)P(23000 < T < 26000)。

🔒

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

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

免費註冊

第 3. (a) 題5 分

A researcher is studying whether people's household income is related to which resort they stayed at during holiday season in Kenting. Data of 555 customers of two resorts are summarized in the following table:

Household IncomeResort AResort BTotal
Visited
Less than 250K267298
250K to 500K3876114
500K to 750K7673149
750K to 1000K573491
Above 1000K5053103
Total247308555

(a) (5%) State the hypothesis of interest.

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

這一題的完整詳解

此題考驗對統計檢定的基本假設陳述的理解,特別是獨立性檢定中的虛無假設與對立假設。

這個研究的目的是探討「家庭收入」與「入住的度假村」之間是否存在關聯。這是一個典型的適合使用卡方獨立性檢定 (Chi-squared Test of Independence) 的情境。

虛無假設 (H0H_0): 兩個分類變數是獨立的。
在此情境下,虛無假設表示「家庭收入」與「選擇的度假村」是獨立的。也就是說,一個人選擇入住哪個度假村與他們的家庭收入水平沒有關係。

🔒

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

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

免費註冊

第 3. (b) 題10 分

A researcher is studying whether people's household income is related to which resort they stayed at during holiday season in Kenting. Data of 555 customers of two resorts are summarized in the following table:

Household IncomeResort AResort BTotal
Visited
Less than 250K267298
250K to 500K3876114
500K to 750K7673149
750K to 1000K573491
Above 1000K5053103
Total247308555

(b) (10%) Test the above hypothesis using α=0.05\alpha = 0.05. What is your conclusion?

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

這一題的完整詳解

此題考驗對卡方獨立性檢定 (Chi-squared Test of Independence) 的實際操作與結論解釋。

步驟一:陳述虛無假設與對立假設
如問題 (a) 所述:
H0H_0: 家庭收入與選擇的度假村是獨立的。
H1H_1: 家庭收入與選擇的度假村不是獨立的。
顯著水準 α=0.05\alpha = 0.05。

步驟二:計算期望次數 (Expected Counts)
在卡方獨立性檢定中,我們假設 H0H_0 為真,然後計算在 H0H_0 為真時,各儲存格的期望次數 EijE_{ij}。
期望次數的公式為:Eij=(列合計)×(行合計)總計E_{ij} = \frac{(\text{列合計}) \times (\text{行合計})}{\text{總計}}。
總計 = 555。

  • Less than 250K:
    E11=98×247555≈43.75E_{11} = \frac{98 \times 247}{555} \approx 43.75
    E12=98×308555≈54.25E_{12} = \frac{98 \times 308}{555} \approx 54.25
  • 250K to 500K:
    E21=114×247555≈50.83E_{21} = \frac{114 \times 247}{555} \approx 50.83
    E22=114×308555≈63.17E_{22} = \frac{114 \times 308}{555} \approx 63.17
  • 500K to 750K:
    E31=149×247555≈66.44E_{31} = \frac{149 \times 247}{555} \approx 66.44
    E32=149×308555≈82.56E_{32} = \frac{149 \times 308}{555} \approx 82.56
  • 750K to 1000K:
    E41=91×247555≈40.57E_{41} = \frac{91 \times 247}{555} \approx 40.57
    E42=91×308555≈50.43E_{42} = \frac{91 \times 308}{555} \approx 50.43
  • Above 1000K:
    E51=103×247555≈45.91E_{51} = \frac{103 \times 247}{555} \approx 45.91
    E52=103×308555≈57.09E_{52} = \frac{103 \times 308}{555} \approx 57.09

步驟三:計算卡方統計量 (χ2\chi^2)
卡方統計量公式為:χ2=∑i,j(Oij−Eij)2Eij\chi^2 = \sum_{i,j} \frac{(O_{ij} - E_{ij})^2}{E_{ij}},其中 OijO_{ij} 是觀察到的次數。

🔒

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

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

免費註冊

第 4. (a) 題5 分

30 students took the Statistic course and 20 of them passed the subject. Some of the students formed their study teams while they were taking the class. If a student joined a study team, the variable StudyMate is recorded as "1" and "0" otherwise. The following Minitab outputs show the relation of passing the subject between (1) hours spent on the study and (2) did the student have a study mate.

Link Function: Logit
Response Information
Variable Value Count
Pass
1 20 (Event)
0 10
Total 30

Logistic Regression Table
Predictor
Constant
Coef
SE Coef
Z
P
Odds Ratio
95% CI
Lower Upper
-4.64843 1.96797 -2.36 0.018
StudyingHours 0.192944 0.0772543 2.50 0.013 1.21 1.04 1.41
Study Mate 1.40216 2.01 0.044 8.52 0.55 133.06
Log-Likelihood = -10.076
Test that all slopes are zero: G = 18.038, DF = 2, P-Value = 0.000

(a) (5%) What is the estimated logistic regression equation for the problem?

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

這一題的完整詳解

此題考驗對羅吉斯迴歸 (Logistic Regression) 結果的解讀,特別是如何根據 Minitab 輸出的係數來建立模型方程式。

羅吉斯迴歸模型的標準形式為:
ln⁡(p1−p)=β0+β1X1+β2X2+...\ln\left(\frac{p}{1-p}\right) = \beta_0 + \beta_1 X_1 + \beta_2 X_2 + ...
其中 pp 是事件發生的機率 (在此為通過考試的機率),β0\beta_0 是截距項 (Constant),β1,β2,...\beta_1, \beta_2, ... 是各預測變數的係數。

從 Minitab 的輸出中,我們可以看到:

  • 截距項 (Constant) 的係數 (Coef) 為 -4.64843。
  • 預測變數 StudyingHours 的係數 (Coef) 為 0.192944。
  • 預測變數 Study Mate 的係數 (Coef) 為 1.40216。
🔒

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

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

免費註冊

第 4. (b) 題5 分

30 students took the Statistic course and 20 of them passed the subject. Some of the students formed their study teams while they were taking the class. If a student joined a study team, the variable StudyMate is recorded as "1" and "0" otherwise. The following Minitab outputs show the relation of passing the subject between (1) hours spent on the study and (2) did the student have a study mate.

Link Function: Logit
Response Information
Variable Value Count
Pass
1 20 (Event)
0 10
Total 30

Logistic Regression Table
Predictor
Constant
Coef
SE Coef
Z
P
Odds Ratio
95% CI
Lower Upper
-4.64843 1.96797 -2.36 0.018
StudyingHours 0.192944 0.0772543 2.50 0.013 1.21 1.04 1.41
Study Mate 1.40216 2.01 0.044 8.52 0.55 133.06
Log-Likelihood = -10.076
Test that all slopes are zero: G = 18.038, DF = 2, P-Value = 0.000

(b) (5%) If a student spent 20 hours on study and she had a study mate, what is her probability to pass the course according to (a)?

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

這一題的完整詳解

此題考驗如何利用上一個問題 (4.a) 中建立的羅吉斯迴歸模型,計算特定條件下的事件發生機率。

從問題 (4.a) 我們得到的估計羅吉斯迴歸方程式是:
ln⁡(p^1−p^)=−4.64843+0.192944×StudyingHours+1.40216×Study Mate\ln\left(\frac{\hat{p}}{1-\hat{p}}\right) = -4.64843 + 0.192944 \times \text{StudyingHours} + 1.40216 \times \text{Study Mate}
其中 p^\hat{p} 是通過考試的機率。

根據題目給定的條件:

  • 學生學習時數 StudyingHours = 20 小時。
  • 該學生有讀書夥伴,所以 Study Mate = 1。

將這些值代入方程式:
ln⁡(p^1−p^)=−4.64843+0.192944×(20)+1.40216×(1)\ln\left(\frac{\hat{p}}{1-\hat{p}}\right) = -4.64843 + 0.192944 \times (20) + 1.40216 \times (1)

🔒

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

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

免費註冊

第 4. (c) 題5 分

30 students took the Statistic course and 20 of them passed the subject. Some of the students formed their study teams while they were taking the class. If a student joined a study team, the variable StudyMate is recorded as "1" and "0" otherwise. The following Minitab outputs show the relation of passing the subject between (1) hours spent on the study and (2) did the student have a study mate.

Link Function: Logit
Response Information
Variable Value Count
Pass
1 20 (Event)
0 10
Total 30

Logistic Regression Table
Predictor
Constant
Coef
SE Coef
Z
P
Odds Ratio
95% CI
Lower Upper
-4.64843 1.96797 -2.36 0.018
StudyingHours 0.192944 0.0772543 2.50 0.013 1.21 1.04 1.41
Study Mate 1.40216 2.01 0.044 8.52 0.55 133.06
Log-Likelihood = -10.076
Test that all slopes are zero: G = 18.038, DF = 2, P-Value = 0.000

(c) (5%) What is the change in the odds if a student decided to join a study team?

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

這一題的完整詳解

此題考驗對羅吉斯迴歸中 Odds Ratio (勝算比) 的解釋,特別是當一個預測變數從 0 變為 1 時,事件發生的勝算如何改變。

在羅吉斯迴歸中,預測變數的係數 β\beta 的指數 eβe^\beta 就是該預測變數的 Odds Ratio。Odds Ratio 表示當該預測變數增加一個單位時,事件發生的勝算 (odds) 變化的比例。

在我們的模型中,Study Mate 是一個二元變數:

  • Study Mate = 0 代表沒有讀書夥伴。
  • Study Mate = 1 代表有讀書夥伴。
🔒

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

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

免費註冊

第 5. (a) 題10 分

The following table shows the improvement of metal hardening process over their original values (in percentage). The first row is the results of 8 samples from the current process and the second from the new process (the larger the better).

12345678
current6657987268778160
new80701206759838579

(a) (10%) Formulate a Mann-Whitney U test to see if the new process is indeed better than the current process. (α=0.05\alpha = 0.05)

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

這一題的完整詳解

核心觀念

  • Mann‑Whitney U 檢定:非參數檢定,用於比較兩個獨立樣本的分布是否有次序差異(不要求常態性)。
  • 檢定假設
    • H0H_0:兩組觀測值的分布相同(或中位數相等)。
    • H1H_1:新製程的金屬硬化改進值較大(單尾右側檢定)。
  • 統計量:
    U=n1n2+n1(n1+1)2−R1U = n_1n_2 + \frac{n_1(n_1+1)}{2} - R_1
    其中 n1,n2n_1,n_2 為兩樣本大小,R1R_1 為樣本 1(本題取 new)的秩和。

解題方法

  1. 合併兩組資料,從小到大排列,給予 秩 (rank),若有相同值則取平均秩(本題無重複)。
  2. 計算新製程的秩和 RnewR_{\text{new}}。
  3. 代入 UU 公式得到 UnewU_{\text{new}}。
  4. 決定臨界值或 p 值:
    • 直接使用 Mann‑Whitney 完整分布表(n1=n2=8n_1=n_2=8)查找單尾 α=0.05\alpha=0.05 的臨界值;
    • 或以 常態近似(n1,n2≥8n_1,n_2\ge8)計算 zz,將 UU 轉換為標準分數。
  5. 比較:若 Unew≤U_{\text{new}} \le 臨界值(或 p<αp<\alpha),拒絕 H0H_0,認為新製程較佳;否則不拒絕。

計算步驟

  1. 資料排序與秩分配
值所屬樣本秩
57current1
59new2
60current3
66current4
67new5
68current6
70new7
72current8
77current9
79new10
80new11
81current12
83new13
85new14
98current15
120new16
  1. 新製程秩和 RnewR_{\text{new}}

Rnew=2+5+7+10+11+13+14+16=78R_{\text{new}} = 2+5+7+10+11+13+14+16 = 78

  1. 計算 UnewU_{\text{new}}
🔒

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

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

免費註冊

第 5. (b) 題10 分

The following table shows the improvement of metal hardening process over their original values (in percentage). The first row is the results of 8 samples from the current process and the second from the new process (the larger the better).

12345678
current6657987268778160
new80701206759838579

(b) (10%) Now suppose each tested sample received both treatments and generated the same results as the above table. Formulate a paired t-test to see if the new process is better than the current process. (α=0.05\alpha = 0.05)

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

這一題的完整詳解

核心觀念

  • 配對樣本 t 檢定(paired‑t test):用於比較同一單位在兩種處理下的平均差異。
  • 假設
    • H0 ⁣: μd=0H_0\!:\ \mu_d = 0(新舊工藝差異的母體平均為 0)
    • H1 ⁣: μd>0H_1\!:\ \mu_d > 0(新工藝的平均改進比例大於舊工藝)
  • 檢定統計量
    t=dˉsd/nt = \frac{\bar d}{s_d/\sqrt{n}}
    其中 dˉ\bar d 為差值樣本平均,sds_d 為差值樣本標準差,nn 為配對樣本數。
  • 自由度 df=n−1df = n-1。
  • 顯著水準 α=0.05\alpha = 0.05(單尾檢定)。

解題方法

  1. 計算每對樣本的差值
    di=newi−currentid_i = \text{new}_i - \text{current}_i
i12345678current6657987268778160new80701206759838579di141322−5−96419\begin{array}{c|cccccccc} i & 1&2&3&4&5&6&7&8\\\hline \text{current}&66&57&98&72&68&77&81&60\\ \text{new}&80&70&120&67&59&83&85&79\\ d_i &14&13&22&-5&-9&6&4&19 \end{array}
  1. 求差值的樣本平均 dˉ\bar d
dˉ=18∑i=18di=14+13+22−5−9+6+4+198=648=8.\bar d = \frac{1}{8}\sum_{i=1}^{8} d_i = \frac{14+13+22-5-9+6+4+19}{8} = \frac{64}{8}=8.
  1. 求差值的樣本變異數與標準差
sd2=∑(di−dˉ)2n−1,sd=sd2.s_d^2 = \frac{\sum (d_i-\bar d)^2}{n-1},\qquad s_d = \sqrt{s_d^2}.

計算每個 (di−dˉ)2(d_i-\bar d)^2:

🔒

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

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

免費註冊

其他考古題