115 年 國立臺灣大學森林環境暨資源學系碩士班丁組《統計學(D)》
第 1 題10 分
Answer the following questions about statistical concepts:
(1) A researcher claims: "My 95% confidence interval for the population mean is (42.3, 47.8), therefore there is a 95% probability that the true population mean lies within this interval." Is this statement correct? Explain why or why not.
(2) A forest inventory study reports: "The standard error of the mean tree height is 2.3 metres." Another study of the same forest reports: "The standard deviation of tree heights is 2.3 metres." Can both statements be referring to the same dataset? Explain.
登入後即可作答並保存紀錄。
本題主要在檢驗考生對於信賴區間與標準誤、標準差的觀念是否清晰。
(1) 關於信賴區間的敘述,該研究者的說法是錯誤的。
信賴區間的建立是以樣本資料為基礎,對母體參數(在此為母體平均數 )所做出的區間估計。當我們說「95% 的信賴區間是 (42.3, 47.8)」時,其正確的涵義是:如果我們從同一個母體重複抽取無限多次樣本,並對每次抽樣計算出一個95%信賴區間,那麼在這所有計算出來的信賴區間中,大約有95%的區間會包含真實的母體平均數 。
換句話說,信賴區間是隨機的,它會隨著樣本的變動而變動。而母體平均數 是一個固定的、未知的常數。因此,對於一個已經計算出來的、固定的信賴區間 (42.3, 47.8),我們不能說「母體平均數有 95% 的機率落在此區間內」,因為母體平均數 要麼就在這個區間內,要麼就不在,機率只有 0 或 1。正確的說法應該是「我們對母體平均數 有 95% 的信心,認為它落在此區間內」。
【答案】此敘述不正確。信賴區間的機率是針對區間本身而言,而非針對固定的母體參數。正確的說法是,若重複抽樣,約有95%的信賴區間會涵蓋母體平均數;對於一個已計算出的區間,母體平均數要麼在此區間內,要麼不在,機率為0或1。
(2) 關於標準誤與標準差的敘述,兩者有可能指涉相同的數據集,但必須滿足特定條件。
標準差 (Standard Deviation, SD) 是用來衡量樣本資料離散程度的統計量。對於一個樣本而言,其標準差僅由該樣本的資料值決定。
標準誤 (Standard Error, SE) 則是衡量樣本統計量(在此為樣本平均數 )抽樣變異性的指標。對於樣本平均數而言,其標準誤的公式為 ,其中 是樣本標準差, 是樣本大小。
題目中提到,一個研究報告「標準誤為 2.3 公尺」,另一個研究報告「標準差為 2.3 公尺」。
第 2 題20 分
Let A, B, and C be three events defined on a sample space S, with the following four properties:
P(A) = 0.4, P(B) = 0.5, P(C) = 0.3
A and B are independent
A and C are mutually exclusive
P(B ∩ C) = 0.1
(1) P(A ∩ B) = ? (4 pt)
(2) P(A ∪ B ∪ C) = ? (4 pt)
(3) P(A' ∩ B') = ? (4 pt)
(4) If P(A ∩ B ∩ C) = 0, then P(A' ∩ B' ∩ C') = ? (4 pt)
(5) Are B and C independent? (4 pt)
登入後即可作答並保存紀錄。
本題主要考驗考生對機率基本性質、獨立事件、互斥事件、德摩根定律以及機率加法公式的理解與應用。
已知條件:
P(A) = 0.4
P(B) = 0.5
P(C) = 0.3
A 與 B 獨立,即
A 與 C 互斥,即
P(B ∩ C) = 0.1
(1) 計算 。
由於 A 與 B 是獨立事件,根據獨立事件的定義:
【答案】
(2) 計算 。
我們使用機率的廣義加法公式:
我們已知:
P(A) = 0.4
P(B) = 0.5
P(C) = 0.3
P(A ∩ B) = 0.2 (由 (1) 計算得出)
P(A ∩ C) = 0 (因為 A 與 C 互斥)
P(B ∩ C) = 0.1 (題目已知)
現在需要確定 。
由於 A 與 C 互斥,表示 A 和 C 不能同時發生,即 。
如果 的機率為 0,那麼任何包含 的交集事件,其機率也必然為 0。
因此, 是 的一個子集,所以 。
由於機率不能為負,所以 。
將所有值代入公式:
【答案】
第 3 題20 分
A forest ecologist is investigating the effect of four different thinning treatments on the diameter
growth of Chamaecyparis formosensis (Taiwan red cypress) over a 5-year period. The four
treatments are: Control (no thinning), Light (25% removal), Moderate (50% removal), and Heavy
(75% removal). Because the study site has a known elevation gradient affecting soil moisture and
temperature, the experiment employs a Randomised Complete Block Design (RCBD) with 5 blocks
at different elevations.
The diameter growth data (cm) of residual trees are shown below:
| Block 1 | Block 2 | Block 3 | Block 4 | Block 5 | Treatment Mean |
|---|---|---|---|---|---|
| Control | 8 | 12 | 10 | 14 | 6 |
| Light | 16 | 18 | 20 | 22 | 14 |
| Moderate | 12 | 16 | 12 | 18 | 12 |
| Heavy | 8 | 10 | 10 | 14 | 8 |
| Block Mean | 11 | 14 | 13 | 17 | 10 |
Critical value:
(1) Write down the appropriate statistical model for RCBD and state all assumptions. (4 pt)
(2) State the null and alternative hypotheses for testing the treatment effect. (2 pt)
(3) Calculate the F-statistic for the treatment effect. (10pt) [Hint: ]
(4) At , what do you conclude about the effect of thinning intensity? (4 pt)
登入後即可作答並保存紀錄。
本題主要考驗考生對隨機完全區集設計 (Randomised Complete Block Design, RCBD) 的統計模型、假設、假設檢定以及 F 統計量計算的理解。
實驗設計:
處理 (Treatment): 4 種,分別是 Control, Light, Moderate, Heavy。
區集 (Block): 5 個,代表不同的海拔高度。
觀測值:殘餘樹木直徑生長量 (cm)。
數據表格:
| Treatment | Block 1 | Block 2 | Block 3 | Block 4 | Block 5 | Treatment Mean |
|---|---|---|---|---|---|---|
| Control | 8 | 12 | 10 | 14 | 6 | 10 |
| Light | 16 | 18 | 20 | 22 | 14 | 18 |
| Moderate | 12 | 16 | 12 | 18 | 12 | 14 |
| Heavy | 8 | 10 | 10 | 14 | 8 | 10 |
| Block Mean | 11 | 14 | 13 | 17 | 10 |
總觀測值個數 。
處理數 。
區集數 。
(1) 統計模型與假設。
對於 RCBD,適當的統計模型可以表示為:
其中:
是第 種處理在第 個區集下的觀測值。
是總平均數。
是第 種處理的主效應 ()。
是第 個區集的主效應 ()。
是隨機誤差項,代表未被模型解釋的變異。
此模型的假設 (Assumptions) 通常包括:
a. 誤差項 是獨立且同分佈的隨機變數。
b. 誤差項 服從平均數為 0,變異數為 的常態分佈,即 。
c. 誤差項之間不相關。
d. 處理效應 和區集效應 是固定的參數 (fixed effects),或者在某些模型中可視為隨機變數 (random effects),但在此處的標準 RCBD 模型中通常視為固定效應。
【答案】統計模型:,其中 (處理), (區集)。假設: 且獨立同分佈。
(2) 檢定處理效應的虛無與對立假設。
我們要檢定的是不同處理(不同稀疏強度)是否對直徑生長量有顯著影響。
虛無假設 ():所有處理的平均效應都相等,即不同稀疏強度對直徑生長量沒有顯著影響。
或者等價地,所有處理的母體平均生長量都相等:
對立假設 ():至少有一種處理的平均效應與其他不同,即至少有一種稀疏強度對直徑生長量有顯著影響。
: 至少有一個 ()
或者等價地:
: 至少有一個 ()
【答案】 (或 );: 至少有一個 (或至少有一個 )。
(3) 計算處理效應的 F 統計量。
F 統計量的計算公式為:
其中 MST 是處理均方 (Mean Square for Treatment),MSE 是誤差均方 (Mean Square for Error)。
我們需要計算總平方和 ()、處理平方和 ()、區集平方和 () 和誤差平方和 ()。
已知 。
總觀測數 。
處理數 。
區集數 。
第 4 題20 分
Researchers are investigating the stress-reducing effects of Shinrin-yoku (forest bathing) compared
with urban environments. Sixteen participants were randomly assigned to two groups: the Forest
group walked in a natural forest for 20 minutes, whilst the Urban group walked in a city area for the
same duration. Salivary cortisol concentration (nmol L⁻¹), a biomarker of physiological stress, was
measured after the walking session. Higher cortisol levels indicate greater stress.
The salivary cortisol concentrations (nmol L⁻¹) are shown below:
| Subject | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Forest group | 8 | 10 | 12 | 14 | 14 | 16 | 18 | 20 |
| Urban group | 14 | 16 | 18 | 20 | 20 | 22 | 24 | 26 |
Critical values: ;
(1) State the null and alternative hypotheses for a two-tailed test. (2 pt)
(2) Calculate the sample mean and sum of squares for each group. (6 pt)
[Hint: ]
(3) Calculate the pooled standard deviation (), the t-statistic, and perform the hypothesis test at . State your conclusion. (6 pt)
[Hint: , ]
(4) Calculate the effect size (eta-squared) and interpret its magnitude using Cohen's guidelines (small = 0.01, medium = 0.06, large = 0.14). Discuss the practical significance of the findings. (6 pt)
[Hint: ; ]
登入後即可作答並保存紀錄。
本題主要考驗考生對於獨立樣本 t 檢定、效應值計算及其解釋的理解。實驗目的是比較森林浴與城市環境對壓力指標(唾液皮質醇濃度)的影響。
實驗設計:
兩個獨立樣本群體:森林組 (Forest group) 和城市組 (Urban group)。
樣本大小: (森林組), (城市組)。總樣本數 。
觀測值:唾液皮質醇濃度 (nmol L⁻¹)。
檢定類型:雙尾檢定 (two-tailed test)。
顯著水準:。
(1) 虛無與對立假設 (雙尾檢定)。
虛無假設 (): 森林組和城市組的平均皮質醇濃度沒有差異。
(或 )
對立假設 (): 森林組和城市組的平均皮質醇濃度有差異。
(或 )
【答案】;。
(2) 計算各組的樣本平均數和平方和。
樣本平均數:
森林組 ():
城市組 ():
平方和 ():
森林組 ():
城市組 ():
【答案】森林組:樣本平均數 ,平方和 。城市組:樣本平均數 ,平方和 。
(3) 計算合併標準差 ()、t 統計量,並進行假設檢定。
合併標準差 ():
t 統計量:
自由度 。
檢定水準 。
對於雙尾檢定,臨界值為 。
假設檢定:
我們比較計算出的 t 統計量 與臨界值 。
。
由於 ,我們拒絕虛無假設 ()。
結論:在顯著水準 0.05 下,我們有足夠的證據推論,森林組和城市組的平均皮質醇濃度存在顯著差異。
【答案】合併標準差 。t 統計量 。由於 ,拒絕 ,結論是兩組平均皮質醇濃度有顯著差異。
第 5 題20 分
A team of forest researchers is developing standardised protocols for estimating above-ground
biomass in subtropical montane forests. They collect measurements from n randomly selected sample
plots, where each plot yields a biomass estimate (in Mg ha⁻¹). The researchers assume that
biomass follows a normal distribution: , where is the true mean biomass and is the population variance (20 pt).
(1) The researchers propose using the sample mean as an estimator for .
Prove that is an unbiased estimator of . (10 pt)
(2) When reporting their findings, the researchers need to construct confidence intervals for the mean
biomass. Since is unknown, they must use the t-statistic:
Prove that this statistic follows a t-distribution with degrees of freedom. (10 pt)
登入後即可作答並保存紀錄。
本題主要考驗考生對統計估計量性質(不偏性)的證明,以及 t 統計量的分佈推導。
已知:
樣本 是從母體 中隨機抽取。
樣本平均數 。
樣本標準差 。
(1) 證明 是 的不偏估計量。
一個估計量 被稱為對參數 的不偏估計量,如果它的期望值等於該參數本身,即 。
我們需要證明 。
根據期望值的線性性質,我們有:
由於 是從母體 中抽取的,每一個 的期望值都是母體平均數 。
所以, 對於所有的 。
將 代入上式:
因此,樣本平均數 的期望值等於母體平均數 ,證明了 是 的一個不偏估計量。
【答案】。
(2) 證明統計量 服從自由度為 的 t 分佈。
這個證明通常需要利用標準常態分佈與卡方分佈的性質,以及樣本標準差 的定義。
首先,我們知道標準化樣本平均數 服從標準常態分佈 。
再來,我們需要考慮樣本標準差 。樣本標準差的平方 。
第 6 題10 分
In null hypothesis significance testing (NHST), the power of the test is conventionally defined as , where is the probability of Type II error. A student proposes an alternative measure: , arguing that this "leaves behind pure truth" by simultaneously penalising both types of errors. (10 pt)
(1) Explain why and cannot simply be added together in the traditional Neyman-Pearson framework. (2 pt)
(2) Despite the theoretical concerns, the quantity is actually used in practice under a different name. Identify this measure and briefly describe in which field it is commonly applied. (4 pt)
(3) In your opinion, what are the advantages and limitations of using as a diagnostic performance metric compared to using power alone? (4 pt)
登入後即可作答並保存紀錄。
本題考驗考生對假設檢定中第一類錯誤 (Type I error, )、第二類錯誤 (Type II error, )、檢定力 (Power, ) 的理解,以及對其他統計概念的連結與評估能力。
(1) 與 不能直接相加的原因。
在傳統的 Neyman-Pearson 假設檢定框架下, 和 代表的是兩種不同類型的錯誤,它們的定義和發生條件是不同的,並且它們的發生通常是相互制約的。
(第一類錯誤) 是在虛無假設 () 為真時,錯誤地拒絕 的機率。它是由檢定者事先設定的顯著水準。
(第二類錯誤) 是在對立假設 () 為真時,錯誤地未能拒絕 的機率。
這兩者不能直接相加的原因包括:
a. 定義域不同: 是在 為真時的條件機率,而 是在 為真時的條件機率。它們發生在不同的情境下,不能直接加總。
b. 相互制約性:在固定樣本大小下,通常 和 之間存在權衡關係。如果試圖降低 (例如,使拒絕域變小),則 通常會增大;反之亦然。它們不是獨立的、可加的量。
c. 「純粹的真實」:學生提出的 試圖懲罰兩種錯誤。然而,這種懲罰是線性的加總,沒有考慮到錯誤發生的條件( 真或 真),也沒有考慮到不同錯誤的嚴重性或實際影響。在某些情況下,拒絕一個錯誤的假設(第一類錯誤)可能比未能拒絕一個錯誤的假設(第二類錯誤)後果更嚴重,反之亦然。簡單相加無法反映這種複雜性。
d. 檢定力 的意義:檢定力 是在 為真時,正確拒絕 的機率。它衡量了檢定的有效性,是NHST中一個核心且重要的指標。
【答案】 和 是在不同假設情境下計算的條件機率,且在固定樣本大小下通常存在權衡關係,不能直接相加。簡單相加無法反映錯誤發生的條件及相對嚴重性。
(2) 的實際應用。
這個量 在實務中確實存在,它被稱為 誤分類率 (Misclassification Rate) 或 總錯誤率 (Total Error Rate),尤其是在 診斷測試 (Diagnostic Testing) 和 二元分類 (Binary Classification) 的領域中。
在二元分類問題中,我們有四種可能的結果:
- 真陽性 (True Positive, TP):實際為陽性,預測也為陽性。
- 真陰性 (True Negative, TN):實際為陰性,預測也為陰性。
- 假陽性 (False Positive, FP):實際為陰性,預測為陽性(對應第一類錯誤,)。
- 假陰性 (False Negative, FN):實際為陽性,預測為陰性(對應第二類錯誤,)。
如果我們將「陽性」視為「拒絕 」,「陰性」視為「未能拒絕 」,則:
- 假陽性 (FP) 的機率近似於 (當 為真時)。
- 假陰性 (FN) 的機率近似於 (當 為真時)。
那麼,總的錯誤率就是假陽性和假陰性的比例:
總錯誤率 =
其中 是總樣本數。
如果我們將 和 看作是總體層面的錯誤率,那麼 就是總體層面的「正確率」,即 (TP + TN) / 。