114 年 國立成功大學統計學研究所《統計學》

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

第 A. Multiple Choice 題3 分

A. Multiple Choice (3.5%×20=70%)

  1. Decide which of the following statements is false
    (a) There are no limited number of normal distributions
    (b) The inflection points for any normal distribution are one standard deviation on either side of the mean
    (c) The x-axis is a horizontal asymptote for all normal distributions
    (d) The line of symmetry for all normal distributions is x=0x = 0

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

這一題的完整詳解

這題在考驗對常態分配(Normal Distribution)基本性質的理解。

常態分配的性質:

  1. 無限多個常態分配:常態分配由平均數 μ\mu 和標準差 σ\sigma 決定,μ\mu 和 σ\sigma 可以是任何實數(σ>0\sigma > 0),因此有無限多個不同的常態分配。選項 (a) 正確。
  2. 反曲點(Inflection Points):常態分配的圖形在距離平均數 μ\mu 各一個標準差 σ\sigma 的位置有反曲點。也就是說,反曲點位於 μ−σ\mu - \sigma 和 μ+σ\mu + \sigma。選項 (b) 正確。
  3. 水平漸近線(Horizontal Asymptote):常態分配的曲線會無限接近但永不觸碰到 x 軸。因此,x 軸(即 y=0y=0)是常態分配曲線的一條水平漸近線。
🔒

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

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

免費註冊

第 1 題

  1. Decide which of the following statements is false
    (a) There are no limited number of normal distributions
    (b) The inflection points for any normal distribution are one standard deviation on either side of the mean
    (c) The x-axis is a horizontal asymptote for all normal distributions
    (d) The line of symmetry for all normal distributions is x=0x = 0

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

這一題的完整詳解

這題在考驗對常態分配(Normal Distribution)基本性質的理解。

常態分配的性質:

  1. 無限多個常態分配:常態分配由平均數 μ\mu 和標準差 σ\sigma 決定,μ\mu 和 σ\sigma 可以是任何實數(σ>0\sigma > 0),因此有無限多個不同的常態分配。選項 (a) 正確。
  2. 反曲點(Inflection Points):常態分配的圖形在距離平均數 μ\mu 各一個標準差 σ\sigma 的位置有反曲點。也就是說,反曲點位於 μ−σ\mu - \sigma 和 μ+σ\mu + \sigma。選項 (b) 正確。
  3. 水平漸近線(Horizontal Asymptote):常態分配的曲線會無限接近但永不觸碰到 x 軸。因此,x 軸(即 y=0y=0)是常態分配曲線的一條水平漸近線。
🔒

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

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

免費註冊

第 2 題

  1. Assume that the population standard deviation is unknown and the population distribution is approximately normal. How will decreasing the level of confidence without changing the sample size affect the width of a confidence interval for a population mean? Decide which of the following statements is false
    (a) The margin of error will increase because the critical value will decrease. The increased margin of error will cause the confidence interval to be wider.
    (b) The margin of error will decrease because the critical value will decrease. The decreased margin of error will cause the confidence interval to be narrower.
    (c) The margin of error will decrease because the critical value will increase. The decreased margin of error will cause the confidence interval to be narrower.
    (d) The margin of error will increase because the critical value will increase. The increased margin of error will cause the confidence interval to be wider of error will cause the confidence interval to be wider.

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

這一題的完整詳解

核心觀念

母體標準差未知,且母體近似常態,因此母體平均數 μ\mu 的信賴區間使用 tt 分配:

Xˉ±tα/2,n−1Sn\bar X \pm t_{\alpha/2,n-1}\frac{S}{\sqrt n}

其中:

  • Xˉ\bar X:樣本平均數
  • SS:樣本標準差
  • nn:樣本數
  • tα/2,n−1t_{\alpha/2,n-1}:自由度為 n−1n-1 的臨界值
  • tα/2,n−1Sn\displaystyle t_{\alpha/2,n-1}\frac{S}{\sqrt n}:誤差範圍(margin of error)

信賴區間寬度為:

W=2tα/2,n−1SnW=2t_{\alpha/2,n-1}\frac{S}{\sqrt n}

在樣本數 nn 不變時,若降低信賴水準,例如由 95%95\% 降至 90%90\%,則 α\alpha 由 0.050.05 增加至 0.100.10,臨界值會下降。因此:

臨界值下降⇒誤差範圍下降⇒信賴區間變窄\text{臨界值下降} \Rightarrow \text{誤差範圍下降} \Rightarrow \text{信賴區間變窄}

解題方法

本題只需判斷信賴水準與臨界值、誤差範圍及區間寬度之間的關係。

當樣本數固定時,

W=2tα/2,n−1SnW=2t_{\alpha/2,n-1}\frac{S}{\sqrt n}

其中 SS、nn 均不因信賴水準改變而改變,所以區間寬度完全取決於臨界值 tα/2,n−1t_{\alpha/2,n-1}。

降低信賴水準會使臨界值下降,故信賴區間變窄。選項中只有 (b) 完整正確描述此結果。

選項分析

(a) 錯誤。

選項指出臨界值下降,但誤差範圍會增加。實際上:

ME=tα/2,n−1SnME=t_{\alpha/2,n-1}\frac{S}{\sqrt n}

臨界值下降會使 MEME 下降,而不是增加。因此區間會變窄,不會變寬。

(b) 正確。

臨界值下降時,

ME=tα/2,n−1SnME=t_{\alpha/2,n-1}\frac{S}{\sqrt n}

也會下降,進而使信賴區間寬度

W=2MEW=2ME

變小,所以信賴區間變窄。

(c) 錯誤。

🔒

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

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

免費註冊

第 3 題

  1. A parent interest group is looking at whether birth order affects scores on the ACT test. It was suggested that, on average, first-born children earn lower ACT scores than second-born children. Let first-born children be Population 1 and let second-born children be Population 2. Is there sufficient evidence at the 10% significance level to say that the mean ACT score of first-born children is lower than that of second-born children? The null and alternative hypotheses for the test are H0:μ1=μ2H_0: \mu_1 = \mu_2 v.s. Hα:μ1<μ2H_\alpha: \mu_1 < \mu_2. Fill in the blank: (a) > (b) ≠ (c) < (d) =

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

這一題的完整詳解

本題考查假設檢定中對立假設(Alternative Hypothesis)之方向設定原則。

一、題意分析:
研究者欲探討出生順序對 ACT 測驗成績之影響,家長團體提出假說主張:「第一胎子女的平均 ACT 成績低於第二胎子女(first-born children earn lower ACT scores than second-born children)」。
設定:

  • 母體 1:第一胎子女,其母體平均數記為 μ1\mu_1
  • 母體 2:第二胎子女,其母體平均數記為 μ2\mu_2

二、假設檢定之建立準則:

  1. 虛無假設(H0H_0):通常代表現狀、無效應或無差異之基準狀態,本題設定為 H0:μ1=μ2H_0: \mu_1 = \mu_2。
  2. 對立假設(HaH_a 或 H1H_1):代表研究者所欲驗證、尋求統計證據予以支持的實質宣稱。
🔒

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

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

免費註冊

