112 年 國立成功大學資源工程學系碩士班丙組《統計學》
第 1 題
Stratified random sampling is a method of selecting a sample in which
(A) the sample is first divided into strata, and then random samples are taken from each stratum
(B) various strata are selected from the sample
(C) the population is first divided into strata, and then random samples are drawn from each stratum
(D) None of these alternatives is correct.
登入後即可作答並保存紀錄。
此題考驗對「分層隨機抽樣 (Stratified Random Sampling)」定義的理解。
分層隨機抽樣是一種抽樣方法,其核心步驟是將母體 (population) 劃分為若干個互斥且具有共同特徵的子群體(稱為「層」,strata),然後從每一個層中獨立地、隨機地抽取樣本。這樣做可以確保樣本能更充分地代表母體的異質性。
第 2 題
A population consists of 8 items. The number of different simple random samples of size 3 that can be selected from this population is
(A) 24
(B) 56
(C) 512
(D) 128
登入後即可作答並保存紀錄。
此題考驗對「簡單隨機抽樣 (Simple Random Sampling)」組合數的計算。
題目要求從一個包含 8 個項目的母體中,選取一個 3 個項目的簡單隨機樣本。由於是「樣本」,不考慮順序,且一旦選取就不能重複,因此這是一個組合 (combination) 的問題。
母體大小
樣本大小
樣本的數量計算公式為組合數 :
將數值代入:
第 3 題
If A and B are mutually exclusive events with and , then
(A) 0.00
(B) 0.15
(C) 0.8
(D) 0.2
登入後即可作答並保存紀錄。
核心觀念
本題考查機率論中的互斥事件(Mutually Exclusive Events)定義與機率加法法則(Addition Law of Probability)。
- 對於任意兩個事件 與 ,其聯集機率為:
- 若事件 與 為互斥事件(Mutually exclusive),代表兩事件不可能同時發生,即交集為空集合(),因此交集機率為零:
此時聯集機率簡化為兩事件機率之直接相加:
解題方法
已知 與 為互斥事件,且 、。代入互斥事件加法公式:
選項分析
- (A) :此為互斥事件之交集機率 ,並非聯集機率 ,故錯誤。
- (B) :此為 (獨立事件之交集計算式),與題意不符,故錯誤。
第 4 題
If , , and , then
(A) 0.6700
(B) 0.8375
(C) 0.9750
(D) 0.25
登入後即可作答並保存紀錄。
核心觀念
本題考查機率加法法則(Addition Law of Probability)與條件機率(Conditional Probability)之結合計算:
- 機率加法法則:
- 條件機率定義:在事件 已發生的條件下,事件 發生的條件機率為:
解題方法
步驟 1:求交集機率
已知 、、,由機率加法法則移項求 :
步驟 2:求條件機率
將 與 代入條件機率公式:
選項分析
第 5 題
For a one-tailed test (upper tail), a sample size of 18 at 95% confidence,
(A) 2.12
(B) -2.12
(C) -1.740
(D) 1.740
登入後即可作答並保存紀錄。
核心觀念
在母體平均數的 檢定中,當樣本大小為 時, 分配的自由度(Degrees of freedom, )為:
題目設定為 信賴水準(對應顯著水準 )的右尾單尾檢定(One-tailed test, upper tail),代表拒絕域全部位於 分配的右尾,右尾面積為 ,且臨界值 為正值。
解題方法
- 計算自由度 :
已知樣本數 ,則:
- 決定右尾機率 與正負號:
- 信賴水準為 ,故顯著水準 。
- 因檢定為右尾檢定(Upper tail),拒絕域在右側,故臨界值為正數 。
- 查 分配表求臨界值:
在自由度 、單尾右尾面積 下,對應的 臨界值為:
選項分析
- (A) :此為雙尾檢定(每尾面積 , 時 )之臨界值,而非 的單尾檢定臨界值,故錯誤。
第 6 題
Whenever the population standard deviation is unknown and the population has a normal or near-normal
distribution, which distribution is used in developing an interval estimation?
(A) standard distribution
(B) z distribution
(C) beta distribution
(D) t distribution
登入後即可作答並保存紀錄。
此題考驗在不同情況下,進行區間估計時應使用的機率分配。
題目描述的條件是:
- 母體標準差 () 未知 (population standard deviation is unknown)。
- 母體服從常態或近似常態分佈 (population has a normal or near-normal distribution)。
在這些條件下,當我們需要建構母體平均數的信賴區間 (confidence interval for the population mean) 時,我們應該使用 t 分配 (t distribution)。
原因如下:
- 當母體標準差 已知時,我們使用 Z 分配(標準常態分配)。
- 當母體標準差 未知,但樣本數 非常大(通常 )時,根據中央極限定理 (Central Limit Theorem),樣本平均數的抽樣分配近似於常態分佈,此時我們可以使用 Z 分配作為近似。
- 然而,當母體標準差 未知,且母體服從常態或近似常態分佈,且樣本數 較小時,樣本標準差 作為 的估計會引入額外的變異性。
第 7 題
A random sample of 144 observations has a mean of 20, a median of 21, and a mode of 22. The population
standard deviation is known to equal 4.8. The 95.44% confidence interval for the population mean is
(A) 15.2 to 24.8
(B) 19.200 to 20.800
(C) 19.216 to 20.784
(D) 21.2 to 22.8
登入後即可作答並保存紀錄。
核心觀念
本題考查「母體標準差已知時,母體平均數的信賴區間」。
當母體標準差 已知,且樣本數足夠大時,母體平均數 的信賴區間為
其中:
- :樣本平均數
- :母體標準差
- :樣本數
- :標準常態分配的臨界值
題目給定信賴水準為 。標準常態分配中,
因此本題的臨界值為
解題方法
已知:
先計算樣本平均數的標準誤:
信賴區間的誤差範圍為
因此,母體平均數的 信賴區間為
即
所以正確選項為 (B)。
題目提供的樣本中位數 與眾數 ,對於母體平均數的信賴區間沒有作用;本題只需使用樣本平均數、樣本數及已知的母體標準差。
選項分析
-
(A) 15.2 to 24.8:錯誤。
此區間以 為中心,但誤差範圍為 ,相當於直接使用母體標準差,未除以 ,忽略了樣本平均數的標準誤。 -
(B) 19.200 to 20.800:正確。
使用得到區間 至 。
第 8 題
Exhibit AA
n=36, , S = 12
Refer to Exhibit AA. The standardized test statistic equals
(A) 2.3
(B) 0.38
(C) -2.3
(D) -0.38
登入後即可作答並保存紀錄。
核心觀念
進行單一母體平均數 之假設檢定時:
當母體標準差 未知、以樣本標準差 估計時,標準化檢定統計量(Standardized test statistic)為:
其中 為樣本平均數, 為虛無假設邊界值, 為樣本標準差, 為樣本大小,分母 為樣本平均數的標準誤(Standard error of the mean)。
解題方法
由題幹(Exhibit AA)讀取已知數據:
- 樣本數
- 樣本平均數
- 樣本標準差
- 虛無假設邊界母體平均數
- 計算標準誤(Standard Error):
- 計算標準化檢定統計量 :
選項分析
第 9 題
For a one-tailed hypothesis test (upper tail) the p-value is computed to be 0.034. If the test is being conducted
at 95% confidence, the null hypothesis
(A) could be rejected or not rejected depending on the sample size
(B) could be rejected or not rejected depending on the value of the mean of the sample
(C) is not rejected
(D) is rejected
登入後即可作答並保存紀錄。
此題考驗 p-value 與信賴水準 (顯著水準) 的關係,以及如何據此判斷是否拒絕虛無假設。
題目給定:
檢定類型:單尾檢定(右尾)(one-tailed hypothesis test, upper tail)
p-value = 0.034
信賴水準 = 95% confidence
在假設檢定中,95% 的信賴水準對應於 5% 的顯著水準 ()。
也就是說,。
p-value 的定義是:在虛無假設為真的前提下,觀察到當前樣本結果或更極端結果的機率。
判斷規則是:
- 如果 p-value ,則拒絕虛無假設 。
- 如果 p-value ,則不拒絕虛無假設 。
在這個題目中:
p-value = 0.034
比較 p-value 和 :
第 10 題
To construct an interval estimate for the difference between the means of two populations which are normally
distributed and have equal variances, we must use a t distribution with (let be the size of sample 1 and the
size of sample 2)
(A) degrees of freedom
(B) degrees of freedom
(C) degrees of freedom
(D)
登入後即可作答並保存紀錄。
此題考驗建構兩個獨立母體平均數差的信賴區間時,所使用的 t 分配自由度。
題目描述的條件是:
- 建構兩個母體平均數差的區間估計 (interval estimate for the difference between the means of two populations)。
- 兩個母體均為常態分佈 (normally distributed)。
- 兩個母體具有相等變異數 (have equal variances)。
當滿足上述條件時,我們使用「合併變異數 t 檢定 (pooled variance t-test)」或建構合併變異數 t 信賴區間。
在這種情況下,t 分配的自由度 (degrees of freedom, df) 是透過合併兩個樣本的自由度來計算的:
其中 是第一個樣本的大小, 是第二個樣本的大小。
合併變異數 的計算公式為:
然後,t 統計量為:
第 11 題
Exhibit BB
The following information was obtained from matched samples.
The daily production rates for a sample of workers before and after a training program are shown below.
| Worker | Before | After |
|---|---|---|
| 1 | 20 | 22 |
| 2 | 25 | 23 |
| 3 | 27 | 27 |
| 4 | 23 | 20 |
| 5 | 22 | 25 |
| 6 | 20 | 19 |
| 7 | 17 | 18 |
Refer to Exhibit BB. The null hypothesis to be tested is . The test statistic is
(A) -1.96
(B) 1.96
(C) 0
(D) 1.645
登入後即可作答並保存紀錄。
此題考驗對「配對樣本 t 檢定 (Paired t-test)」的理解與計算。
題目指出資料來自「配對樣本 (matched samples)」,這表示我們應該對差異值進行分析,而不是直接比較兩個樣本的平均數。
我們需要計算每位員工的「差異值 (difference)」,通常定義為「後測值 - 前測值」()。
首先,計算差異值 :
| Worker | Before | After | |
|---|---|---|---|
| 1 | 20 | 22 | 2 |
| 2 | 25 | 23 | -2 |
| 3 | 27 | 27 | 0 |
| 4 | 23 | 20 | -3 |
| 5 | 22 | 25 | 3 |
| 6 | 20 | 19 | -1 |
| 7 | 17 | 18 | 1 |
接下來,計算差異值的樣本平均數 () 和樣本標準差 ()。
樣本數 。
計算 :
計算差異值的標準差 。
首先計算變異數 :
由於 ,所以 。
第 12 題
In an analysis of variance where the total sample size for the experiment is and the number of populations is
K, the mean square within treatments is
(A)
(B)
(C)
(D)
登入後即可作答並保存紀錄。
此題考驗對「變異數分析 (Analysis of Variance, ANOVA)」中各項統計量的定義,特別是「組內均方 (Mean Square Within, MSW)」。
在 ANOVA 中,總變異被分解為組間變異 (Between-group variation) 和組內變異 (Within-group variation)。
-
組間變異 (Between-group variation):衡量不同組別(處理、母體)的平均數之間的差異。
- 組間平方和 (Sum of Squares Between, SSTR 或 SSB)
- 組間自由度 (Degrees of Freedom Between, DFB) = ,其中 是組別(母體)的數量。
- 組間均方 (Mean Square Between, MSB 或 MSB) = 。
-
組內變異 (Within-group variation):衡量各組內的數據點與該組平均數之間的差異,代表隨機誤差。
- 組內平方和 (Sum of Squares Within, SSE 或 SSW)
- 組內自由度 (Degrees of Freedom Within, DFW) = ,其中 是總樣本大小, 是組別(母體)的數量。
第 13 題
Exhibit CC
for
Refer to Exhibit CC. The mean of x is
(A) 0.10
(B) 10
(C) 100
(D) 1,000
登入後即可作答並保存紀錄。
此題考驗對「指數分佈 (Exponential Distribution)」的平均數計算。
題目給定的機率密度函數 (Probability Density Function, PDF) 是:
for
這是一個指數分佈。指數分佈的機率密度函數一般形式為:
for
其中 是率參數 (rate parameter)。
將題目給定的函數與標準形式比較:
vs
我們可以清楚地看到,。
但是,標準形式是 。
題目給定的形式是 。
這裡的 是係數,而指數部分的 是 。
所以,。
指數分佈的平均數 (mean) 的公式是:
將 代入:
第 14 題
Refer to Exhibit CC. The probability that x is between 3 and 6 is
(A) 0.4512
(B) 0.1920
(C) 0.2592
(D) 0.6065
登入後即可作答並保存紀錄。
此題考驗計算「指數分佈」的累積機率。
題目給定的機率密度函數 (PDF) 是 for 。
我們已經知道這是一個尺度參數 的指數分佈,或者率參數 的指數分佈。
累積分佈函數 (Cumulative Distribution Function, CDF) 對於指數分佈是:
for
或者使用尺度參數 :
for
我們需要計算機率 。
這可以使用 CDF 來計算:
使用 :
所以,
第 15 題
In a regression model involving more than one independent variable, which of the following tests must be
used in order to determine if the relationship between the dependent variable and the set of independent
variables is significant?
(A) t test
(B) F test
(C) Either a t test or a chi-square test can be used.
(D) chi-square test
登入後即可作答並保存紀錄。
此題考驗對「多元迴歸 (Multiple Regression)」顯著性檢定的理解。
在多元迴歸模型中,我們感興趣的是整個自變數集合是否對應變數有顯著的預測能力。也就是說,我們要檢定的是:
所有自變數的迴歸係數均為零(即 )。
至少有一個自變數的迴歸係數不為零。
這個檢定是關於所有自變數的共同顯著性,而不是單獨某一個自變數的顯著性。
用於檢定整個迴歸模型的顯著性(即判斷應變數與所有自變數集合之間是否存在線性關係)的統計檢定是 F 檢定 (F test)。
F 檢定會比較由迴歸模型解釋的變異量 (Regression Sum of Squares, SSR) 與未被解釋的變異量 (Error Sum of Squares, SSE),並考慮到模型的自由度。
第 16 題
In simple linear regression analysis, which of the following is not true?
(A) The F test and the t test yield the same results.
(B) The F test and the t test may or may not yield the same results.
(C) The relationship between X and Y is represented by means of a straight line.
(D) The value of .
登入後即可作答並保存紀錄。
此題考驗對「簡單線性迴歸 (Simple Linear Regression)」基本性質的理解,找出哪個敘述是錯誤的。
簡單線性迴歸模型為 。
我們來逐一分析各選項:
(A) The F test and the t test yield the same results.
在簡單線性迴歸中,F 檢定用於檢定整個迴歸模型的顯著性,即 。t 檢定也用於檢定單一自變數的迴歸係數顯著性,即 。
對於簡單線性迴歸,這兩個檢定是等價的。F 統計量等於 t 統計量的平方 (),並且它們的 p-value 是相同的。因此,它們會得出相同的結論(拒絕或不拒絕虛無假設)。所以這個敘述是真的。
(B) The F test and the t test may or may not yield the same results.
承接 (A) 的分析,在簡單線性迴歸中,F 檢定和 t 檢定總是會得出相同的結論。因此,「may or may not」的說法是不正確的。這句話與 (A) 矛盾。由於 (A) 是對的,(B) 必定是錯的。
Exhibit DD
The table below gives beverage preferences for random samples of girls and boys.
| Girls | Boys | Total | |
|---|---|---|---|
| Coffee | 50 | 200 | 250 |
| Tea | 100 | 150 | 250 |
| Soft Drink | 200 | 200 | 400 |
| Other | 50 | 50 | 100 |
| Total | 400 | 600 | 1000 |
We are asked to test for independence between age (i.e., boy and girl) and drink preferences.
第 17 題
Refer to Exhibit DD. With a .05 level of significance, the critical value for the test is
(A) 1.645
(B) 7.815
(C) 14.067
(D) 15.507
登入後即可作答並保存紀錄。
此題考驗進行「獨立性檢定 (Test of Independence)」時,如何找出臨界值。
獨立性檢定用於判斷兩個類別變數之間是否相關。在這裡,兩個類別變數是「性別 (Gender: Girl/Boy)」和「飲料偏好 (Beverage Preference)」。
檢定的步驟通常包括:
- 建立虛無假設 () 和對立假設 ()。
- : 性別和飲料偏好是獨立的。
- : 性別和飲料偏好是相關的(不獨立)。
- 計算預期次數 (Expected Frequencies)。
- 計算卡方檢定統計量 ()。
- 確定自由度 (degrees of freedom, df)。
- 查找臨界值。
題目給定顯著水準 。
我們需要計算自由度。對於獨立性檢定,自由度的計算公式為:
在表格中:
行數(飲料種類)= 4 (Coffee, Tea, Soft Drink, Other)
列數(性別)= 2 (Girls, Boys)
所以,自由度 。
現在,我們需要查找自由度為 3,且顯著水準為 0.05 的卡方分配臨界值。
查閱卡方分配表 (Chi-square distribution table)。
第 18 題
Refer to Exhibit DD. The expected number of boys who prefer coffee is
(A) 0.25
(B) 0.33
(C) 150
(D) 200
登入後即可作答並保存紀錄。
原卷 Exhibit DD 是飲料偏好與性別的列聯表(欄為性別、列為飲料):
| 飲料 | Girls | Boys | Total |
|---|---|---|---|
| Coffee | 50 | 200 | 250 |
| Tea | 100 | 150 | 250 |
| Soft Drink | 200 | 200 | 400 |
| Other | 50 | 50 | 100 |
| Total | 400 | 600 | 1,000 |
核心觀念
卡方獨立性檢定的期望次數,是在「性別與飲料偏好互相獨立」的假設下,每一格應有的次數:
解題方法
- Coffee 列總和
- Boys 欄總和
- 總樣本數
第 19 題
Exhibit EE
Below you are given a partial computer output based on a sample of 7 observations, relating an independent
variable (x) and a dependent variable (y).
| Predictor | Coefficient | Standard Error |
|---|---|---|
| Constant | 24.112 | 8.376 |
| x | -0.252 | 0.253 |
Analysis of Variance
| SOURCE | SS |
|---|---|
| Regression | 196.893 |
| Error | 94.822 |
Based on Exhibit EE, to test for the significance of the slope, what is the t test statistics?
(A) 3.222
(B) 3.650
(C) 3.986
(D) 4.126
登入後即可作答並保存紀錄。
核心觀念
檢定簡單線性迴歸模型中的斜率是否顯著,通常檢定:
斜率的 統計量為:
在只有一個自變數的簡單線性迴歸中,斜率檢定也可由 ANOVA 表的 統計量計算:
且具有下列關係:
因此可利用題目提供的迴歸平方和與誤差平方和求得 值。
解題方法
樣本數為 ,且模型包含截距與一個自變數 。
迴歸自由度:
誤差自由度:
先計算迴歸均方與誤差均方:
因此:
由於簡單線性迴歸中 ,所以:
題目中的斜率估計值為負,因此若保留方向,;選項列出的是統計量的絕對值,故選 。
題目表中的係數與標準誤直接相除會得到:
此數值與 ANOVA 表不一致,顯示題目部分輸出存在排版或抄錄誤差。依據 ANOVA 表計算所得的結果與選項吻合,因此採用 ANOVA 表的計算結果。
選項分析
-
(A) 3.222:正確。
由 ANOVA 表:
第 20 題
Based on Exhibit EE, to perform an F test, what is the F test statistic?
(A) 9.766
(B) 9.932
(C) 10.382
(D) 11.010
登入後即可作答並保存紀錄。
核心觀念
在簡單線性迴歸模型(Simple Linear Regression,,自變數個數 )的變異數分析(ANOVA)表中:
- 迴歸自由度(Regression degrees of freedom):
- 誤差自由度(Error degrees of freedom):
- 迴歸均方(Mean Square Regression, )與誤差均方(Mean Square Error, ):
- 檢定模型顯著性的 檢定統計量( test statistic):
解題方法
根據原卷 Exhibit EE 所給定的簡單線性迴歸數據(樣本數 ,自變數個數 ):
- 迴歸平方和(Sum of Squares due to Regression):
- 誤差平方和(Sum of Squares due to Error):
-
計算自由度:
- 迴歸自由度:
- 誤差自由度:
-
計算迴歸均方()與誤差均方():
- 計算 檢定統計量: