113 年 國立成功大學土木工程系碩士班戊組《工程統計》
第 1 題
The probability mass function for X = the number of major additives in a randomly selected sample of cement concrete is as follows:
| X | 0 | 1 | 2 |
|---|---|---|---|
| P(x) | 0.3 | 0.4 | 0.3 |
(1) Compute E(X), E(X²), and V(X).
(2) If the price of a concrete sample containing major additives X is , what is the expected price paid by the customer?
(3) What is the variance of the price paid by the customer?
(4) The actual strength of a concrete sample is . What is the expected strength?
登入後即可作答並保存紀錄。
本題為離散型隨機變數的期望值、變異數計算,以及期望值與變異數的線性與非線性轉換應用。
核心觀念: 離散型隨機變數的期望值、變異數計算公式,以及隨機變數函數的期望值與變異數性質。
對於離散型隨機變數 ,其機率質量函數 (PMF) 為 ,
期望值
變異數
解題過程:
首先,計算 與 :
接著,計算 :
(1) Compute E(X), E(X²), and V(X).
【答案】, ,
第 2 題
Let X be a continuous random variable with the probability density function (pdf) below.
(1) Find the value of and .
(2) Find the cumulative density function, .
(3) Find .
(4) Find the median of the distribution of X.
登入後即可作答並保存紀錄。
核心觀念
本題考查連續型隨機變數的機率密度函數、累積分布函數、分位數與中位數。
必須使用:
-
機率密度函數的總面積為 :
-
累積分布函數:
-
中位數 滿足:
題目目前只提供一個正規化條件,因此 與 無法同時得到唯一的數值答案。以下以任意 表示完整解答。
(1) 求 與
因為 是機率密度函數,其總面積必須等於 :
計算積分:
因此:
所以 與 的關係為:
僅由題目提供的資訊,無法分別決定唯一的 與 。必須再提供一個條件,例如某個機率、期望值或分位數,才能求出 的數值。
(2) 求累積分布函數
依據定義:
分三種情況討論。
情況一:
因為 不可能落在 以下:
情況二:
此處變數應寫成 ,因此:
代入 :
情況三:
所有可能值都已包含在 中,因此:
故累積分布函數為:
(3) 求
答案取決於 與 的大小。
當
此時 位於密度函數的支撐區間內,因此:
因此:
第 3 題
Assume that the helium porosity (in percentage) of coal samples taken from any particular seam is normally
distributed with true standard deviation . (5 points each)
(1) Compute a 95% confidence interval (CI) for the true average porosity of a certain seam if the average porosity
for 20 specimens from the seam was 4.85.
(2) Compute a 98% CI for true average porosity of another seam based on 16 specimens with a sample average
porosity of 4.56.
(3) How large a sample size is necessary if the width of the 95% interval is to be 0.40?
(4) What sample size is necessary to estimate true average porosity to within 0.2 with 99% confidence?
Values Provided for Your Calculations
z | 1.96 | 2.06 | 2.33 | 2.58
| 0.975 | 0.98 | 0.99 | 0.995
| | | | | | |
2.776 | 2.015 | 4.10 | 4.96 | 5.12 | 3.02 | 3.44 | 3.47
登入後即可作答並保存紀錄。
本題考驗關於平均值的信賴區間計算、樣本數的決定,以及對總體標準差已知的常態分佈假設下的統計推論。
核心觀念:
- 當總體標準差 已知時,平均值 的信賴區間公式為 。
- 信賴區間的寬度為 。
- 估計總體平均值至一定誤差範圍內的樣本數決定:,其中 為允許的最大誤差。
解題過程:
已知總體標準差 。
(1) Compute a 95% confidence interval (CI) for the true average porosity of a certain seam if the average porosity for 20 specimens from the seam was 4.85.
已知:樣本平均值 ,樣本數 ,信賴水準為 95%。
對於 95% 信賴水準,,。
查表可得 。
信賴區間為:
信賴區間為
下限:
上限:
【答案】(4.5213, 5.1787)
(2) Compute a 98% CI for true average porosity of another seam based on 16 specimens with a sample average porosity of 4.56.
已知:樣本平均值 ,樣本數 ,信賴水準為 98%。
對於 98% 信賴水準,,。
第 4 題
In a laboratory experiment, the compressive strength of a certain material when it was mixed with three different types of additives was measured. Eight specimens were tested for each type of additive. A higher strength implies that the additive is better. An ANOVA table is obtained as follows:
| Source | SS | DF | MS | F |
|---|---|---|---|---|
| Between | 56 | b=? | e=? | g=? |
| Within | a=? | c=? | f=? | |
| Total | 119 | d=? |
(1) Complete the ANOVA table. (14 points)
(2) State the null and the alternative hypothesis for the ANOVA table. (3 points)
(3) What is the conclusion based on the ANOVA table using the F-statistic and . (3 points)
登入後即可作答並保存紀錄。
核心觀念
本題考查單因子變異數分析(one-way ANOVA),用來檢定三種添加劑的平均抗壓強度是否相同。
設三種添加劑的母體平均抗壓強度為 。ANOVA 的基本關係為:
其中:
- :組間平方和(Between)
- :組內平方和(Within)
- :總平方和(Total)
自由度為:
其中 為組數, 為總樣本數。均方為:
F 統計量為:
解題方法
1. 計算總樣本數
共有三種添加劑,每種測試 個試件,因此:
組數為:
2. 計算各部分自由度
組間自由度:
總自由度:
組內自由度:
也可直接計算:
3. 計算組內平方和
由平方和分解公式:
代入題目資料:
因此:
4. 計算組間均方與組內均方
組間均方:
組內均方:
5. 計算 F 統計量
完整 ANOVA 表
| 來源 | SS | DF | MS | F |
|---|---|---|---|---|
| Between | ||||
| Within | ||||
| Total |
因此:
第 5 題
A study was undertaken to relate the viscosity (y) to the filler content (x) for a particular material. A total of 11 pairs
of values were measured. A simple linear regression model of the form was first fitted to the data.
An ANOVA table is obtained for this regression model as follows:
| Source | SS | DF | MS | F |
|---|---|---|---|---|
| Regression | a=? | b=? | e=? | g=? |
| Error | 0.27 | c=? | f=? | |
| Total | 1.41 | d=? |
(1) Complete the ANOVA table for this regression model. (14 points)
(2) Using the ANOVA table for this regression model, make your conclusion at . Make sure to include in
your answer the null and alternative hypotheses. (3 points)
(3) What percent of the observed variation in the viscosity can be attributed to the linear relationship between
viscosity and filler content? (3 points)
登入後即可作答並保存紀錄。
本題考驗簡單線性迴歸的 ANOVA 表填寫、迴歸模型的假設檢定(F 檢定),以及判定係數 () 的計算。
核心觀念:
- 迴歸 ANOVA 表的關係:
- (此為殘差均方,也稱為迴歸均方誤差 MSE)
- 迴歸模型的假設檢定:
- 虛無假設 : (解釋變數 對應變數 沒有線性影響)。
- 對立假設 : (解釋變數 對應變數 有線性影響)。
- 判定係數 ():表示總體變異中,有多少比例可以被迴歸模型解釋。
。
解題過程:
已知資訊:
- 總樣本數 對。
(1) Complete the ANOVA table for this regression model.
首先,計算各欄位。
-
DF (自由度):
- :迴歸自由度 = 解釋變數的個數 = 1 (因為是簡單線性迴歸,只有一個解釋變數 )。
。 所以 。 - :總自由度 = 總樣本數 - 1 = 。
。 所以 。 - :殘差自由度 = 。
。 所以 。
- :迴歸自由度 = 解釋變數的個數 = 1 (因為是簡單線性迴歸,只有一個解釋變數 )。
-
SS (平方和):
- :迴歸平方和 = 。
。 所以 。
- :迴歸平方和 = 。
-
MS (均方):
- :迴歸均方 = 。
。 所以 。 - :殘差均方 (MSE) = 。
。 所以 。
- :迴歸均方 = 。