第 4 題

  1. Refer to 4; after surveying a random sample of 100 first-born children, the parents' group found that they had a mean score of 24.3 on the ACT. A survey of 200 second-born children resulted in a mean ACT score of 24.7. Assume that the population variance for first-born children is 4 and the population variance for second-born children is 10. What is your decision for the hypothesis testing? (a) 0.01 < p-value < 0.025, reject H0H_0 (b) 0.025 < p-value < 0.05, reject H0H_0 (c) 0.05 < p-value < 0.1, reject H0H_0 (d) 0.1 < p-value < 0.2, do not reject H0H_0

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

這一題的完整詳解

本題承接前題(第 3 題,題幹誤植為 Refer to 4)之檢定情境,欲檢定第一胎平均分數是否低於第二胎。

一、確認檢定架構與樣本數據:

  • 虛無假設:H0:μ1=μ2H_0: \mu_1 = \mu_2(或 μ1−μ2≥0\mu_1 - \mu_2 \ge 0)
  • 對立假設:Ha:μ1<μ2H_a: \mu_1 < \mu_2(左尾檢定)
  • 顯著水準:α=0.10\alpha = 0.10
  • 母體 1(第一胎):n1=100,xˉ1=24.3n_1 = 100, \bar{x}_1 = 24.3,母體變異數已知 σ12=4\sigma_1^2 = 4
  • 母體 2(第二胎):n2=200,xˉ2=24.7n_2 = 200, \bar{x}_2 = 24.7,母體變異數已知 σ22=10\sigma_2^2 = 10

二、計算檢定統計量:
因兩母體變異數 σ12,σ22\sigma_1^2, \sigma_2^2 為已知,應採用雙母體平均數差之 ZZ 檢定:

Z=(xˉ1−xˉ2)−0σ12n1+σ22n2Z = \frac{(\bar{x}_1 - \bar{x}_2) - 0}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}

代入數值:

🔒

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

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

免費註冊

第 5 題

  1. A study was done on a new drug designed to lower blood pressure. There are individuals involved in the study who have high blood pressure but are not given the drug. Select the term that best describes the above scenario. (a) single-blind experiment (b) placebo effect (c) control group (d) treatment group

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

這一題的完整詳解

核心觀念

本題測驗實驗設計(Experimental Design)的基本要素與分組名詞:

  1. 處理組(Treatment Group / Experimental Group):在實驗中接受特定處理(例如施予新開發藥物、特定教學法等介入措施)的受試對象群體。
  2. 對照組(Control Group):在實驗中不接受該特定處理(例如給予安慰劑、標準現有治療,或不給藥)的受試對象群體,其目的在於提供基線(Baseline),以排除時間趨勢、心理作用或其他外生干擾變數,確保處理效果能被有效歸因。
  3. 盲性實驗(Blinding Experiment):控制認知偏誤的設計方法,包含單盲(受試者不知受試條件)與雙盲(受試者與研究評估人員皆不知受試條件)。
  4. 安慰劑效應(Placebo Effect):受試者因「相信自己正在接受治療」而產生的心理或生理客觀改善反應。

解題方法

題目描述的情境為:

「有一項研究正在測試一種旨在降低血壓的新藥。該研究中有部分患有高血壓的個體沒有被給予該藥物(are not given the drug)。」

本題的核心在於辨識這群「參與實驗、具備目標症狀,但未接受實驗藥物處置」的受試者所代表的統計學名詞。由於該組個體未施加研究者主要探討的介入因子(新藥),其角色是作為對比基準,以衡量新藥的真實療效,因此該群體被稱為對照組(control group)。


選項分析

  • (a) single-blind experiment(單盲實驗):錯誤。
    單盲實驗是指「受試者不知道自己被分配到處理組還是對照組」的一種實驗設計技術,題目僅描述未給藥的群體身份,並未說明受試者是否知情,也不是在指涉一項「實驗方式」,故不符。
  • (b) placebo effect(安慰劑效應):錯誤。
    安慰劑效應是一種「心理或生理現象」(因預期心理帶來的反應),並非指稱「未給藥的這群人(individuals)」本身,詞性與概念皆不吻合。
  • (c) control group(對照組):正確。
🔒

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

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

免費註冊

第 6 題

  1. A research divided subjects into two groups according to gender and then selected members from each group. What sampling method was the researcher using? (a) Cluster (b) Stratified (c) Random (d) Systematic

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

這一題的完整詳解

這題考驗對抽樣方法的理解。

題目描述的抽樣過程:

  1. 研究者將所有受試者分成兩組,依據「性別」(Gender)。這表示研究者將母體(所有受試者)按照一個特徵(性別)進行分層。
  2. 然後,從「每個組別」中選取成員。

這種先將母體分成若干個具有某種共同特徵的子群體(稱為「層」,stratum),然後從每個子群體中獨立抽取樣本的方法,稱為「分層抽樣」(Stratified Sampling)。

各抽樣方法的定義:

  • 叢集抽樣(Cluster Sampling):將母體分成若干個叢集(通常是地理區域或群體),然後隨機抽取若干個叢集,並對被選中叢集中的所有成員進行調查,或從中再進行抽樣。
  • 分層抽樣(Stratified Sampling):將母體分成若干個具有某種共同特徵的子群體(層),然後從每個層中按比例或不按比例地隨機抽取樣本。
🔒

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

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

免費註冊

第 7 題

  1. In linear regression, a good estimator of the standard deviation of the error term is called the (a) standard deviation (b) variance (c) standard error of the estimate (d) sample standard deviation

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

這一題的完整詳解

核心觀念

線性迴歸模型通常寫成

Yi=β0+β1Xi+εiY_i=\beta_0+\beta_1X_i+\varepsilon_i

其中誤差項 εi\varepsilon_i 的標準差記為 σ\sigma,代表觀測值偏離迴歸線的典型程度。

由於 σ\sigma 通常未知,必須利用殘差估計。簡單線性迴歸中,誤差標準差的估計量為

se=SSEn−2s_e=\sqrt{\frac{SSE}{n-2}}

其中:

  • SSE=∑i=1nei2SSE=\sum_{i=1}^{n}e_i^2 為殘差平方和;
  • nn 為樣本數;
  • n−2n-2 是自由度,因為估計了截距 β0\beta_0 與斜率 β1\beta_1 兩個參數。

此 ses_e 稱為 standard error of the estimate,中文通常譯為「估計標準誤」或「估計值的標準誤」,是誤差項標準差 σ\sigma 的良好估計量。

解題方法

題目問的是:「在線性迴歸中,用來良好估計誤差項標準差的量稱為什麼?」

判斷關鍵在於:

  1. 估計對象是誤差項的標準差 σ\sigma;
  2. 線性迴歸使用殘差計算;
  3. 其估計量為殘差標準差 ses_e;
  4. 此量的名稱是 standard error of the estimate。

因此正確選項為(c)。

選項分析

(a)standard deviation

「標準差」是描述資料或隨機變數離散程度的一般統計量。誤差項確實有標準差 σ\sigma,但題目詢問的是「估計誤差項標準差的估計量名稱」,在線性迴歸中該估計量有特定名稱,因此(a)不夠精確,錯誤。

(b)variance

「變異數」是標準差的平方:

Var⁡(εi)=σ2\operatorname{Var}(\varepsilon_i)=\sigma^2

它與誤差項的變異程度有關,但不是誤差項標準差 σ\sigma 的估計量名稱,因此錯誤。

(c)standard error of the estimate

此選項正確。線性迴歸中,以殘差平方和估計誤差變異數:

σ^2=SSEn−2\hat{\sigma}^2=\frac{SSE}{n-2}

再開根號得到誤差標準差的估計值:

σ^=se=SSEn−2\hat{\sigma}=s_e=\sqrt{\frac{SSE}{n-2}}
🔒

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

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

免費註冊

第 8 題

  1. If the two regression lines are given by Y=a+bXY = a+bX and X=c+dYX = c + dY. What is the correlation coefficient between variables X and Y? (a) bc\sqrt{bc} (b) ac\sqrt{ac} (c) ad\sqrt{ad} (d) bd\sqrt{bd}

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

這一題的完整詳解

這題考驗對簡單線性迴歸和相關係數關係的理解。

假設我們有兩個線性迴歸模型:

  1. YY 對 XX 的迴歸線:Y=a+bXY = a + bX
  2. XX 對 YY 的迴歸線:X=c+dYX = c + dY

在簡單線性迴歸中,YY 對 XX 的迴歸線斜率 bb 與變數 XX 和 YY 的相關係數 rr 以及它們的標準差 sX,sYs_X, s_Y 有關:
b=rsYsXb = r \frac{s_Y}{s_X}

同理,對於 XX 對 YY 的迴歸線,其斜率 dd 與變數 XX 和 YY 的相關係數 rr 以及它們的標準差 sX,sYs_X, s_Y 有關:
d=rsXsYd = r \frac{s_X}{s_Y}

我們要求的是變數 XX 和 YY 之間的相關係數 rr。
將上述兩個公式相乘:
b×d=(rsYsX)×(rsXsY)b \times d = \left( r \frac{s_Y}{s_X} \right) \times \left( r \frac{s_X}{s_Y} \right)
bd=r2×(sYsX×sXsY)bd = r^2 \times \left( \frac{s_Y}{s_X} \times \frac{s_X}{s_Y} \right)

🔒

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

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

免費註冊

第 9 題

  1. When the level of significance of a hypothesis test is increased, the probability of committing a Type I error (a) is decreased (b) remains the same (c) is increased (d) cannot be determined

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

這一題的完整詳解

這題考驗對第一類錯誤(Type I Error)與顯著水準(Level of Significance)之間關係的理解。

第一類錯誤(Type I Error):當虛無假設 (H0H_0) 實際上為真時,卻拒絕了它。
顯著水準 (α\alpha):在假設檢定中,我們預設的犯第一類錯誤的最大機率。

在假設檢定中,顯著水準 α\alpha 的定義就是犯第一類錯誤的機率。
也就是說:P(Reject H0∣H0 is true)=αP(\text{Reject } H_0 \mid H_0 \text{ is true}) = \alpha。

🔒

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

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

免費註冊

第 10 題

  1. In a large city, 50% of the people choose a movie, 30% choose a play, and 20% choose shopping as a leisure activity. If a sample of 5 people is randomly selected, find the probability that 3 are planning to go to a movie, 1 to a play, and 1 to the shopping mall. (a) 0.04 (b) 0.15 (c) 0.01 (d) 0.30

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

這一題的完整詳解

這題考驗的是多項分佈(Multinomial Distribution)的應用。

問題描述:

  • 母體分成三類活動:電影 (M)、戲劇 (P)、購物 (S)。
  • 各類活動的機率:P(M)=0.50P(M) = 0.50, P(P)=0.30P(P) = 0.30, P(S)=0.20P(S) = 0.20。
  • 總機率:0.50+0.30+0.20=1.000.50 + 0.30 + 0.20 = 1.00。
  • 抽取一個樣本,大小 n=5n = 5。
  • 要求計算樣本中包含:3 人選擇電影 (M),1 人選擇戲劇 (P),1 人選擇購物 (S)。

多項分佈的機率公式為:
P(X1=n1,X2=n2,...,Xk=nk)=n!n1!n2!...nk!p1n1p2n2...pknkP(X_1=n_1, X_2=n_2, ..., X_k=n_k) = \frac{n!}{n_1! n_2! ... n_k!} p_1^{n_1} p_2^{n_2} ... p_k^{n_k}
其中:

  • nn 是總試驗次數(樣本大小)。
  • kk 是類別的數量。
  • nin_i 是第 i 類別的出現次數,且 ∑i=1kni=n\sum_{i=1}^k n_i = n。
  • pip_i 是第 i 類別在單次試驗中出現的機率,且 ∑i=1kpi=1\sum_{i=1}^k p_i = 1。

套用此公式到本題:

  • n=5n = 5
  • k=3k = 3 (電影, 戲劇, 購物)
  • n1=3n_1 = 3 (電影)
  • n2=1n_2 = 1 (戲劇)
  • n3=1n_3 = 1 (購物)
  • p1=P(M)=0.50p_1 = P(M) = 0.50
  • p2=P(P)=0.30p_2 = P(P) = 0.30
  • p3=P(S)=0.20p_3 = P(S) = 0.20

將這些值代入公式:

🔒

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

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

免費註冊

第 11 題

  1. A campaign team plans to conduct a poll to estimate the percentage of Americans who would vote for a presidential candidate in the USA. What sample size is needed to ensure the estimate is accurate within 5 percentage points at a 90% confidence level? (a) 1068 (b) 423 (c) 271 (d) None of the above

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

這一題的完整詳解

核心觀念

本題考查「母體比例的抽樣樣本數決定」。設民眾支持某候選人的母體比例為 pp,樣本比例為 p^\hat p,要求:

  • 誤差不超過 55 個百分點:E=0.05E=0.05
  • 信賴水準為 90%90\%
  • 母體比例 pp 未知

母體比例估計的樣本數公式為

n=zα/2 2p(1−p)E2n=\frac{z_{\alpha/2}^{\,2}p(1-p)}{E^2}

其中 zα/2z_{\alpha/2} 為標準常態分配的臨界值。

解題方法

1. 決定臨界值

90%90\% 信賴水準表示兩側總共留下 10%10\% 的尾端機率,因此:

α=0.10,α2=0.05\alpha=0.10,\qquad \frac{\alpha}{2}=0.05

查標準常態分配表:

z0.05=1.645z_{0.05}=1.645

2. 處理未知的母體比例

題目沒有提供先前的比例估計值,因此採用最保守的設定:

p=0.5p=0.5

此時:

p(1−p)=0.5(0.5)=0.25p(1-p)=0.5(0.5)=0.25

因為 p(1−p)p(1-p) 在 p=0.5p=0.5 時達到最大值,使用此值可確保樣本數足以達到指定精確度。

3. 代入公式

n=(1.645)2(0.5)(0.5)(0.05)2n=\frac{(1.645)^2(0.5)(0.5)}{(0.05)^2} n=2.706025×0.250.0025=270.6025n=\frac{2.706025\times 0.25}{0.0025} =270.6025

樣本數必須向上取整,因此:

n=271n=271

選項分析

🔒

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

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

免費註冊

第 12 題

  1. What is true? (I) Random scatter in the residuals indicates a linear model (II) If two variables are very strongly associated, then the correlation between them will be near +1 or -1 (III) Changing the units of measurement changes the correlation coefficient (a) I only (b) II only (c) I and II only (d) II and III only.

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

這一題的完整詳解

核心觀念

