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

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

第 1 題20 分

Suppose that a random variable XX has pdf
fX(x)={6x(1−x),0<x<10,elsewheref_X(x) = \begin{cases} 6x(1 - x), & 0 < x < 1 \\ 0, & \text{elsewhere} \end{cases}

Let YY be a second random variable, where Y=2X+1Y = 2X + 1. What is the pdf for YY?

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

這一題的完整詳解

核心觀念

本題的核心觀念為單變量連續型隨機變數的變數變換(Transformation of Continuous Random Variables)。

若已知連續型隨機變數 XX 的機率密度函數(pdf)為 fX(x)f_X(x),且 Y=g(X)Y = g(X) 為 XX 的嚴格單調遞增(或遞減)函數,則可利用「單調變換法(Change-of-Variable Technique)」或「累積分配函數法(CDF Method)」推導出 YY 的機率密度函數 fY(y)f_Y(y):

  1. 單調變換公式:
    若 y=g(x)y = g(x) 具備嚴格單調性(一對一),其反函數為 x=g−1(y)x = g^{-1}(y),則 YY 的 pdf 為: fY(y)=fX(g−1(y))⋅∣dxdy∣f_Y(y) = f_X(g^{-1}(y)) \cdot \left| \frac{dx}{dy} \right|
  2. 支撐集(Support)的對應映射:
    變換後的隨機變數 YY 其定義域必須由原本 XX 的有效範圍經由 g(x)g(x) 嚴格轉換求得。

解題方法

本題 Y=2X+1Y = 2X + 1 為線性變換,具有嚴格單調遞增性質,使用單調變換公式求解最為直接高效。

步驟一:求反函數及其 Jacobian(導數絕對值)

令 y=g(x)=2x+1y = g(x) = 2x + 1,解出 xx 作為 yy 的函數:

x=g−1(y)=y−12x = g^{-1}(y) = \frac{y - 1}{2}

計算對 yy 的微分與絕對值:

dxdy=12  ⟹  ∣dxdy∣=12\frac{dx}{dy} = \frac{1}{2} \implies \left| \frac{dx}{dy} \right| = \frac{1}{2}

步驟二:求 YY 的支撐集(Support)

已知 XX 的支撐集為 0<x<10 < x < 1。
將 x=y−12x = \frac{y - 1}{2} 代入不等式:

0<y−12<10 < \frac{y - 1}{2} < 1

同乘以 2:

0<y−1<20 < y - 1 < 2

同加上 1:

1<y<31 < y < 3

步驟三:代入變換公式求解 fY(y)f_Y(y)

將 x=y−12x = \frac{y - 1}{2} 及 ∣dxdy∣=12\left| \frac{dx}{dy} \right| = \frac{1}{2} 代入原 pdf:

🔒

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

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

免費註冊

第 2 題10 分

Suppose that XX and YY are independent random variables with the standard deviations σX=3\sigma_X = 3 and σY=4\sigma_Y = 4. Let Z=Y−XZ = Y - X. Find the covariance Cov⁡(X,Z)\operatorname{Cov}(X, Z) and the correlation ρ(X,Z)\rho(X, Z) of XX and ZZ.

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

這一題的完整詳解

核心觀念

本題評量隨機變數的線性組合之共變異數(Covariance)、**變異數(Variance)以及皮爾森相關係數(Pearson Correlation Coefficient)**的運算性質。核心公式與性質如下:

  1. 獨立隨機變數之性質:若 XX 與 YY 相互獨立,則其共變異數為零,即: Cov⁡(X,Y)=0\operatorname{Cov}(X, Y) = 0
  2. 共變異數的雙線性性質(Bilinearity): Cov⁡(X,aY+bX)=aCov⁡(X,Y)+bCov⁡(X,X)=aCov⁡(X,Y)+bVar⁡(X)\operatorname{Cov}(X, aY + bX) = a\operatorname{Cov}(X, Y) + b\operatorname{Cov}(X, X) = a\operatorname{Cov}(X, Y) + b\operatorname{Var}(X)
  3. 線性組合的變異數:若 XX 與 YY 獨立,則: Var⁡(aX+bY)=a2Var⁡(X)+b2Var⁡(Y)\operatorname{Var}(aX + bY) = a^2 \operatorname{Var}(X) + b^2 \operatorname{Var}(Y)
  4. 相關係數定義: ρ(X,Z)=Cov⁡(X,Z)σXσZ\rho(X, Z) = \frac{\operatorname{Cov}(X, Z)}{\sigma_X \sigma_Z}

解題方法

由題意已知:

  • XX 與 YY 相互獨立,故 Cov⁡(X,Y)=0\operatorname{Cov}(X, Y) = 0。
  • 標準差 σX=3  ⟹  Var⁡(X)=σX2=32=9\sigma_X = 3 \implies \operatorname{Var}(X) = \sigma_X^2 = 3^2 = 9。
  • 標準差 σY=4  ⟹  Var⁡(Y)=σY2=42=16\sigma_Y = 4 \implies \operatorname{Var}(Y) = \sigma_Y^2 = 4^2 = 16。
  • Z=Y−XZ = Y - X。

第一步:求解共變異數 Cov⁡(X,Z)\operatorname{Cov}(X, Z)

利用共變異數的線性展開性質:

Cov⁡(X,Z)=Cov⁡(X,Y−X)\operatorname{Cov}(X, Z) = \operatorname{Cov}(X, Y - X) =Cov⁡(X,Y)−Cov⁡(X,X)= \operatorname{Cov}(X, Y) - \operatorname{Cov}(X, X)

因為 XX 與 YY 獨立,Cov⁡(X,Y)=0\operatorname{Cov}(X, Y) = 0,且任一隨機變數與自身的共變異數等於其變異數,即 Cov⁡(X,X)=Var⁡(X)\operatorname{Cov}(X, X) = \operatorname{Var}(X):

🔒

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

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

免費註冊

第 3 題20 分

A coin is thrown independently 10 times to test the hypothesis that the probability of heads is 1/21/2 versus the alternative that the probability is not 1/21/2. The test rejects if either 0 or 10 heads are observed.

(a) What is the significance level of the test?
(b) If in fact the probability of heads is 0.1, what is the power of the test?

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

這一題的完整詳解

核心觀念

本題考驗**假說檢定(Hypothesis Testing)**中兩大核心指標的計算:

  1. 二項分配(Binomial Distribution):
    設隨機變數 XX 為 10 次獨立投擲中出現正面的次數。在成功機率(出現正面機率)為 pp 的條件下,X∼Binomial(n=10,p)X \sim \text{Binomial}(n=10, p),其機率質量函數(PMF)為:
    P(X=k)=(10k)pk(1−p)10−k,k=0,1,…,10P(X = k) = \binom{10}{k} p^k (1-p)^{10-k}, \quad k = 0, 1, \dots, 10

  2. 顯著水準(Significance Level, α\alpha):
    定義為型 I 錯誤(Type I Error)發生的機率,即「在虛無假說 H0H_0 為真的條件下,檢定卻落在拒絕域(Rejection Region)而做出拒絕 H0H_0 決策的機率」:
    α=P(Reject H0∣H0 is true)\alpha = P(\text{Reject } H_0 \mid H_0 \text{ is true})

  3. 檢定力(Power of the Test, 1−β1 - \beta):
    定義為「在對立假說下的某一特定母數值(此處為 p=0.1p = 0.1)為真的條件下,檢定正確拒絕 H0H_0 的機率」:
    Power=P(Reject H0∣p=0.1)\text{Power} = P(\text{Reject } H_0 \mid p = 0.1)


解題方法與詳細推導

依題意建立假說:
H0:p=12vs.H1:p≠12H_0: p = \frac{1}{2} \quad \text{vs.} \quad H_1: p \neq \frac{1}{2}

檢定規則給定之拒絕域(Critical Region)為 C={X=0 或 X=10}C = \{X = 0 \text{ 或 } X = 10\}。

(a) 求檢定的顯著水準 α\alpha

顯著水準即在 p=12p = \frac{1}{2} 之條件下,觀察值落在拒絕域的機率:
α=P(X∈{0,10}  |  p=12)=P(X=0  |  p=12)+P(X=10  |  p=12)\alpha = P\left(X \in \{0, 10\} \;\middle|\; p = \frac{1}{2}\right) = P\left(X = 0 \;\middle|\; p = \frac{1}{2}\right) + P\left(X = 10 \;\middle|\; p = \frac{1}{2}\right)

由二項分配公式計算各別機率:
P(X=0  |  p=12)=(100)(12)0(1−12)10=(12)10=11024P\left(X = 0 \;\middle|\; p = \frac{1}{2}\right) = \binom{10}{0} \left(\frac{1}{2}\right)^0 \left(1 - \frac{1}{2}\right)^{10} = \left(\frac{1}{2}\right)^{10} = \frac{1}{1024}

🔒

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

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

免費註冊
📄 以下 2 題共用同一段題幹

In a manufacturing company, a new method to perform a production task is introduced. The company wants to see if the new method can significantly reduce the mean task completion time. In choosing the sampling procedure used to collect task completion time, a matched sample design is used. Seven workers are randomly chosen to use the traditional and new method separately to complete a production task. Task completion times from each worker are recorded (in seconds) in the following table. It is assumed that the task completion time follows normal distributions.

Worker1234567
Traditional method56666758696263
New method46606752605557

第 4-(1) 題5 分

Suppose that the task completion time using the Traditional method follows a normal distribution, N(μT,σT2)N(\mu_T, \sigma_T^2). Use the data from the table above and find a 95% two-sided confidence interval for the population variance, σT2\sigma_T^2 (use the data from Traditional method row only).

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

這一題的完整詳解

核心觀念

本題評量常態母體變異數的雙尾信賴區間估計。

  1. 基本假設:
    母體資料來自常態分佈 X∼N(μT,σT2)X \sim N(\mu_T, \sigma_T^2),且母體平均數 μT\mu_T 未知。
  2. 樞紐變量(Pivotal Quantity):
    設樣本數為 nn,樣本變異數為 ST2=1n−1∑i=1n(Xi−Xˉ)2S_T^2 = \frac{1}{n-1}\sum_{i=1}^n (X_i - \bar{X})^2。
    根據常態抽樣分配理論,統計量: (n−1)ST2σT2∼χ2(n−1)\frac{(n-1)S_T^2}{\sigma_T^2} \sim \chi^2(n-1) 服從自由度為 ν=n−1\nu = n - 1 的卡方分佈(Chi-Square Distribution)。
  3. 雙尾信賴區間公式:
    母體變異數 σT2\sigma_T^2 的 100(1−α)%100(1-\alpha)\% 雙尾信賴區間為: P(χ1−α/2, n−12≤(n−1)ST2σT2≤χα/2, n−12)=1−αP\left( \chi^2_{1-\alpha/2, \, n-1} \le \frac{(n-1)S_T^2}{\sigma_T^2} \le \chi^2_{\alpha/2, \, n-1} \right) = 1 - \alpha 經由不等式移項整理,可得 σT2\sigma_T^2 的信賴區間為: [(n−1)ST2χα/2, n−12,  (n−1)ST2χ1−α/2, n−12]\left[ \frac{(n-1)S_T^2}{\chi^2_{\alpha/2, \, n-1}}, \; \frac{(n-1)S_T^2}{\chi^2_{1-\alpha/2, \, n-1}} \right] 其中 χa, ν2\chi^2_{a, \, \nu} 代表自由度為 ν\nu 之卡方分佈右尾面積為 aa 的臨界值。

解題方法

步驟一:計算樣本統計量

題幹中傳統方法(Traditional method)共 n=7n = 7 筆觀察值:

X={56,66,67,58,69,62,63}X = \{56, 66, 67, 58, 69, 62, 63\}
  1. 樣本平均數(Xˉ\bar{X}):

    Xˉ=∑i=17Xi7=56+66+67+58+69+62+637=4417=63\bar{X} = \frac{\sum_{i=1}^7 X_i}{7} = \frac{56 + 66 + 67 + 58 + 69 + 62 + 63}{7} = \frac{441}{7} = 63
  2. 離均差平方和(SSSS)與樣本變異數(ST2S_T^2):
    計算各觀測值對平均數的離均差與平方:

    • (56−63)2=(−7)2=49(56 - 63)^2 = (-7)^2 = 49
    • (66−63)2=(3)2=9(66 - 63)^2 = (3)^2 = 9
    • (67−63)2=(4)2=16(67 - 63)^2 = (4)^2 = 16
    • (58−63)2=(−5)2=25(58 - 63)^2 = (-5)^2 = 25
    • (69−63)2=(6)2=36(69 - 63)^2 = (6)^2 = 36
    • (62−63)2=(−1)2=1(62 - 63)^2 = (-1)^2 = 1
    • (63−63)2=(0)2=0(63 - 63)^2 = (0)^2 = 0
    SS=(n−1)ST2=∑i=17(Xi−Xˉ)2=49+9+16+25+36+1+0=136SS = (n-1)S_T^2 = \sum_{i=1}^7 (X_i - \bar{X})^2 = 49 + 9 + 16 + 25 + 36 + 1 + 0 = 136
🔒

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

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

免費註冊

第 4-(2) 題10 分

Analyze the data from this table. Formulate the hypotheses that can be used to determine if the new methods can significantly reduce the mean task completion time? Use α=0.05\alpha = 0.05. Explicitly present your null hypothesis, test procedure and conclusion.

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

這一題的完整詳解

核心觀念

本題屬於成對樣本(Matched-pairs / Paired Samples)的平均數差檢定。
當同一組受試者(7 位工人)分別接受兩種不同處理(傳統方法與新方法)時,觀測值彼此不獨立,應消除個體間差異(Block effect)。

令配對差值為 Di=X1i−X2iD_i = X_{1i} - X_{2i}(其中 X1iX_{1i} 為第 ii 位工人使用傳統方法的時間,X2iX_{2i} 為使用新方法的時間)。
假設母體差值服從常態分佈 D∼N(μd,σd2)D \sim N(\mu_d, \sigma_d^2),因母體標準差 σd\sigma_d 未知且樣本數為小樣本(n=7n = 7),應採用成對樣本 tt 檢定(Paired tt-test)。

相關公式:

  • 配對差值樣本平均數:
    dˉ=1n∑i=1ndi\bar{d} = \frac{1}{n} \sum_{i=1}^n d_i
  • 配對差值樣本標準差:
    sd=∑i=1n(di−dˉ)2n−1=∑i=1ndi2−ndˉ2n−1s_d = \sqrt{\frac{\sum_{i=1}^n (d_i - \bar{d})^2}{n - 1}} = \sqrt{\frac{\sum_{i=1}^n d_i^2 - n\bar{d}^2}{n - 1}}
  • 檢定統計量:
    t=dˉ−μd0sd/n∼t(n−1)t = \frac{\bar{d} - \mu_{d0}}{s_d / \sqrt{n}} \sim t(n-1)

解題方法

1. 資料整理與計算配對差值

定義配對差值 di=Traditionali−Newid_i = \text{Traditional}_i - \text{New}_i:

工人 ii傳統方法 (X1iX_{1i})新方法 (X2iX_{2i})差值 di=X1i−X2id_i = X_{1i} - X_{2i}di2d_i^2
1564610100
26660636
3676700
45852636
56960981
66255749
76357636
總和——∑di=44\sum d_i = 44∑di2=338\sum d_i^2 = 338
  • 樣本數:n=7n = 7
  • 樣本平均差:
    dˉ=447≈6.2857\bar{d} = \frac{44}{7} \approx 6.2857
  • 樣本變異數:
    sd2=∑di2−ndˉ2n−1=338−7×(447)26=338−193676=338−276.57146=61.42866≈10.2381s_d^2 = \frac{\sum d_i^2 - n\bar{d}^2}{n - 1} = \frac{338 - 7 \times \left(\frac{44}{7}\right)^2}{6} = \frac{338 - \frac{1936}{7}}{6} = \frac{338 - 276.5714}{6} = \frac{61.4286}{6} \approx 10.2381
  • 樣本標準差:
    sd=10.2381≈3.20s_d = \sqrt{10.2381} \approx 3.20
  • 平均數標準誤:
    SE(dˉ)=sdn=10.23817=1.4626≈1.2094\text{SE}(\bar{d}) = \frac{s_d}{\sqrt{n}} = \sqrt{\frac{10.2381}{7}} = \sqrt{1.4626} \approx 1.2094

2. 假設檢定步驟

🔒

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

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

免費註冊
📄 以下 2 題共用同一段題幹

A cardboard cans manufacturer recently purchased a new machine for producing cardboard cans. He would like to conduct a hypothesis testing to see if the fraction of nonconforming cans, pp, produced by this machine is acceptable. A nonconforming can may leak around the bottom of the can. To conduct this test, he decides to take a sample with sample size, nn, from the manufacturing process and thus the number of nonconforming cans (XX) in this sample is a random variable. If there are more than rr nonconforming cans in the sample, he will conclude that the fraction of nonconforming cans is not acceptable and he has to adjust the settings of this machine. However, he does not know how to choose appropriate number of nn and rr.

第 5-(1) 題16 分

Use the normal approximation of the distribution of XX and use the following conditions to determine the smallest value of nn and the corresponding value of rr:

(i) If the true fraction of nonconforming cans is 0.1, the probability of X≥rX \ge r is smaller than 0.05.
(ii) If the true fraction of nonconforming cans is 0.2, the probability of X≥rX \ge r is greater than 0.95.

Find the closest positive integer combination of nn and rr satisfying the previous two conditions.

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

這一題的完整詳解

核心觀念

本題考查二項分配的常態近似(Normal Approximation to Binomial Distribution)以及在單尾假說檢定/驗收抽樣中,如何同時控制型 I 錯誤(Type I Error, α\alpha)與型 II 錯誤(Type II Error, β\beta)來決定最適樣本數 nn 與臨界值(Cutoff / Rejection Number)rr。

  1. 二項分配及其常態近似:
    設 XX 為樣本中不良品個數,則 X∼Binomial(n,p)X \sim \text{Binomial}(n, p),其期望值為 E(X)=npE(X) = np,變異數為 Var(X)=np(1−p)\text{Var}(X) = np(1-p)。當 nn 充分大時,根據中央極限定理:

    X∼˙N(np, np(1−p))X \mathbin{\dot{\sim}} N\big(np,\, np(1-p)\big)

    標準化隨機變數為:

    Z=X−npnp(1−p)∼˙N(0,1)Z = \frac{X - np}{\sqrt{np(1-p)}} \mathbin{\dot{\sim}} N(0, 1)
  2. 檢定條件與錯誤率對應:

    • 拒絕域為 {X≥r}\{X \ge r\}。
    • 條件 (i):當真實不良率 p0=0.1p_0 = 0.1 時,拒絕的機率不超過 α=0.05\alpha = 0.05: P(X≥r∣p=0.1)≤0.05P(X \ge r \mid p = 0.1) \le 0.05
    • 條件 (ii):當不良率惡化至 p1=0.2p_1 = 0.2 時,能正確拒絕(檢定力 1−β1 - \beta)的機率大於 1−β=0.951 - \beta = 0.95(即型 II 錯誤 β≤0.05\beta \le 0.05): P(X≥r∣p=0.2)≥0.95P(X \ge r \mid p = 0.2) \ge 0.95
    • 標準常態分配臨界值:z0.05=1.645z_{0.05} = 1.645(滿足 P(Z≥1.645)=0.05P(Z \ge 1.645) = 0.05,P(Z≥−1.645)=0.95P(Z \ge -1.645) = 0.95)。

解題方法

步驟一:依常態近似建立條件式

根據標準化公式:

  1. 由條件 (i),當 p=0.1p = 0.1 時:

    P(X≥r)=P(Z≥r−0.1n0.1(0.9)n)≤0.05P(X \ge r) = P\left(Z \ge \frac{r - 0.1n}{\sqrt{0.1(0.9)n}}\right) \le 0.05

    由於標準常態分配右尾機率小於等於 0.050.05,其標準化邊界值必須大於等於 z0.05=1.645z_{0.05} = 1.645:

    r−0.1n0.09n≥1.645  ⟹  r−0.1n≥1.645×0.3n=0.4935n— (1)\frac{r - 0.1n}{\sqrt{0.09n}} \ge 1.645 \implies r - 0.1n \ge 1.645 \times 0.3\sqrt{n} = 0.4935\sqrt{n} \quad \text{--- (1)}
  2. 由條件 (ii),當 p=0.2p = 0.2 時:

    P(X≥r)=P(Z≥r−0.2n0.2(0.8)n)≥0.95P(X \ge r) = P\left(Z \ge \frac{r - 0.2n}{\sqrt{0.2(0.8)n}}\right) \ge 0.95

    由於標準常態分配右尾機率大於等於 0.950.95,其標準化邊界值必須小於等於 −z0.05=−1.645-z_{0.05} = -1.645:

    r−0.2n0.16n≤−1.645  ⟹  r−0.2n≤−1.645×0.4n=−0.658n— (2)\frac{r - 0.2n}{\sqrt{0.16n}} \le -1.645 \implies r - 0.2n \le -1.645 \times 0.4\sqrt{n} = -0.658\sqrt{n} \quad \text{--- (2)}

步驟二:聯立求最小樣本數 nn

結合式 (1) 與式 (2),臨界值 rr 必須滿足區間:

0.1n+0.4935n≤r≤0.2n−0.658n0.1n + 0.4935\sqrt{n} \le r \le 0.2n - 0.658\sqrt{n}
🔒

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

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

免費註冊

第 5-(2) 題4 分

Based on your solutions in (1), to test H0:p≤0.1H_0: p \le 0.1, the rejection region is {X≥r}\{X \ge r\}. When p=0.25p = 0.25, what are the probability of Type II error and the power of this test?

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

這一題的完整詳解

核心觀念

本題考查假設檢定中型二誤差機率(Type II error probability, β\beta)與檢定力(Power, 1−β1-\beta)的定義與計算。

  1. 二項分配模型(Binomial Distribution):
    自製程中隨機抽取容量為 nn 的樣本,設 XX 為不良品個數(nonconforming cans),則 X∼Binomial(n,p)X \sim \text{Binomial}(n, p): P(X=k)=(nk)pk(1−p)n−k,k=0,1,…,nP(X = k) = \binom{n}{k} p^k (1-p)^{n-k}, \quad k = 0, 1, \dots, n
  2. 拒絕域與不拒絕域:
    檢定假設為 H0:p≤0.1H_0: p \le 0.1 vs H1:p>0.1H_1: p > 0.1。
    題目設定之拒絕域(Rejection Region, RRRR)為: RR={X≥r}RR = \{X \ge r\} 相對應之接受域(不拒絕域, Non-rejection Region, NRRNRR)即為: NRR={X<r}={X≤r−1}NRR = \{X < r\} = \{X \le r - 1\}
  3. 型二誤差機率(β\beta)與檢定力(Power)定義:
    當真實母體比例為對立假設中的特定數值 p=0.25p = 0.25 時:
    • 型二誤差機率 β(0.25)\beta(0.25):當 p=0.25p = 0.25 為真時,未拒絕 H0H_0 的機率。 β(0.25)=P(Fail to reject H0∣p=0.25)=P(X<r∣p=0.25)=∑k=0r−1(nk)(0.25)k(0.75)n−k\beta(0.25) = P(\text{Fail to reject } H_0 \mid p = 0.25) = P(X < r \mid p = 0.25) = \sum_{k=0}^{r-1} \binom{n}{k} (0.25)^k (0.75)^{n-k}
    • 檢定力 Power(0.25)\text{Power}(0.25):當 p=0.25p = 0.25 為真時,正確拒絕 H0H_0 的機率。 Power(0.25)=1−β(0.25)=P(X≥r∣p=0.25)=∑k=rn(nk)(0.25)k(0.75)n−k\text{Power}(0.25) = 1 - \beta(0.25) = P(X \ge r \mid p = 0.25) = \sum_{k=r}^{n} \binom{n}{k} (0.25)^k (0.75)^{n-k}

解題方法

1. 前小題 (1) 之參數連結說明

第 (2) 題開頭指明「Based on your solutions in (1)」。在品管抽樣檢驗與本題組背景中,第 (1) 題通常有兩種常見命題型態:

  • 型態 A(已求出具體數值 nn 與 rr):若第 (1) 題依據常見標準給定顯著水準 α\alpha(如 α≤0.05\alpha \le 0.05)求出特定樣本數與臨界值 (n,r)(n, r),則代入該數值可求得精確數值解。
  • 型態 B(符號推導與通用形式):若第 (1) 題僅為建立決策準則與推導方程式,則以已知之 (n,r)(n, r) 表示通用機率函數與常態近似公式。

以下提供精確二項分配通式與大樣本常態近似表示法,考生在考場上無論前小題求出的 (n,r)(n, r) 數值為何,皆能直接對應作答。

2. 精確機率表示式(二項分配)

當真實不良率 p=0.25p = 0.25 時,X∼Binomial(n,0.25)X \sim \text{Binomial}(n, 0.25):

  • 型二誤差機率 β\beta:
🔒

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

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

免費註冊
📄 以下 2 題共用同一段題幹

The following data is from a completely randomized design:

Treatment ATreatment BTreatment C
162142126
155145124
153140122
165155138
170155135
Sample mean161147129
Sample variance505150

第 6-(1) 題6 分

Before conducting an ANOVA analysis to the data, what are the assumptions required for the observed data?

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

這一題的完整詳解

核心觀念

本題考核單因子變異數分析(One-Way ANOVA)在完全隨機設計(Completely Randomized Design, CRD)下的基本假定(Assumptions)。

在單因子完全隨機設計中,統計模型設定為:

Yij=μi+εij=μ+τi+εijY_{ij} = \mu_i + \varepsilon_{ij} = \mu + \tau_i + \varepsilon_{ij}

其中 i=1,2,…,ki = 1, 2, \dots, k 代表處理組別(本題 k=3k = 3),j=1,2,…,nij = 1, 2, \dots, n_i 代表各組內的觀測值編號(本題各組 ni=5n_i = 5)。

欲進行變異數分析以檢定各處理平均數是否相等(H0:μ1=μ2=⋯=μkH_0: \mu_1 = \mu_2 = \dots = \mu_k),對誤差項 εij\varepsilon_{ij}(或各組母體之觀測值 YijY_{ij})必須滿足三大核心假定:

  1. 常態性假定(Normality)
  2. 同質變異數假定(Homogeneity of Variances / Homoscedasticity)
  3. 獨立性假定(Independence)

簡記為誤差項獨立且服從常態分配:

εij∼i.i.d.N(0,σ2)\varepsilon_{ij} \overset{i.i.d.}{\sim} N(0, \sigma^2)

亦即觀測值滿足:

Yij∼indep.N(μi,σ2)Y_{ij} \overset{indep.}{\sim} N(\mu_i, \sigma^2)

解題方法

回答統計檢定的「基本假定」問答題時,應針對母體觀測值與誤差項兩種角度進行嚴謹且具條理的陳述:

1. 常態性(Normality)

  • 數學定義:每個處理組(母體)的觀測值皆呈現常態分配,即誤差項服從常態分配: εij∼N(0,σi2)或Yij∼N(μi,σi2)\varepsilon_{ij} \sim N(0, \sigma_i^2) \quad \text{或} \quad Y_{ij} \sim N(\mu_i, \sigma_i^2)
  • 檢定與驗證方法:可利用常態機率圖(Normal Probability Plot / Q-Q Plot)或正式檢定(如 Shapiro-Wilk test、Kolmogorov-Smirnov test)進行診斷。

2. 變異數同質性(Homoscedasticity / Equal Variances)

  • 數學定義:各個處理母體的變異數必須相等,即所有組別具有共同的母體變異數 σ2\sigma^2: σ12=σ22=⋯=σk2=σ2\sigma_1^2 = \sigma_2^2 = \dots = \sigma_k^2 = \sigma^2
  • 本題數據特徵:由題幹給出的樣本變異數可知 SA2=50S_A^2 = 50、SB2=51S_B^2 = 51、SC2=50S_C^2 = 50,數值極度接近,直觀上相當支持變異數相等的假定。
🔒

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

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

免費註冊

第 6-(2) 題9 分

Use the data from the table, at the α=0.05\alpha = 0.05 level of significance, set up the ANOVA table and test whether the means for the three treatments are equal?

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

這一題的完整詳解

核心觀念

本題考查**單因子變異數分析(One-Way ANOVA)與完全隨機化設計(Completely Randomized Design, CRD)**之假設檢定及變異數分析表(ANOVA Table)的編製。

  1. 基本假設:

    • 各處理群體皆服從常態分配:Xij∼N(μi,σ2)X_{ij} \sim N(\mu_i, \sigma^2)。
    • 各群體之變異數具同質性(Homoscedasticity):σ12=σ22=σ32=σ2\sigma_1^2 = \sigma_2^2 = \sigma_3^2 = \sigma^2。
    • 各樣本彼此獨立(Independent)。
  2. 平方和分解定理(Sum of Squares Identity):
    SST=SSTR+SSESST = SSTR + SSE

    • 總平方和(Total Sum of Squares, SSTSST):自由度 dfT=nT−1df_T = n_T - 1。
    • 處理平方和(Treatment Sum of Squares, SSTRSSTR):組間變異,自由度 dfTr=k−1df_{Tr} = k - 1。
      SSTR=∑i=1kni(Xˉi−Xˉˉ)2SSTR = \sum_{i=1}^{k} n_i (\bar{X}_i - \bar{\bar{X}})^2
    • 誤差平方和(Error Sum of Squares, SSESSE):組內變異,自由度 dfE=nT−kdf_E = n_T - k。
      SSE=∑i=1k(ni−1)Si2SSE = \sum_{i=1}^{k} (n_i - 1) S_i^2
  3. 檢定統計量:
    在虛無假說成立下,檢定統計量服從 FF 分配:
    F=MSTRMSE=SSTR/(k−1)SSE/(nT−k)∼F(k−1, nT−k)F = \frac{MSTR}{MSE} = \frac{SSTR / (k - 1)}{SSE / (n_T - k)} \sim F(k - 1, \, n_T - k)


解題方法

步驟一:建立假說

  • 虛無假說 H0:μA=μB=μCH_0: \mu_A = \mu_B = \mu_C(三種處理之平均數相等)
  • 對立假說 H1:H_1: 至少有兩個處理之平均數不相等

步驟二:計算各項樣本統計量與平方和

由題幹表格可知:

  • 處理組數 k=3k = 3(A、B、C)
  • 各組樣本數皆為 nA=nB=nC=5n_A = n_B = n_C = 5,總樣本數 nT=5×3=15n_T = 5 \times 3 = 15
  • 各組樣本平均數:XˉA=161, XˉB=147, XˉC=129\bar{X}_A = 161, \, \bar{X}_B = 147, \, \bar{X}_C = 129
  • 各組樣本變異數:SA2=50, SB2=51, SC2=50S_A^2 = 50, \, S_B^2 = 51, \, S_C^2 = 50
  1. 總平均數(Grand Mean, Xˉˉ\bar{\bar{X}}):
    因各組樣本數相等,
    Xˉˉ=XˉA+XˉB+XˉC3=161+147+1293=4373≈145.67\bar{\bar{X}} = \frac{\bar{X}_A + \bar{X}_B + \bar{X}_C}{3} = \frac{161 + 147 + 129}{3} = \frac{437}{3} \approx 145.67

  2. 處理平方和(SSTRSSTR):
    SSTR=∑i=A,B,C5×(Xˉi−Xˉˉ)2=5[(161−4373)2+(147−4373)2+(129−4373)2]SSTR = \sum_{i=A, B, C} 5 \times (\bar{X}_i - \bar{\bar{X}})^2 = 5 \left[ \left(161 - \frac{437}{3}\right)^2 + \left(147 - \frac{437}{3}\right)^2 + \left(129 - \frac{437}{3}\right)^2 \right]
    =5[(463)2+(43)2+(−503)2]=5×2116+16+25009=5×46329=77203≈2573.33= 5 \left[ \left(\frac{46}{3}\right)^2 + \left(\frac{4}{3}\right)^2 + \left(-\frac{50}{3}\right)^2 \right] = 5 \times \frac{2116 + 16 + 2500}{9} = 5 \times \frac{4632}{9} = \frac{7720}{3} \approx 2573.33

  3. 誤差平方和(SSESSE):
    利用各組樣本變異數加權加總:
    SSE=∑i=A,B,C(ni−1)Si2=(5−1)×50+(5−1)×51+(5−1)×50SSE = \sum_{i=A, B, C} (n_i - 1) S_i^2 = (5 - 1) \times 50 + (5 - 1) \times 51 + (5 - 1) \times 50
    =4×(50+51+50)=4×151=604= 4 \times (50 + 51 + 50) = 4 \times 151 = 604

🔒

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

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

免費註冊

其他考古題