111 年 國立成功大學土木工程系碩士班丙組《工程統計》

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

第 1 題

Consider a group of five potential blood donors—a, b, c, d, and e—of whom only a and b have type O+ blood. Five blood samples, one from each individual, will be typed in random order until an O+ individual is identified. Let Y denote the number of typings necessary to identify an O+ individual. (5 points each)

(1) What is the probability mass function (pmf) of Y?
(2) What is the cumulative distribution function (CDF) of Y?
(3) What is the expected value of Y? Why does the average number make sense in this case?
(4) What is the variance of Y?

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

這一題的完整詳解

核心觀念

本題考查離散型隨機變數在**不放回抽樣(Sampling without replacement)**下的機率模型(負超幾何分配之特例,即等待第 1 次成功所需的試驗次數),涵蓋以下核心觀念與公式:

  1. 機率質量函數(PMF):
    定義為 pY(y)=P(Y=y)p_Y(y) = P(Y = y),描述離散隨機變數取特定數值的機率,滿足 ∑ypY(y)=1\sum_{y} p_Y(y) = 1。
  2. 累積分布函數(CDF):
    定義為 FY(y)=P(Y≤y)=∑t≤ypY(t)F_Y(y) = P(Y \le y) = \sum_{t \le y} p_Y(t),為單調不減、右連續的階梯函數。
  3. 期望值(Expected Value): E[Y]=∑yy⋅pY(y)E[Y] = \sum_{y} y \cdot p_Y(y) 對於在 NN 個物件(含 KK 個目標)中不放回抽樣直到出現第 1 個目標的等待時間,其期望值理論公式為 E[Y]=N+1K+1E[Y] = \frac{N+1}{K+1}。
  4. 變異數(Variance): Var(Y)=E[Y2]−(E[Y])2=∑yy2⋅pY(y)−(E[Y])2Var(Y) = E[Y^2] - (E[Y])^2 = \sum_{y} y^2 \cdot p_Y(y) - (E[Y])^2

解題方法

(1) 求 YY 的機率質量函數(PMF)

群體總人數 N=5N = 5,其中 O+ 型血者 K=2K = 2(a, b),非 O+ 型血者 N−K=3N - K = 3(c, d, e)。
隨機不放回檢驗樣本,直到檢驗出第一位 O+ 為止。
因為非 O+ 者僅有 3 位,即便前 3 次皆非 O+,第 4 次檢驗必定為 O+。因此 YY 的可能取值範圍(Support)為 y∈{1,2,3,4}y \in \{1, 2, 3, 4\}。

利用乘法定則(Conditional Probability Multiplication Rule)依序計算各項機率:

  • Y=1Y = 1(第 1 次即為 O+): P(Y=1)=25=0.4P(Y = 1) = \frac{2}{5} = 0.4
  • Y=2Y = 2(第 1 次非 O+,第 2 次為 O+): P(Y=2)=35×24=310=0.3P(Y = 2) = \frac{3}{5} \times \frac{2}{4} = \frac{3}{10} = 0.3
  • Y=3Y = 3(前 2 次非 O+,第 3 次為 O+): P(Y=3)=35×24×23=210=0.2P(Y = 3) = \frac{3}{5} \times \frac{2}{4} \times \frac{2}{3} = \frac{2}{10} = 0.2
  • Y=4Y = 4(前 3 次非 O+,第 4 次為 O+): P(Y=4)=35×24×13×22=110=0.1P(Y = 4) = \frac{3}{5} \times \frac{2}{4} \times \frac{1}{3} \times \frac{2}{2} = \frac{1}{10} = 0.1

整理為機率質量函數(PMF):

