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

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

第 1 題

Let X be a discrete random variable with a cumulative distribution function (cdf) shown below.

F(x)={0x<10.301≤x<30.403≤x<40.454<x<60.606≤x<12112≤xF(x) = \begin{cases} 0 & x < 1 \\ 0.30 & 1 \le x < 3 \\ 0.40 & 3 \le x < 4 \\ 0.45 & 4 < x < 6 \\ 0.60 & 6 \le x < 12 \\ 1 & 12 \le x \end{cases}

(1) What is the probability mass function (pmf) of X?
(2) What is P(3≤X≤6)P(3 \le X \le 6)?
(3) What is P(4≤X)P(4 \le X)?
(4) What is the variance of X?

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

這一題的完整詳解

這題主要在考驗對離散型隨機變數的累積分布函數 (CDF) 與機率質量函數 (PMF) 的理解,以及如何從 CDF 推導 PMF 並計算相關機率與期望值。

核心觀念:
離散型隨機變數的 CDF F(x)=P(X≤x)F(x) = P(X \le x)。
PMF p(x)=P(X=x)p(x) = P(X=x)。
對於離散型隨機變數,p(xi)=F(xi)−F(xi−1)p(x_i) = F(x_i) - F(x_{i-1}),其中 xix_i 是所有可能的取值,且 xi−1x_{i-1} 是緊接在 xix_i 前面的值。

(1) What is the probability mass function (pmf) of X?

CDF F(x)F(x) 在跳躍點的差值即為該點的 PMF 值。
XX 的可能取值點是 1,3,4,6,121, 3, 4, 6, 12。

  • P(X=1)=F(1)−F(x<1)=0.30−0=0.30P(X=1) = F(1) - F(x<1) = 0.30 - 0 = 0.30
  • P(X=3)=F(3)−F(x<3)=0.40−0.30=0.10P(X=3) = F(3) - F(x<3) = 0.40 - 0.30 = 0.10
  • P(X=4)=F(4)−F(x<4)=0.45−0.40=0.05P(X=4) = F(4) - F(x<4) = 0.45 - 0.40 = 0.05
  • P(X=6)=F(6)−F(x<6)=0.60−0.45=0.15P(X=6) = F(6) - F(x<6) = 0.60 - 0.45 = 0.15
  • P(X=12)=F(12)−F(x<12)=1.00−0.60=0.40P(X=12) = F(12) - F(x<12) = 1.00 - 0.60 = 0.40

因此,PMF 為:
p(1)=0.30p(1) = 0.30
p(3)=0.10p(3) = 0.10
p(4)=0.05p(4) = 0.05
p(6)=0.15p(6) = 0.15
p(12)=0.40p(12) = 0.40
其他所有 xx 的 p(x)=0p(x)=0。

【答案】
PMF 為 p(1)=0.30,p(3)=0.10,p(4)=0.05,p(6)=0.15,p(12)=0.40p(1) = 0.30, p(3) = 0.10, p(4) = 0.05, p(6) = 0.15, p(12) = 0.40。

(2) What is P(3≤X≤6)P(3 \le X \le 6)?

這個機率表示 XX 的值在 3 到 6 之間(包含 3,不包含 6)。
P(3≤X≤6)=P(X=3)+P(X=4)+P(X=6)P(3 \le X \le 6) = P(X=3) + P(X=4) + P(X=6)
P(3≤X≤6)=0.10+0.05+0.15=0.30P(3 \le X \le 6) = 0.10 + 0.05 + 0.15 = 0.30

🔒

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

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

免費註冊

第 2 題

The weekly demand for water (in 100,000s of tons) from a particular city is a random variable of X with the probability density function (pdf) as follows:

f(x)={2(1−1x2)1≤x≤20otherwisef(x) = \begin{cases} 2\left(1-\frac{1}{x^2}\right) & 1 \le x \le 2 \\ 0 & \text{otherwise} \end{cases}

(1) What is the cdf of X?
(2) What is the expected value of X?
(3) What is the variance of X?
(4) Obtain an expression for the (100p)(100p)th percentile. What is the median value of X?

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

這一題的完整詳解

核心觀念

本題考查連續型隨機變數的:

  • 累積分配函數(cdf):
    FX(x)=P(X≤x)=∫−∞xf(t) dtF_X(x)=P(X\le x)=\int_{-\infty}^{x}f(t)\,dt
  • 期望值:
    E(X)=∫−∞∞xf(x) dxE(X)=\int_{-\infty}^{\infty}xf(x)\,dx
  • 變異數:
    Var⁡(X)=E(X2)−[E(X)]2\operatorname{Var}(X)=E(X^2)-[E(X)]^2
  • 第 100p100p 百分位數 xpx_p 的定義:
    FX(xp)=pF_X(x_p)=p

已知 XX 的可能範圍為 1≤X≤21\le X\le 2。

(1) 累積分配函數

當 1≤x≤21\le x\le 2 時,

FX(x)=∫1x2(1−1t2) dtF_X(x)=\int_{1}^{x}2\left(1-\frac{1}{t^2}\right)\,dt

計算得

FX(x)=2∫1x(1−t−2) dt=2[t+1t]1x=2x+2x−4.\begin{aligned} F_X(x) &=2\int_1^x(1-t^{-2})\,dt\\ &=2\left[t+\frac{1}{t}\right]_1^x\\ &=2x+\frac{2}{x}-4. \end{aligned}

因此 cdf 為

FX(x)={0,x<1,2x+2x−4,1≤x≤2,1,x>2.F_X(x)= \begin{cases} 0, & x<1,\\[4pt] 2x+\dfrac{2}{x}-4, & 1\le x\le 2,\\[8pt] 1, & x>2. \end{cases}

其中

FX(1)=0,FX(2)=1,F_X(1)=0,\qquad F_X(2)=1,

符合 cdf 的邊界條件。

(2) 期望值

由期望值定義,

E(X)=∫12x⋅2(1−1x2) dx.E(X)=\int_1^2x\cdot 2\left(1-\frac{1}{x^2}\right)\,dx.

整理被積分式:

E(X)=2∫12(x−1x) dx=2[x22−ln⁡x]12=[x2−2ln⁡x]12=3−2ln⁡2.\begin{aligned} E(X) &=2\int_1^2\left(x-\frac{1}{x}\right)\,dx\\ &=2\left[\frac{x^2}{2}-\ln x\right]_1^2\\ &=\left[x^2-2\ln x\right]_1^2\\ &=3-2\ln 2. \end{aligned}

所以

E(X)=3−2ln⁡2\boxed{E(X)=3-2\ln 2}

數值約為 1.6141.614,確實落在 [1,2][1,2] 之間。

(3) 變異數

先計算二階動差:

E(X2)=∫12x2⋅2(1−1x2) dx=2∫12(x2−1) dx=2[x33−x]12=2[(83−2)−(13−1)]=83.\begin{aligned} E(X^2) &=\int_1^2x^2\cdot 2\left(1-\frac{1}{x^2}\right)\,dx\\ &=2\int_1^2(x^2-1)\,dx\\ &=2\left[\frac{x^3}{3}-x\right]_1^2\\ &=2\left[\left(\frac{8}{3}-2\right) -\left(\frac{1}{3}-1\right)\right]\\ &=\frac{8}{3}. \end{aligned}

利用

Var⁡(X)=E(X2)−[E(X)]2,\operatorname{Var}(X)=E(X^2)-[E(X)]^2,

得到

Var⁡(X)=83−(3−2ln⁡2)2\boxed{ \operatorname{Var}(X) =\frac{8}{3}-(3-2\ln 2)^2 }

亦可展開為

🔒

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

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

免費註冊

第 3 題

The following summary provides information for the fracture strengths (MPa) of n = 169 metal bars manufactured in a particular process: xˉ=89.1\bar{x} = 89.1, s=3.73s = 3.73.
(1) What is the confidence interval (CI) for true average fracture strength with a confidence level of 95%?
(2) Does it appear that true average fracture strength is precisely estimated using the above interval? Why?
(3) What are the ways to reduce the margin of error for CI?
(4) Suppose the investigators had believed a priori that the population standard deviation was about 4 MPa. Based on this supposition, how large a sample would have been required to estimate m to within 0.5 MPa with 95% confidence?

Values Provided for Your Calculations

z1.641.962.58t0.025,5t_{0.025, 5}t0.025,4t_{0.025, 4}t0.05,5t_{0.05, 5}F0.05,2,3F_{0.05, 2,3}F0.05,3,2F_{0.05, 3,2}F0.025,4,2F_{0.025, 4,2}F0.025,4,3F_{0.025, 4,3}F0.025,3,2F_{0.025, 3,2}F0.025,3,4F_{0.025, 3,4}
Φ(z)\Phi(z)0.950.9750.9952.5712.7762.01519.0019.1639.2515.1039.129.98

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

這一題的完整詳解

這題考驗關於信賴區間 (Confidence Interval, CI) 的概念,包含如何計算、解釋信賴區間的精確度、如何縮小邊際誤差,以及樣本大小的計算。

核心觀念:
母體平均數 μ\mu 的信賴區間。
當母體標準差 σ\sigma 未知時,使用樣本標準差 ss 並套用 t-distribution。
CI 的形式:xˉ±Margin of Error\bar{x} \pm \text{Margin of Error}。
Margin of Error (MOE) = critical value ×\times standard error。
對於平均數的 CI:MOE=tα/2,n−1×snMOE = t_{\alpha/2, n-1} \times \frac{s}{\sqrt{n}}。
對於樣本大小的計算:n=(zα/2σE)2n = \left(\frac{z_{\alpha/2} \sigma}{E}\right)^2 (當 σ\sigma 已知或可估計時)。

給定資料:
樣本數 n=169n = 169
樣本平均數 xˉ=89.1\bar{x} = 89.1 MPa
樣本標準差 s=3.73s = 3.73 MPa
信賴水準 = 95%,所以 α=1−0.95=0.05\alpha = 1 - 0.95 = 0.05。
α/2=0.025\alpha/2 = 0.025。

(1) What is the confidence interval (CI) for true average fracture strength with a confidence level of 95%?

由於母體標準差 σ\sigma 未知,我們使用 t-distribution。
自由度 df=n−1=169−1=168df = n-1 = 169 - 1 = 168。
我們需要尋找 tα/2,n−1=t0.025,168t_{\alpha/2, n-1} = t_{0.025, 168}。
由於 n=169n=169 很大,t-distribution 近似於標準常態分佈 (z-distribution)。
查表可知 z0.025=1.96z_{0.025} = 1.96。
因此,我們可以使用 t0.025,168≈z0.025=1.96t_{0.025, 168} \approx z_{0.025} = 1.96。
(注意:題目提供的表格中有 z=1.96z=1.96 對應 Φ(z)=0.975\Phi(z)=0.975,表示 P(Z≤1.96)=0.975P(Z \le 1.96) = 0.975。因此 P(Z>1.96)=0.025P(Z > 1.96) = 0.025,即 z0.025=1.96z_{0.025} = 1.96。)

標準誤 (Standard Error, SE) =sn=3.73169=3.7313= \frac{s}{\sqrt{n}} = \frac{3.73}{\sqrt{169}} = \frac{3.73}{13}。
SE ≈0.2869\approx 0.2869。

邊際誤差 (Margin of Error, MOE) =tα/2,n−1×SE≈1.96×0.2869= t_{\alpha/2, n-1} \times SE \approx 1.96 \times 0.2869。
MOE ≈0.5623\approx 0.5623。

信賴區間為 xˉ±MOE\bar{x} \pm MOE。
CI = 89.1±0.562389.1 \pm 0.5623。
CI = (89.1−0.5623,89.1+0.5623)(89.1 - 0.5623, 89.1 + 0.5623)。
CI = (88.5377,89.6623)(88.5377, 89.6623)。

【答案】
95% 的信賴區間為 (88.54,89.66)(88.54, 89.66) MPa (四捨五入至小數點後兩位)。

(2) Does it appear that true average fracture strength is precisely estimated using the above interval? Why?

信賴區間的寬度代表估計的精確度。區間越窄,估計越精確。
區間寬度 = Upper bound - Lower bound = 89.6623−88.5377=1.124689.6623 - 88.5377 = 1.1246 MPa。
邊際誤差是區間寬度的一半,即 0.56230.5623 MPa。

🔒

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

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

免費註冊

第 4 題

The measurements on viscosity (cP) for specimens of a certain grade of highway materials are as follows: 2781, 2900, 3013, 2856, and 2888. Suppose that for a particular application it is required that true average viscosity be 3000. Note: xˉ=2887.6\bar{x} = 2887.6, s=84s = 84. (5 points each)
(1) State the relevant hypotheses.
(2) Calculate the test statistic.
(3) State the rejection region using α=0.05\alpha=0.05.
(4) Make your conclusion. Does this requirement appear to have been satisfied?

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

這一題的完整詳解

核心觀念

母體標準差未知,且樣本數 n=5n=5,因此使用單一母體平均數的 tt 檢定,自由度為 n−1=4n-1=4。題目要求真實平均黏度為 30003000 cP,故以雙尾檢定判斷平均數是否與目標值不同。

解題方法

設 μ\mu 為此類材料的真實平均黏度。假設檢定為:

H0:μ=3000對H1:μ≠3000H_0:\mu=3000 \qquad\text{對}\qquad H_1:\mu\ne 3000

在虛無假設下,檢定統計量為:

t=xˉ−μ0s/nt=\frac{\bar{x}-\mu_0}{s/\sqrt{n}}

代入 xˉ=2887.6\bar{x}=2887.6、μ0=3000\mu_0=3000、s=84s=84、n=5n=5:

t=2887.6−300084/5=−112.437.55≈−2.99t=\frac{2887.6-3000}{84/\sqrt{5}} =\frac{-112.4}{37.55} \approx -2.99
🔒

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

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

免費註冊

第 5 題

The physical properties of a certain type of soils are analyzed using a quadratic regression of y = bulk density (i.e., bulkdens) on x = moisture content (i.e., moiscont). The following output for the quadratic model is obtained from software called Minitab. Note: The quadratic predictor is named as contsqd.
The regression equation is
bulkdens = 403 + 16.2 moiscont - 0.706 contsqd
S = 10.15 R-Sq = 93.8% R-Sq (adj) = 89.6%

Analysis of Variance

SourceDFSSMSFP
Regression24637.72318.922.510.016
Residual Error3309.1103.0
Total54946.8
ObsmoiscontbulkdensFitFit StDevResidualResid StDev
17.0479.00481.789.35-2.78-0.70
210.3503.00494.795.788.210.98
313.7487.00492.126.49-5.12-0.66
416.6470.00476.936.10-6.93-0.85
519.8458.00446.395.6911.611.38
622.0412.00416.998.75-4.99-0.97
      | Fit StDev | 95.0% CI | 95.0% PI

----------|-----------|----------|----------
| 6.52 | (470.36, 511.83) | (452.71, 529.48)

(1) What proportion of observed variation in density can be explained by the quadratic model?
(2) State the relevant hypotheses for the quadratic model.
(3) Carry out a test of hypotheses at significance level 0.05 to decide if the quadratic model provides useful information according to the above output.
(4) Does the quadratic predictor appear to provide useful information? State and test the appropriate hypotheses at significance level 0.05.

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

這一題的完整詳解

這題主要考驗對二次迴歸模型 (Quadratic Regression Model) 的理解,包含如何解釋迴歸係數、R平方值、變異數分析表 (ANOVA table),以及如何進行假設檢定。

核心觀念:
R平方值 (R2R^2) 代表模型解釋的變異比例。
ANOVA 表用於檢定整個迴歸模型的顯著性。
迴歸係數的顯著性檢定用於判斷個別預測變數是否重要。

給定資料:
迴歸模型:y=β0+β1x+β2x2+ϵy = \beta_0 + \beta_1 x + \beta_2 x^2 + \epsilon
Minitab 輸出:
迴歸方程式:bulkdens = 403 + 16.2 moiscont - 0.706 contsqd
S=10.15S = 10.15 (殘差標準差)
R2=93.8%R^2 = 93.8\%
Radj2=89.6%R^2_{adj} = 89.6\%

ANOVA 表:

SourceDFSSMSFP
Regression24637.72318.922.510.016
Residual Error3309.1103.0
Total54946.8

(1) What proportion of observed variation in density can be explained by the quadratic model?

這個問題直接問的是模型對應變數 (bulk density) 的變異中,有多少比例可以被模型解釋。這就是 R2R^2 的定義。

R2=93.8%R^2 = 93.8\%。

【答案】93.8%

(2) State the relevant hypotheses for the quadratic model.

這裡的「二次迴歸模型」指的是包含 xx 和 x2x^2 (即 moiscont 和 contsqd) 的模型。
完整的二次迴歸模型是:
y=β0+β1x+β2x2+ϵy = \beta_0 + \beta_1 x + \beta_2 x^2 + \epsilon
其中 yy 是 bulkdens, xx 是 moiscont,x2x^2 是 contsqd。
H0:β1=0H_0: \beta_1 = 0 and β2=0\beta_2 = 0 (整個迴歸模型不顯著,即 moiscont 和 contsqd 都不能解釋 bulkdens 的變異)。
H1H_1: At least one of β1\beta_1 or β2\beta_2 is not zero (迴歸模型顯著,至少有一個預測變數對 bulkdens 有影響)。

或者,如果問題是指「整個模型是否顯著」,則檢定的是整個模型的顯著性。
從 ANOVA 表來看,檢定的是:
H0:β1=0,β2=0H_0: \beta_1 = 0, \beta_2 = 0
H1:H_1: Not all βi\beta_i are zero (for i=1,2i=1, 2)

🔒

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

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

免費註冊

其他考古題