本題考查線性迴歸模型殘差診斷(Residual Diagnostics)與皮爾森積差相關係數(Pearson Correlation Coefficient)的核心性質:

  1. 殘差分析與線性模型假定:
    在簡單與多元線性迴歸中,殘差定義為 ei=Yi−Y^ie_i = Y_i - \hat{Y}_i。若真實資料生成過程符合線性模型假定,則隨機誤差項滿足零條件期望值 E(ε∣X)=0E(\varepsilon|X) = 0、等變異數與無自相關。此時,殘差相對於配適值或預測變數的散布圖應呈現以 0 為中心之隨機均勻散布(Random Scatter),無任何曲率、週期性、系統性漏斗或趨勢。
  2. 相關係數僅衡量「線性」關係(Linear Association):
    皮爾森相關係數 rr 僅能度量兩連續變數間線性關聯的強度與方向。若兩變數間存在極強的非線性關聯(如二次曲線、圓形對稱),相關係數仍可能接近 0。
  3. 相關係數的尺度不變性(Scale Invariance):
    皮爾森相關係數為無維度(Dimensionless)之標準化指標。對任意變數施加嚴格正斜率的線性變換(如變更度量單位),相關係數數值嚴格保持不變。

解題方法

逐一檢定題幹中三項敘述:

  1. 敘述 (I) 正確:
    "Random scatter in the residuals indicates a linear model"
    在迴歸診斷圖中,若殘差呈現無規則的隨機散布,代表原線性迴歸模型已充分捕捉自變數與應變數之間的系統性關聯,未遺漏高次方項或非線性結構,故指示線性模型設定適當。
  2. 敘述 (II) 錯誤:
    "If two variables are very strongly associated, then the correlation between them will be near +1 or -1"
    皮爾森相關係數僅衡量線性關係。兩變數具有極強甚至完全確定的關聯時,若該關聯為高度非線性,其相關係數不一定接近 +1+1 或 −1-1。
    反例:設隨機變數 XX 對稱均勻分布於 [−1,1][-1, 1],令 Y=X2Y = X^2。此時給定 XX 能完全確定 YY(具備最強的完全函數關聯),但計算共變異數: Cov(X,Y)=E[X3]−E[X]E[X2]=0−0=0\mathrm{Cov}(X, Y) = E[X^3] - E[X]E[X^2] = 0 - 0 = 0 此時相關係數 rX,Y=0r_{X,Y} = 0,遠非接近 +1+1 或 −1-1。因此敘述 (II) 錯誤。
  3. 敘述 (III) 錯誤:
    "Changing the units of measurement changes the correlation coefficient"
🔒

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

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

免費註冊

第 13 題

  1. In a multiple regression analysis, if the model provides a poor fit, this indicates that: (a) the sum of squares for error will be large. (b) the standard error of estimate will be large. (c) the coefficient of determination will be close to zero. (d) All of these choices are true.

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

這一題的完整詳解

這題考驗對多元迴歸模型擬合度(Goodness of Fit)不良時,相關統計量的表現。

當一個迴歸模型擬合度「不良」(poor fit)時,表示模型無法很好地解釋應變數的變異。這會體現在幾個統計量上:

  • Sum of Squares for Error (SSE) 或 Sum of Squared Residuals:
    SSE = ∑i=1nei2=∑i=1n(yi−y^i)2\sum_{i=1}^n e_i^2 = \sum_{i=1}^n (y_i - \hat{y}_i)^2
    如果模型擬合度差,則殘差 eie_i 的值會普遍較大,因此 SSE 的總和也會較大。

  • Standard Error of the Estimate (ses_e):
    se=SSEn−ps_e = \sqrt{\frac{SSE}{n-p}}
    其中 nn 是樣本數,pp 是模型參數數量。
    如果 SSE 很大,而 n−pn-p 相對固定或變化不大,則 ses_e 也會比較大。ses_e 是誤差項標準差 σ\sigma 的估計值,大的 ses_e 表示預測誤差較大。

  • Coefficient of Determination (R2R^2):
    R2=1−SSESSTR^2 = 1 - \frac{SSE}{SST}
    其中 SST 是總平方和(Total Sum of Squares),代表應變數 YY 的總變異。

🔒

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

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

免費註冊

第 14 題

  1. ANOVA was used to test the outcomes of three drug treatments. Each drug was given to 4 individuals. The total sum of the squares is 244, and the mean squares between treatments was 50. What is the standard deviation for all 60 individuals sampled for this study? (a) 48 (b) 16 (c) 4 (d) None of the above

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

這一題的完整詳解

核心觀念

單因子變異數分析(ANOVA)將總平方和分解為:

SST=SSB+SSESS_T=SS_B+SS_E

其中:

  • SSTSS_T:總平方和
  • SSBSS_B:組間平方和
  • SSESS_E:組內平方和(誤差平方和)

三種藥物、每種藥物 4 人,因此總樣本數為:

N=3×4=12N=3\times 4=12

組間自由度為:

dfB=k−1=3−1=2df_B=k-1=3-1=2

組內自由度為:

dfE=N−k=12−3=9df_E=N-k=12-3=9

組內均方為:

MSE=SSEdfEMS_E=\frac{SS_E}{df_E}

而 ANOVA 中所求的整體樣本標準差,依本題選項設計,是取組內均方的平方根:

s=MSEs=\sqrt{MS_E}

解題方法

已知總平方和:

SST=244SS_T=244

已知組間均方:

MSB=50MS_B=50

因此組間平方和為:

SSB=MSB×dfB=50×2=100SS_B=MS_B\times df_B =50\times 2 =100

由平方和分解公式:

SSE=SST−SSB=244−100=144SS_E=SS_T-SS_B =244-100 =144

接著計算組內均方:

MSE=SSEdfE=1449=16MS_E=\frac{SS_E}{df_E} =\frac{144}{9} =16

所以標準差為:

s=MSE=16=4s=\sqrt{MS_E} =\sqrt{16} =4

題幹中的「all 60 individuals」與「三種藥物、每種 4 人」互相矛盾;依樣本配置可確定本研究共有 1212 人,且選項設計對應的正確計算結果為 44。

選項分析

  • (a) 48:錯誤。
    4848 不是標準差。常見錯誤是將 SSE=144SS_E=144 與某些自由度或均方直接混算,未先取平方根。

  • (b) 16:錯誤。
    1616 是組內均方 MSEMS_E,不是標準差。標準差應為:

🔒

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

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

免費註冊

第 15 題

  1. Dimension reduction methods have the goal of using the correlation structure among the predictor variables to accomplish which of the following: (I) To reduce the number of predictor components. (II) To help ensure that these components are dependent. (III) To provide a framework for interpretability of the results. (IV) To help ensure that these components are independent. (V) To increase the number of predictor components. Choose the correct answer from the options given below: (a) I, II, IV and V only (b) I, III and IV only (c) I, II, III and V only (d) II, III, IV and V only

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

這一題的完整詳解

這題考驗對降維(Dimension Reduction)技術(如主成分分析 PCA, 因子分析 Factor Analysis)目標的理解。

降維技術的核心目的是,利用原始變數之間的相關性(correlation structure),尋找一個新的、維度更低的變數集合(稱為成分或因子),這些新變數能夠盡可能多地保留原始變數所包含的資訊。