pY(y)={0.4,y=10.3,y=20.2,y=30.1,y=40,otherwisep_Y(y) = \begin{cases} 0.4, & y = 1 \\ 0.3, & y = 2 \\ 0.2, & y = 3 \\ 0.1, & y = 4 \\ 0, & \text{otherwise} \end{cases}

亦可寫成緊湊通式:pY(y)=5−y10,y∈{1,2,3,4}p_Y(y) = \frac{5-y}{10}, \quad y \in \{1, 2, 3, 4\}。


(2) 求 YY 的累積分布函數(CDF)

累積分布函數 FY(y)=P(Y≤y)F_Y(y) = P(Y \le y) 為逐段累加的階梯函數:

  • 當 y<1y < 1 時:FY(y)=0F_Y(y) = 0
  • 當 1≤y<21 \le y < 2 時:FY(y)=P(Y=1)=0.4F_Y(y) = P(Y = 1) = 0.4
  • 當 2≤y<32 \le y < 3 時:FY(y)=P(Y=1)+P(Y=2)=0.4+0.3=0.7F_Y(y) = P(Y = 1) + P(Y = 2) = 0.4 + 0.3 = 0.7
  • 當 3≤y<43 \le y < 4 時:FY(y)=0.7+P(Y=3)=0.7+0.2=0.9F_Y(y) = 0.7 + P(Y = 3) = 0.7 + 0.2 = 0.9
  • 當 y≥4y \ge 4 時:FY(y)=0.9+P(Y=4)=0.9+0.1=1.0F_Y(y) = 0.9 + P(Y = 4) = 0.9 + 0.1 = 1.0
🔒

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

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

免費註冊

第 2 題

Let X denote the vibratory stress (psi) on a wind turbine blade at a particular wind speed in a wind tunnel. The following distribution is proposed as the probability density function (pdf) of X.

f(x)={xσ2e−x2/(2σ2)x>00otherwisef(x) = \begin{cases} \frac{x}{\sigma^2} e^{-x^2/(2\sigma^2)} & x > 0 \\ 0 & \text{otherwise} \end{cases}

(5 points each)

(1) Verify that f(x,σ)f(x, \sigma) is a legitimate pdf?
(2) Suppose σ=100\sigma=100. What is the probability that X is at most 200? Less than 200? At least 200?
(3) What is the probability that X is between 100 and 200 (again assuming σ=100\sigma=100)?
(4) Give an expression for P(X≤x)P(X \le x).

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

這一題的完整詳解

核心觀念

本題考查機率密度函數的合法性、累積分布函數,以及 Rayleigh 分布的機率計算。

連續型隨機變數的機率密度函數必須滿足:

  1. 對所有 xx,有 f(x)≥0f(x)\ge 0。
  2. 全部可能範圍的面積為 11:
    ∫−∞∞f(x) dx=1.\int_{-\infty}^{\infty}f(x)\,dx=1.

本題的參數需滿足 σ>0\sigma>0。其累積分布函數為

F(x)=P(X≤x)=∫−∞xf(t) dt.F(x)=P(X\le x)=\int_{-\infty}^{x}f(t)\,dt.

解題方法

(1) 驗證 f(x,σ)f(x,\sigma) 是否為合法的 pdf

當 x>0x>0 且 σ>0\sigma>0 時,

f(x)=xσ2e−x2/(2σ2)≥0.f(x)=\frac{x}{\sigma^2}e^{-x^2/(2\sigma^2)}\ge 0.

當 x≤0x\le 0 時,f(x)=0f(x)=0,因此非負性成立。

接著驗證總面積:

∫−∞∞f(x) dx=∫0∞xσ2e−x2/(2σ2) dx.\int_{-\infty}^{\infty}f(x)\,dx = \int_0^\infty \frac{x}{\sigma^2}e^{-x^2/(2\sigma^2)}\,dx.

令

u=x22σ2,du=xσ2 dx.u=\frac{x^2}{2\sigma^2}, \qquad du=\frac{x}{\sigma^2}\,dx.

當 x=0x=0 時,u=0u=0;當 x→∞x\to\infty 時,u→∞u\to\infty。因此

∫0∞xσ2e−x2/(2σ2) dx=∫0∞e−u du=[−e−u]0∞=1.\int_0^\infty \frac{x}{\sigma^2}e^{-x^2/(2\sigma^2)}\,dx = \int_0^\infty e^{-u}\,du = \left[-e^{-u}\right]_0^\infty =1.

所以在 σ>0\sigma>0 的條件下,f(x,σ)f(x,\sigma) 是合法的機率密度函數。


(2) 當 σ=100\sigma=100 時的機率

先求 XX 的累積分布函數。對 x>0x>0,

F(x)=∫0xtσ2e−t2/(2σ2) dt.F(x) = \int_0^x \frac{t}{\sigma^2}e^{-t^2/(2\sigma^2)}\,dt.

同樣令

u=t22σ2,du=tσ2 dt.u=\frac{t^2}{2\sigma^2}, \qquad du=\frac{t}{\sigma^2}\,dt.

則

F(x)=∫0x2/(2σ2)e−u du=1−e−x2/(2σ2).F(x) = \int_0^{x^2/(2\sigma^2)}e^{-u}\,du = 1-e^{-x^2/(2\sigma^2)}.

代入 σ=100\sigma=100、x=200x=200:

x22σ2=20022(100)2=2.\frac{x^2}{2\sigma^2} = \frac{200^2}{2(100)^2} = 2.

因此

P(X≤200)P(X\le 200)

P(X≤200)=F(200)=1−e−2≈0.8647.P(X\le 200) = F(200) = 1-e^{-2} \approx 0.8647.

P(X<200)P(X<200)

因為 XX 是連續型隨機變數,

P(X=200)=0.P(X=200)=0.

所以

P(X<200)=P(X≤200)=1−e−2≈0.8647.P(X<200)=P(X\le 200)=1-e^{-2}\approx 0.8647.

P(X≥200)P(X\ge 200)

P(X≥200)=1−P(X<200)=1−(1−e−2)=e−2≈0.1353.P(X\ge 200) = 1-P(X<200) = 1-(1-e^{-2}) = e^{-2} \approx 0.1353.
🔒

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

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

免費註冊

第 3 題

A manufacturer of electric device for construction measurements has a warehouse filled with newly manufactured components. Let μ\mu and σ2\sigma^2 denote the mean and variance, respectively, of the population of the lifetimes (in years) of all components in the warehouse. From previous studies, a value of 5.255.25 is available for σ2\sigma^2. (5 points each)

(1) What sample size should be used if it was desired to estimate μ\mu to be within 1 year with 99% confidence? (Assume that the lifetimes are normally distributed for this part)
(2) Suppose that a quality control engineer selected 144 components at random from the warehouse and measured the lifetime of each (in years) and calculated the sample mean to be 12.13. Compute the 95% confidence interval for μ\mu.
(3) Explain what you mean by saying that you have 95% confidence in this interval.
(4) Perform a test of hypotheses H0:μ=12H_0: \mu=12 versus Ha:μ≠12H_a: \mu \ne 12 using α=0.05\alpha=0.05. State your conclusion.

Values Provided for Your Calculations
Z | 1.64 | 1.96 | 2.58
ϕ(z)\phi(z) | 0.95 | 0.975 | 0.995

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

這一題的完整詳解

核心觀念

本題考查母體平均數 μ\mu 的區間估計與假設檢定。由於母體變異數 σ2=5.25\sigma^2=5.25 已知,因此使用標準常態分配 ZZ:

  • 平均數的抽樣分配:

    Xˉ∼N(μ,σ2n)\bar X\sim N\left(\mu,\frac{\sigma^2}{n}\right)

  • 信賴區間:

    Xˉ±zα/2σn\bar X\pm z_{\alpha/2}\frac{\sigma}{\sqrt n}

  • 標準化檢定統計量:

    Z=Xˉ−μ0σ/nZ=\frac{\bar X-\mu_0}{\sigma/\sqrt n}


解題方法與計算

(1)決定估計 μ\mu 所需的樣本數

要求估計誤差不超過 11 年,信賴度為 99%99\%。

因此:

E=zα/2σnE=z_{\alpha/2}\frac{\sigma}{\sqrt n}

其中:

α=1−0.99=0.01,zα/2=z0.005=2.58\alpha=1-0.99=0.01,\qquad z_{\alpha/2}=z_{0.005}=2.58

又因為:

σ=5.25\sigma=\sqrt{5.25}

令估計誤差 E=1E=1,則:

1=2.585.25n1=2.58\frac{\sqrt{5.25}}{\sqrt n}

平方後得:

n=(2.58)2(5.25)n=(2.58)^2(5.25)

n=34.9461n=34.9461

樣本數必須取整數,且為確保誤差不超過 11 年,必須無條件進位:

n=⌈34.9461⌉=35n=\lceil34.9461\rceil=35


(2)求 μ\mu 的 95%95\% 信賴區間

已知:

n=144,xˉ=12.13,σ2=5.25n=144,\qquad \bar x=12.13,\qquad \sigma^2=5.25

因此:

σ=5.25\sigma=\sqrt{5.25}

95%95\% 信賴區間使用:

z0.025=1.96z_{0.025}=1.96

標準誤為:

σn=5.25144=5.2512≈0.19094\frac{\sigma}{\sqrt n} =\frac{\sqrt{5.25}}{\sqrt{144}} =\frac{\sqrt{5.25}}{12} \approx0.19094

誤差範圍為:

E=1.96(0.19094)≈0.37424E=1.96(0.19094)\approx0.37424

所以信賴區間為:

xˉ±E=12.13±0.37424\bar x\pm E=12.13\pm0.37424

11.75576<μ<12.5042411.75576<\mu<12.50424

因此,μ\mu 的 95%95\% 信賴區間約為:

(11.756, 12.504)\boxed{(11.756,\ 12.504)}


🔒

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

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

免費註冊

第 4 題

Two job designs, i.e., A and B, are being considered for the production of new computer desks. Manufactures would like to understand whether or not there is a difference in assemble times of these two designs. Two samples are randomly and independently selected for 25 workers to assemble desks using design A, and for the same 25 workers to assemble desks using design B. The assembly times are recorded in minutes, and resulted in the accompanying data. (5 points each)

DesignSample SizeAverageVariance
Type A256.2880.8481
Type B256.0161.3020

(1) State and test the relevant hypotheses using α=0.05\alpha=0.05.
(2) Do the assembly times of the two designs differ based on your answer in (1)? Why?
(3) Make a 95% confidence interval for the difference in the assembly times.
(4) Does there exist a difference in assembly times based on your answer in (3)? Why?

Note:
Sp2=m−1m+n−2Sm2+n−1m+n−2Sn2S_p^2 = \frac{m-1}{m+n-2} S_m^2 + \frac{n-1}{m+n-2} S_n^2

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

這一題的完整詳解

核心觀念

本題要比較兩種設計的平均組裝時間,檢定兩母體平均數是否相同,並估計平均時間差 μA−μB\mu_A-\mu_B。

題目附上的合併變異數公式 Sp2S_p^2,對應「兩組獨立樣本、母體變異數相等」的兩樣本 tt 檢定。以下依此公式計算。題幹另提到兩種設計由「同一批 25 位工人」組裝,這代表配對資料;若依此敘述做配對檢定,還需要每位工人在兩種設計下的時間差資料,或兩組樣本的共變異數,單憑題目所列摘要無法計算配對檢定。

解題方法

令 μA\mu_A、μB\mu_B 分別為設計 A 與設計 B 的母體平均組裝時間。題目問兩者是否有差異,因此採雙尾檢定;依附註使用等變異數的合併兩樣本 tt 檢定。

(1) 假設檢定

設定假設:

H0:μA−μB=0H_0:\mu_A-\mu_B=0 H1:μA−μB≠0H_1:\mu_A-\mu_B\ne 0

顯著水準為 α=0.05\alpha=0.05。先計算合併樣本變異數:

Sp2=(25−1)(0.8481)+(25−1)(1.3020)25+25−2=1.07505S_p^2 = \frac{(25-1)(0.8481)+(25-1)(1.3020)}{25+25-2} = 1.07505

因此:

Sp=1.07505≈1.0368S_p=\sqrt{1.07505}\approx 1.0368

平均數差的標準誤為:

SE=Sp125+125≈1.03680.08≈0.2933SE = S_p\sqrt{\frac{1}{25}+\frac{1}{25}} \approx 1.0368\sqrt{0.08} \approx 0.2933

檢定統計量為:

t=xˉA−xˉBSE=6.288−6.0160.2933≈0.928t = \frac{\bar{x}_A-\bar{x}_B}{SE} = \frac{6.288-6.016}{0.2933} \approx 0.928

自由度為 25+25−2=4825+25-2=48。雙尾檢定的臨界值約為 t0.025,48=2.011t_{0.025,48}=2.011。因為 ∣0.928∣<2.011|0.928|<2.011,不拒絕 H0H_0;雙尾 pp 值約為 0.3580.358,也大於 0.050.05。

🔒

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

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

免費註冊

第 5 題

The data on calcium content of wheat is observed. Four different storage times are considered with 6 observations taken for each storage period. The following table lists the test results. Is there sufficient evidence to conclude that the mean calcium content is the same for the four different storage times? Use α=0.05\alpha=0.05.

Storage Period (month)MeanStandard DeviationFrequency
057.51.36
158.01.36
259.60.96
460.31.56

(1) Complete the ANOVA table by filling the blanks below. (2 points each)

SourceSSDFMSF
Treatment30(b)(e)(g)
Error(a)(c)(f)
Total70(d)

(2) Using the ANOVA table to make your conclusion. Make sure to include in your answer the null and alternative hypotheses. Using α=0.05\alpha = 0.05. (2 points)
(3) What are the assumptions made for the above ANOVA table? (4 points)

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

這一題的完整詳解

核心觀念

本題使用單因子變異數分析(one-way ANOVA),比較四種儲藏時間下小麥鈣含量的平均數是否相同。

設四種儲藏時間的母體平均數分別為 μ0,μ1,μ2,μ4\mu_0,\mu_1,\mu_2,\mu_4,則:

  • 處理組數:k=4k=4
  • 每組觀測數:ni=6n_i=6
  • 總觀測數:N=24N=24

ANOVA 將總變異分解為:

SST=SSTreatment+SSESS_T=SS_{\text{Treatment}}+SS_E

其中:

  • SSTSS_T:總平方和
  • SSTreatmentSS_{\text{Treatment}}:處理間平方和
  • SSESS_E:誤差平方和

自由度為:

dfTreatment=k−1df_{\text{Treatment}}=k-1 dfE=N−kdf_E=N-k dfT=N−1df_T=N-1

均方為:

MSTreatment=SSTreatmentdfTreatmentMS_{\text{Treatment}} =\frac{SS_{\text{Treatment}}}{df_{\text{Treatment}}} MSE=SSEdfEMS_E=\frac{SS_E}{df_E}

檢定統計量為:

F=MSTreatmentMSEF=\frac{MS_{\text{Treatment}}}{MS_E}

解題方法

題目已提供:

SSTreatment=30,SST=70SS_{\text{Treatment}}=30,\qquad SS_T=70

因此先計算誤差平方和:

SSE=SST−SSTreatment=70−30=40SS_E=SS_T-SS_{\text{Treatment}} =70-30=40

(1)完成 ANOVA 表

處理間自由度

dfTreatment=k−1=4−1=3df_{\text{Treatment}}=k-1=4-1=3

因此:

(b)=3(b)=3

誤差自由度

dfE=N−k=24−4=20df_E=N-k=24-4=20

因此:

(c)=20(c)=20

總自由度

dfT=N−1=24−1=23df_T=N-1=24-1=23

因此:

(d)=23(d)=23

也可驗算:

3+20=233+20=23

處理間均方

MSTreatment=303=10MS_{\text{Treatment}} =\frac{30}{3}=10

因此:

(e)=10(e)=10

誤差均方

MSE=4020=2MS_E=\frac{40}{20}=2

因此:

(f)=2(f)=2

FF 統計量

F=102=5F=\frac{10}{2}=5

因此:

(g)=5(g)=5

完成的 ANOVA 表如下:

來源SSDFMSF
Treatment303105
Error40202
Total7023

(2)假設檢定與結論

假設

虛無假設為四種儲藏時間的平均鈣含量相同:

H0:μ0=μ1=μ2=μ4H_0:\mu_0=\mu_1=\mu_2=\mu_4

對立假設為並非所有平均數都相同:

H1:至少有一個儲藏時間的平均鈣含量不同H_1:\text{至少有一個儲藏時間的平均鈣含量不同}

注意,對立假設不必指定是哪兩組不同,只要存在平均數差異即可。

🔒

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

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

免費註冊

其他考古題