讓我們逐一分析每個目標:

(I) To reduce the number of predictor components.

  • 解釋:這是降維最直接的目標。原始數據可能有很多變數(高維度),降維技術將這些變數轉換為較少數量的新變數(低維度),從而簡化模型。
  • 正確性:正確。

(II) To help ensure that these components are dependent.

  • 解釋:希望找到的新成分是相關的。
  • 分析:大多數降維技術(如 PCA)的目標是找到一組新的、不相關的(independent)​變數(主成分),這些變數是原始變數的線性組合,並且按其解釋變異量的多少排序。因子分析也尋求找到不相關的因子。因此,這個目標是錯誤的。

(III) To provide a framework for interpretability of the results.

  • 解釋:通過減少變數數量,並將原始變數的資訊濃縮到少數幾個有意義的新成分中,可以更容易地理解和解釋模型的結果。
  • 分析:這是降維的一個重要優勢。例如,PCA 找到的主成分可以被解釋為原始變數的某種組合,有時這些組合能對現象有更直觀的解釋。因子分析也是為了尋找潛在的、可解釋的因子。
  • 正確性:正確。

(IV) To help ensure that these components are independent.

  • 解釋:希望找到的新成分是彼此獨立的。
  • 分析:如對 (II) 的分析,PCA 的主成分是線性不相關的。
🔒

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

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

免費註冊

第 16 題

  1. The data in the right scatterplot would have a correlation coefficient that is close to: (a) 0.9 (b) 0.5 (c) 0 (d) -0.5
    🖼️【此處有附圖,請對照原卷】
🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 3 頁

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

這一題的完整詳解

核心觀念

相關係數 rr 衡量兩個變數之間「線性關係」的方向與強度,取值介於 −1-1 與 11。點雲越接近向右上方的直線,rr 越接近 11;越接近向右下方的直線,rr 越接近 −1-1。若沒有明顯線性趨勢,rr 則接近 00。

解題方法

散佈圖中,主要點群沿著向右上方的方向分布,表示整體是正相關。不過,左上方另有一群明顯偏離主要趨勢的點。這些點在 xx 值很小時,yy 值卻偏高,會削弱整體的線性關係,使相關係數低於只看主要點群時的直覺。

因此,相關係數應是中度正相關,較接近 0.50.5,而非極強的正相關。

選項分析

  • (a) 0.90.9:錯。 0.90.9 代表非常強的正線性關係;圖中的左上方偏離點會明顯拉低相關係數。
  • **(b) 0.50.5:對。
🔒

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

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

免費註冊

第 17 題

  1. Let's build a regression model with mpg (miles per gallon) as the outcome and wt (weight) as the predictor for the mtcars dataset. Which value from the following output doesn't make sense?

lm(formula = mpg ~ wt, data = mtcars)

Residuals:

Min 1Q Median 3Q Max

-9.3923 -3.0923 -0.2974 3.2439 9.5077

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) 37.2851 1.8776 19.858 <2e-16 ***

wt -5.3445 0.5591 -9.559 1.29 e-10 ***

Signif. codes: 0''0.001 '' 0.01 '' 0.05 '.' 0.1'' 1

Residual standard error: 3.046 on 30 degrees of freedom

Multiple R-squared: 3.598, Adjusted R-squared: 3.385

F-statistic: 91.38 on 1 and 30 DF, p-value: 1.294e-10

(a) The coefficient of wt
(b) The p-value of wt
(c) The Multiple R-squared
(d) The minimum value of residuals
🖼️【此處有附圖,請對照原卷】

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 3 頁

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

這一題的完整詳解

核心觀念

本題考查線性迴歸分析(Linear Regression)​與 R 語言模型輸出報表(Summary Output)​的統計量判讀,核心觀念包含:

  1. 判定係數(Coefficient of Determination, R2R^2)的定義與取值範圍:
    在包含截距項(Intercept)的普通最小平方法(OLS)線性迴歸中,總變異可分解為: SST=SSR+SSESST = SSR + SSE 其中 SSTSST 為總平方和、SSRSSR 為迴歸平方和、SSESSE 為殘差平方和。判定係數定義為迴歸平方和佔總平方和的比例: R2=SSRSST=1−SSESSTR^2 = \frac{SSR}{SST} = 1 - \frac{SSE}{SST} 由於 SSR≥0SSR \ge 0 且 SSE≥0SSE \ge 0,因此 R2R^2 嚴格受限於區間 [0,1][0, 1],即: 0≤R2≤10 \le R^2 \le 1 它代表反應變數(Outcome)的總變異中,能被自變數(Predictor)線性解釋的比例。
  2. 殘差分佈與標準誤:殘差 ei=yi−y^ie_i = y_i - \hat{y}_i 的平均值為 0,其數值可正可負,極值通常落在殘差標準誤(Residual Standard Error)的數倍範圍內。
  3. 迴歸係數檢定:tt 統計量為係數估計值除以標準誤(t=β^1/SE(β^1)t = \hat{\beta}_1 / \text{SE}(\hat{\beta}_1)),對應的 pp 值必定介於 00 與 11 之間。

解題方法

檢視原卷所附之 R 迴歸輸出結果,模型為簡單線性迴歸 lm(formula = mpg ~ wt, data = mtcars),殘差自由度為 df=30df = 30(代表樣本數 n=32n = 32),報表依序提供了殘差五數摘要、係數檢定表、殘差標準誤(3.0463.046)、判定係數(Multiple R2=3.598R^2 = 3.598、Adjusted R2=3.385R^2 = 3.385)以及整體模型 FF 檢定(F=91.38,p=1.294×10−10F = 91.38, p = 1.294 \times 10^{-10})。

解題切入點在於逐一檢查報表中各統計量的理論邊界與物理意義:

  1. 檢查 Multiple R-squared:報表列出數值為 3.5983.598。因為判定係數衡量的是解釋比例,在含截距項之線性迴歸模型中,其理論上限為 11(即 100%100\%)。3.598>13.598 > 1,在數學與統計定義上均屬不可能出現的荒謬數值(doesn't make sense)。
  2. 事實上,利用報表中的 FF 統計量與殘差自由度,可反推真實的 R2R^2: F=R2/1(1−R2)/30=91.38F = \frac{R^2 / 1}{(1 - R^2) / 30} = 91.38 解得: R21−R2=91.3830=3.046\frac{R^2}{1 - R^2} = \frac{91.38}{30} = 3.046 R2=3.0461+3.046≈0.7528R^2 = \frac{3.046}{1 + 3.046} \approx 0.7528 在真實的 mtcars 資料集中,R2R^2 應約為 0.75280.7528(75.28%75.28\%)。報表中的 3.5983.598 明顯出錯。

選項分析

  • (a) The coefficient of wt(不選):
    報表估計值為 β^1=−5.3445\hat{\beta}_1 = -5.3445。在物理與常理上,車輛重量(wt)越重,每加侖油耗哩程數(mpg)越低,兩者呈負相關,斜率為負完全符合常理;再者,t=−5.3445/0.5591≈−9.559t = -5.3445 / 0.5591 \approx -9.559,計算完全吻合且合理。
  • (b) The p-value of wt(不選):
🔒

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

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

免費註冊

第 18 題

  1. Refer to 17; The sample size of the mtcars dataset dataset is (a) 30 (b) 31 (c) 32 (d) None of the above

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

這一題的完整詳解

這題緊接上一題 (問題 17),要求確定 mtcars 資料集的樣本大小。

在問題 17 的輸出中,我們可以看到:

  • Residual standard error: 3.046 on 30 degrees of freedom
  • F-statistic: 91.38 on 1 and 30 DF

在簡單線性迴歸模型 (y∼xy \sim x) 中,殘差自由度 (Residual Degrees of Freedom, dfresidualdf_{residual}) 的計算方式為:
dfresidual=n−pdf_{residual} = n - p
其中:

  • nn 是樣本大小 (sample size)。
  • pp 是模型中參數的數量(包括截距項)。
🔒

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

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

免費註冊

第 19 題

  1. Consider two simple logistic regression models based on the logit link. The logit link is defined as logit(p(x))=β0+β1xlogit(p(x)) = \beta_0 + \beta_1 x where p(x)p(x) is the probability corresponding x. The predicted models are shown in the figure on the right. Which statement is true? (a) β1\beta_1 for model 2 is lower than model 1 (b) β1\beta_1 for model 2 is higher than model 1 (c) β1\beta_1 for both models are the same (d) None of the above
    🖼️【此處有附圖,請對照原卷】
🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 4 頁

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

這一題的完整詳解

核心觀念

本題考查羅吉斯迴歸(Logistic Regression)​中勝算對數連結函數(Logit Link Function)的數學定義,以及斜率參數 β1\beta_1 對預測機率曲線單調性(增減性)的幾何意義與影響。

  1. Logit 連結函數與機率函數:
    定義勝算對數(Log-odds / Logit)為線性預測變數: logit(p(x))=ln⁡(p(x)1−p(x))=β0+β1x\text{logit}(p(x)) = \ln\left(\frac{p(x)}{1 - p(x)}\right) = \beta_0 + \beta_1 x 反解可得事件發生機率 p(x)p(x) 之函數型型式(Sigmoid 曲線): p(x)=eβ0+β1x1+eβ0+β1x=11+e−(β0+β1x)p(x) = \frac{e^{\beta_0 + \beta_1 x}}{1 + e^{\beta_0 + \beta_1 x}} = \frac{1}{1 + e^{-(\beta_0 + \beta_1 x)}}
  2. 斜率參數 β1\beta_1 與曲線斜率之關係:
    對 p(x)p(x) 關於 xx 求一階導數: dp(x)dx=β1p(x)(1−p(x))\frac{dp(x)}{dx} = \beta_1 p(x)(1 - p(x)) 由於機率值 p(x)∈(0,1)p(x) \in (0, 1),恆有 p(x)(1−p(x))>0p(x)(1 - p(x)) > 0。因此:
    • 當 β1>0\beta_1 > 0 時,dp(x)dx>0\frac{dp(x)}{dx} > 0,p(x)p(x) 為 xx 的嚴格遞增函數(標準 S 型曲線)。
    • 當 β1<0\beta_1 < 0 時,dp(x)dx<0\frac{dp(x)}{dx} < 0,p(x)p(x) 為 xx 的嚴格遞減函數(反向 S 型曲線)。

解題方法

原卷附圖中,橫軸為自變數 xx,縱軸為預測機率 p(x)p(x)(取值介於 0 至 1 之間)。圖中繪有兩條對稱曲線:標示為 Model 1 的曲線隨 xx 增加而由 0 遞增趨近於 1;標示為 Model 2 的曲線隨 xx 增加而由 1 遞減趨近於 0,兩條曲線在 p(x)=0.5p(x) = 0.5 處相交。

具體推導與比較步驟如下:

  1. 判斷 Model 1 的 β1\beta_1 正負:
    觀察 Model 1 的預測曲線,當 xx 增加時,p(x)p(x) 呈現單調遞增(Monotonically Increasing): dp(x)dx>0  ⟹  β1(Model 1)>0\frac{dp(x)}{dx} > 0 \implies \beta_1^{(\text{Model 1})} > 0
  2. 判斷 Model 2 的 β1\beta_1 正負:
    觀察 Model 2 的預測曲線,當 xx 增加時,p(x)p(x) 呈現單調遞減(Monotonically Decreasing): dp(x)dx<0  ⟹  β1(Model 2)<0\frac{dp(x)}{dx} < 0 \implies \beta_1^{(\text{Model 2})} < 0
  3. 比較兩模型的 β1\beta_1 大小:
    因 Model 1 的斜率參數為正數(β1(Model 1)>0\beta_1^{(\text{Model 1})} > 0),而 Model 2 的斜率參數為負數(β1(Model 2)<0\beta_1^{(\text{Model 2})} < 0),在實數大小關係中負數小於正數: β1(Model 2)<β1(Model 1)\beta_1^{(\text{Model 2})} < \beta_1^{(\text{Model 1})} 因此,Model 2 的 β1\beta_1 低於(小於)Model 1 的 β1\beta_1。

選項分析

  • (a) β1\beta_1 for model 2 is lower than model 1:正確。Model 2 呈現隨 xx 增加而機率下降的遞減曲線,其 β1<0\beta_1 < 0;Model 1 呈現隨 xx 增加而機率上升的遞增曲線,其 β1>0\beta_1 > 0。負值必然小於正值,故 Model 2 的 β1\beta_1 小於 Model 1 的 β1\beta_1。
🔒

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

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

免費註冊

第 20 題

  1. Adding additional independent variables in a regression equation will (a) increase the value of the coefficient of multiple determination (b) improve the predictive power of the equation (c) reduce the predictive power of the equation (d) Additional independent variables may not be added to a regression equation

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

這一題的完整詳解

這題考驗對多元迴歸中加入自變數的影響。

當我們在迴歸模型中加入更多的自變數時,通常會發生以下情況:

  • 決定係數 (R2R^2):
    R2=1−SSESSTR^2 = 1 - \frac{SSE}{SST}
    加入一個新的自變數,即使它與應變數的關聯性很弱,也至少不會使 SSE 增加(通常會使 SSE 減少,因為新的變數可能解釋了部分原先屬於誤差的變異)。如果 SSE 減少,那麼 R2R^2 就會增加。因此,R2R^2 總是會增加或至少保持不變(如果新變數完全無關)。所以,加入額外的自變數總是會增加 R2R^2 的值。
    選項 (a) 說「increase the value of the coefficient of multiple determination」,這是正確的。

  • 預測能力 (Predictive Power):
    預測能力通常透過 R2R^2 或調整決定係數 (Adjusted R2R^2) 來衡量。
    雖然 R2R^2 總是增加,但加入一個對模型貢獻不大的變數,可能會導致模型過度擬合(overfitting),尤其是在樣本數相對較少時。
    調整決定係數 (Adjusted R2R^2) 會考慮到加入的變數數量,它在加入無關緊要的變數時,可能會下降。
    然而,從「模型包含更多資訊」的角度來看,加入更相關的變數,理論上可以「改善」預測能力。
    選項 (b) 說「improve the predictive power of the equation」。這句話比較籠統。如果加入的是有用的變數,預測能力會提高。如果加入的是無用的變數,預測能力可能不會顯著提升,甚至因為過度擬合而下降(在外部數據上)。
    選項 (c) 說「reduce the predictive power of the equation」。這只有在加入無用變數且發生過度擬合時才可能發生(尤其是在測試集上)。

  • 模型添加的限制:
    選項 (d) 說「Additional independent variables may not be added to a regression equation」。這顯然是錯誤的,多元迴歸就是為了處理多個自變數而設計的。

🔒

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

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

免費註冊

第 Problem 1 題7 分

Problems: (30%)

  1. Given a dataset {Xi,YiX_i, Y_i}i=1n_{i=1}^n, where the means, standard deviations, and correlation coefficient are Xˉ=1.0\bar{X} = 1.0, Yˉ=2.0\bar{Y} = 2.0, SX=3.0S_X = 3.0, SY=9.0S_Y = 9.0, r=0.8r = 0.8. Determine the regression line of Y on X. (7%)

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

這一題的完整詳解

這題要求根據樣本統計量(平均數、標準差、相關係數)來求出簡單線性迴歸直線的方程式。

簡單線性迴歸直線的方程式為:
Y^=β^0+β^1X\hat{Y} = \hat{\beta}_0 + \hat{\beta}_1 X
其中 β^0\hat{\beta}_0 是截距項,β^1\hat{\beta}_1 是斜率項。

我們有以下已知資訊:

  • 樣本平均數:Xˉ=1.0\bar{X} = 1.0, Yˉ=2.0\bar{Y} = 2.0
  • 樣本標準差:SX=3.0S_X = 3.0, SY=9.0S_Y = 9.0
  • 樣本相關係數:r=0.8r = 0.8

步驟 1:計算斜率 β^1\hat{\beta}_1
斜率的計算公式為:
β^1=rSYSX\hat{\beta}_1 = r \frac{S_Y}{S_X}

代入已知數值:
β^1=0.8×9.03.0\hat{\beta}_1 = 0.8 \times \frac{9.0}{3.0}
β^1=0.8×3\hat{\beta}_1 = 0.8 \times 3
β^1=2.4\hat{\beta}_1 = 2.4

步驟 2:計算截距 β^0\hat{\beta}_0
迴歸直線通過樣本平均數點 (Xˉ,Yˉ)(\bar{X}, \bar{Y})。因此,我們可以利用此點來計算截距:
Yˉ=β^0+β^1Xˉ\bar{Y} = \hat{\beta}_0 + \hat{\beta}_1 \bar{X}

🔒

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

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

免費註冊

第 Problem 2 題8 分

  1. Consider the linear model for one-way ANOVA
    Yij=μ+αi+ϵijY_{ij} = \mu + \alpha_i + \epsilon_{ij}, i=1,...,ki = 1, ..., k, j=1,...,nj = 1, ..., n.
    Show that if a linear function of the treatment parameters ∑i=1kciαi\sum_{i=1}^k c_i \alpha_i is estimable, then ∑i=1kci=0\sum_{i=1}^k c_i = 0. (8%)

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

這一題的完整詳解

核心觀念

在線性模型

Y=Xβ+ϵ\mathbf{Y}=X\boldsymbol{\beta}+\boldsymbol{\epsilon}

中,若參數的線性函數 L′βL'\boldsymbol{\beta} 可估計,表示存在觀測值的線性組合 a′Ya'\mathbf{Y},使其期望值等於該參數函數:

E(a′Y)=L′β.E(a'\mathbf{Y})=L'\boldsymbol{\beta}.

等價地,L′βL'\boldsymbol{\beta} 可估計的充要條件是存在向量 aa,使得

X′a=L.X'a=L.

本題模型的參數向量可寫為

β=(μ,α1,α2,…,αk)′.\boldsymbol{\beta} = (\mu,\alpha_1,\alpha_2,\ldots,\alpha_k)'.

欲估計的線性函數為

∑i=1kciαi,\sum_{i=1}^k c_i\alpha_i,

因此其係數向量為

L=(0,c1,c2,…,ck)′.L=(0,c_1,c_2,\ldots,c_k)'.

解題方法:利用可估計性的矩陣條件

令 aija_{ij} 表示觀測值 YijY_{ij} 在線性估計量中的係數,則一般線性估計量可寫為

L^=∑i=1k∑j=1naijYij.\widehat{L} = \sum_{i=1}^k\sum_{j=1}^n a_{ij}Y_{ij}.

代入模型:

Yij=μ+αi+ϵij,Y_{ij}=\mu+\alpha_i+\epsilon_{ij},

得到

E(L^)=∑i=1k∑j=1naij(μ+αi).E(\widehat{L}) = \sum_{i=1}^k\sum_{j=1}^n a_{ij}(\mu+\alpha_i).

整理各參數的係數:

E(L^)=(∑i=1k∑j=1naij)μ+∑i=1k(∑j=1naij)αi.E(\widehat{L}) = \left(\sum_{i=1}^k\sum_{j=1}^n a_{ij}\right)\mu + \sum_{i=1}^k \left(\sum_{j=1}^n a_{ij}\right)\alpha_i.

若 ∑i=1kciαi\sum_{i=1}^k c_i\alpha_i 可估計,則必須滿足:

  1. μ\mu 的係數為 00:
∑i=1k∑j=1naij=0.\sum_{i=1}^k\sum_{j=1}^n a_{ij}=0.
  1. 每一個 αi\alpha_i 的係數為 cic_i:
∑j=1naij=ci,i=1,…,k.\sum_{j=1}^n a_{ij}=c_i, \qquad i=1,\ldots,k.

將第二組等式對 ii 加總:

∑i=1k∑j=1naij=∑i=1kci.\sum_{i=1}^k\sum_{j=1}^n a_{ij} = \sum_{i=1}^k c_i.

由第一個條件,左側等於 00,因此

∑i=1kci=0.\sum_{i=1}^k c_i=0.

故若 ∑i=1kciαi\sum_{i=1}^k c_i\alpha_i 可估計,必須有

∑i=1kci=0.\boxed{\sum_{i=1}^k c_i=0}.

背後原因:模型參數的不唯一性

本模型中,μ\mu 與 αi\alpha_i 並非各自唯一決定。對任意常數 tt,令

μ∗=μ+t,αi∗=αi−t.\mu^*=\mu+t, \qquad \alpha_i^*=\alpha_i-t.

則

μ∗+αi∗=(μ+t)+(αi−t)=μ+αi.\mu^*+\alpha_i^* = (\mu+t)+(\alpha_i-t) = \mu+\alpha_i.

因此,這組新的參數會產生完全相同的母體平均數與資料分布。

🔒

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

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

免費註冊

第 Problem 3 題5 分

  1. A researcher designed an experiment to investigate the effects of three different dietary plans (A, B, C) and two levels of exercise intensity (low and high) on weight loss. Assume that weight loss follows a normal distribution and exhibits homogeneity of variance. The experiment involved random assignment of samples to each combination (with equal sample sizes for each group, total sample size N = 60). The researcher conducted a Two-Way ANOVA, and part of the results is as follows:
SourceDegree of FreedomSum of SquareMean SquareF-Statistic
Dietary Plan200
Exercise Intensity180
Diet x Exercise
Error540
Total1420

The researcher further conducted a detailed analysis of the interaction effect and designed a linear contrast to test the interaction between dietary plans and exercise intensity:
L=13(A,low intensity)+13(B,low intensity)+13(C,low intensity)−(A,high intensity)L = \frac{1}{3} (A, \text{low intensity}) + \frac{1}{3} (B, \text{low intensity}) + \frac{1}{3} (C, \text{low intensity}) - (A, \text{high intensity})
which aims to test whether there is a significant linear trend difference between low-intensity and high-intensity levels for the dietary plans. Suppose that the contrast Sum of Squares is calculated as SSL=35SS_L = 35. The significance level is set at α=0.1\alpha = 0.1.

(a) Is the interaction between dietary plans and exercise intensity significant? (5%)
(b) Test the significance of the linear contrast L. (10%)

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

這一題的完整詳解

這題是關於二因子變異數分析(Two-Way ANOVA)的應用,包含檢定交互作用以及檢定線性對比。

已知資訊:

  • 因子:Dietary Plan (3 levels: A, B, C),Exercise Intensity (2 levels: low, high)。
  • 總樣本數 N=60N = 60。
  • 假設:常態分配,變異數同質。
  • ANOVA 表部分數據:
    • Total Sum of Square (SST) = 1420
    • Mean Square for Dietary Plan (MSDietMS_{Diet}) = 200
    • Mean Square for Exercise Intensity (MSExMS_{Ex}) = 180
    • Sum of Square for Error (SSESS_E) = 540
  • 線性對比 (Contrast):L=13(A,low)+13(B,low)+13(C,low)−(A,high)L = \frac{1}{3} (A, \text{low}) + \frac{1}{3} (B, \text{low}) + \frac{1}{3} (C, \text{low}) - (A, \text{high})
  • 對比的平方和 (SSLSS_L) = 35
  • 顯著水準 α=0.1\alpha = 0.1

首先,我們需要補齊 ANOVA 表。

  • 因子數:Dietary Plan (A, B, C) 有 k1=3k_1 = 3 個水平;Exercise Intensity (low, high) 有 k2=2k_2 = 2 個水平。

  • 每組樣本數:由於總樣本數 N=60N=60,且有 3×2=63 \times 2 = 6 個組合,每組樣本數為 n=N/(k1k2)=60/6=10n = N / (k_1 k_2) = 60 / 6 = 10。

  • Degree of Freedom (df):

    • dfDiet=k1−1=3−1=2df_{Diet} = k_1 - 1 = 3 - 1 = 2
    • dfEx=k2−1=2−1=1df_{Ex} = k_2 - 1 = 2 - 1 = 1
    • dfInteraction=dfDiet×dfEx=2×1=2df_{Interaction} = df_{Diet} \times df_{Ex} = 2 \times 1 = 2
    • dfError=N−k1k2=60−(3×2)=60−6=54df_{Error} = N - k_1 k_2 = 60 - (3 \times 2) = 60 - 6 = 54
    • dfTotal=N−1=60−1=59df_{Total} = N - 1 = 60 - 1 = 59
    • 驗證:dfDiet+dfEx+dfInteraction+dfError=2+1+2+54=59=dfTotaldf_{Diet} + df_{Ex} + df_{Interaction} + df_{Error} = 2 + 1 + 2 + 54 = 59 = df_{Total}。
  • Sum of Square (SS):

    • SST=1420SST = 1420
    • SSE=540SS_E = 540
    • SSDiet=MSDiet×dfDiet=200×2=400SS_{Diet} = MS_{Diet} \times df_{Diet} = 200 \times 2 = 400
    • SSEx=MSEx×dfEx=180×1=180SS_{Ex} = MS_{Ex} \times df_{Ex} = 180 \times 1 = 180
    • SSInteraction=SST−SSDiet−SSEx−SSE=1420−400−180−540=300SS_{Interaction} = SST - SS_{Diet} - SS_{Ex} - SS_E = 1420 - 400 - 180 - 540 = 300
  • Mean Square (MS):

    • MSDiet=200MS_{Diet} = 200 (已給)
    • MSEx=180MS_{Ex} = 180 (已給)
    • MSInteraction=SSInteraction/dfInteraction=300/2=150MS_{Interaction} = SS_{Interaction} / df_{Interaction} = 300 / 2 = 150
    • MSError=SSE/dfError=540/54=10MS_{Error} = SS_E / df_{Error} = 540 / 54 = 10
  • F-Statistic:

    • FDiet=MSDiet/MSError=200/10=20F_{Diet} = MS_{Diet} / MS_{Error} = 200 / 10 = 20
    • FEx=MSEx/MSError=180/10=18F_{Ex} = MS_{Ex} / MS_{Error} = 180 / 10 = 18
    • FInteraction=MSInteraction/MSError=150/10=15F_{Interaction} = MS_{Interaction} / MS_{Error} = 150 / 10 = 15

補齊的 ANOVA 表:

SourceDegree of FreedomSum of SquareMean SquareF-Statistic
Dietary Plan240020020
Exercise Intensity118018018
Diet x Exercise230015015
Error5454010
Total591420

(a) Is the interaction between dietary plans and exercise intensity significant? (5%)

  • 檢定假設:

    • H0H_0: 交互作用效應為零 (αDiet×Ex=0\alpha_{Diet \times Ex} = 0)。
    • HαH_\alpha: 交互作用效應不為零 (αDiet×Ex≠0\alpha_{Diet \times Ex} \neq 0)。
  • 檢定統計量:FInteraction=15F_{Interaction} = 15。

  • 自由度:dfInteraction=2df_{Interaction} = 2, dfError=54df_{Error} = 54。

  • 顯著水準:α=0.1\alpha = 0.1。

  • 決策規則:若 FInteraction>Fα(dfInteraction,dfError)F_{Interaction} > F_{\alpha}(df_{Interaction}, df_{Error}),則拒絕 H0H_0。

  • 查找臨界值:
    我們需要 F0.1(2,54)F_{0.1}(2, 54)。
    查閱 F 分配表(或使用統計軟體),當 df1=2df_1 = 2, df2=54df_2 = 54, α=0.1\alpha = 0.1 時,臨界值 F0.1(2,54)F_{0.1}(2, 54) 約為 2.45。
    (附表中提供了 F0.1(df1=2,df2=53)=2.4056F_{0.1}(df_1=2, df_2=53) = 2.4056 和 F0.1(df1=2,df2=54)=2.4036F_{0.1}(df_1=2, df_2=54) = 2.4036。使用 df2=54df_2=54 的值 2.4036)。

  • 決策:
    FInteraction=15F_{Interaction} = 15
    臨界值 F0.1(2,54)≈2.4036F_{0.1}(2, 54) \approx 2.4036
    因為 15>2.403615 > 2.4036,所以我們拒絕虛無假設 H0H_0。

  • 結論:交互作用是顯著的。


(b) Test the significance of the linear contrast L. (10%)

  • 對比 (Contrast):
    L=13(A,low)+13(B,low)+13(C,low)−(A,high)L = \frac{1}{3} (A, \text{low}) + \frac{1}{3} (B, \text{low}) + \frac{1}{3} (C, \text{low}) - (A, \text{high})
    這個對比是用來檢驗「低強度運動」下 A, B, C 三種飲食計畫的平均值,與「高強度運動」下 A 飲食計畫的平均值之間的差異,但它被設計成一個線性組合,旨在檢驗低強度和高強度之間是否存在顯著的線性趨勢差異。
🔒

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

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

免費註冊

其他考古題