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

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

第 A.1 題

A. True or False (Please answer “T” for true and "F" for false statement, 10 x 2% = 20%)

  1. Categorical data must be non-numeric.

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

這一題的完整詳解

此題考驗對資料類型的基本理解。
【詳解】
類別資料(Categorical data)是指用來分類或標記的資料,例如性別(男、女)、顏色(紅、綠、藍)或產品等級(A、B、C)。

🔒

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

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

免費註冊

第 A.2 題

  1. If the mean of a normal distribution is negative, then the median must also be negative.

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

這一題的完整詳解

此題考驗常態分配(Normal Distribution)的對稱性及其參數之間的關係。
【詳解】
常態分配是一個對稱的機率分配。

🔒

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

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

免費註冊

第 A.3 題

  1. The probability of an intersection of two events is computed using the addition law.

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

這一題的完整詳解

此題考驗機率論中事件交集與聯集計算公式的區別。
【詳解】
事件的交集(intersection)是指兩個事件同時發生的機率,通常用 P(A∩B)P(A \cap B) 表示。事件的聯集(union)是指兩個事件至少發生一個的機率,通常用 P(A∪B)P(A \cup B) 表示。

🔒

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

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

免費註冊

第 A.4 題

  1. The covariance of two variables X and Y must be between -1 and +1.

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

這一題的完整詳解

此題考驗對共變異數(Covariance)性質的理解。
【詳解】
共變異數(Covariance)衡量兩個變數之間線性相關的方向和強度。其值可以為任何實數,沒有固定的上下界。

🔒

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

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

免費註冊

第 A.5 題

  1. If arrivals follow a Poisson probability distribution, the time between successive arrivals must follow an exponential distribution.

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

這一題的完整詳解

此題考驗卜瓦松分配(Poisson Distribution)與指數分配(Exponential Distribution)之間的關係。
【詳解】

🔒

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

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

免費註冊

第 A.6 題

  1. The statistical distribution that is used for testing the difference between two population variances is the chi-square distribution.

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

這一題的完整詳解

此題考驗變異數檢定中使用的統計分配。
【詳解】
檢定兩個母體變異數是否有差異時,我們通常計算兩個樣本變異數的比值,並將其與 F 分配(F-distribution)進行比較。

🔒

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

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

免費註冊

第 A.7 題

  1. Increasing the sample size causes the sampling distribution of the sample mean to have more dispersion.

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

這一題的完整詳解

此題考驗樣本大小對樣本平均數抽樣分配變異性的影響。
【詳解】
根據中央極限定理(Central Limit Theorem),不論母體分配如何,當樣本大小 (n) 增加時,樣本平均數 ( Xˉ\bar{X} ) 的抽樣分配會趨近於常態分配,且其平均數等於母體平均數 ( μ\mu ),變異數為母體變

🔒

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

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

免費註冊

第 A.8 題

  1. A Type II error is committed when a true alternative hypothesis is mistakenly rejected.

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

這一題的完整詳解

此題考驗對第二類錯誤(Type II Error)定義的理解。
【詳解】
統計檢定中存在兩種錯誤:
第一類錯誤(Type I error):當虛無假設(Null Hypothesis, H0H_0)為真時,卻拒絕了 H0H_0。

🔒

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

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

免費註冊

第 A.9 題

  1. If the coefficient of determination is a positive value, then the regression equation could have either a positive or a negative slope.

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

這一題的完整詳解

此題考驗判定係數(Coefficient of Determination)與迴歸直線斜率的關係。
【詳解】
判定係數(R2R^2)衡量迴歸模型解釋應變數變異性的比例,其值介於 0 和 1 之間。
在簡單線性迴歸中,判定係數 R2R^2 的平方根等於相關係數 (r) 的絕對值,即 R=∣r∣R = |r|。

🔒

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

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

免費註冊

第 A.10 題

  1. For the analysis of variance, "populations under consideration have equal means" is a required assumption.

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

這一題的完整詳解

此題考驗變異數分析(ANOVA)的基本假設。
【詳解】
變異數分析(ANOVA)的主要目的是檢定多個母體平均數是否相等。
其虛無假設 (H0H_0) 通常是所有母體平均數都相等,即 μ1=μ2=⋯=μk\mu_1 = \mu_2 = \dots = \mu_k。

🔒

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

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

免費註冊

第 B.1 題

B. Multiple Choice (15 x 3% = 45%)
Exhibit 1: (Questions 1-2)
Consider the following hypothesis test. Ηο: σ₁² = σ₂² versus H₁: σ₁² ≠ σ₂². If n₁ = 31, s₁ = 0.2, n₂ = 8,
s₂ = 0.1, where nᵢ, σᵢ², and sᵢ are the sample size, population variance, and sample standard deviation from
the i-th population (for i=1, 2).

  1. Refer to Exhibit 1. Compute the value of the test statistic (F).
    (A) F = 1
    (B) F = 2
    (C) F = 3
    (D) F = 4
    (E) None of the above

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

這一題的完整詳解

此題考驗如何計算檢定兩個母體變異數相等的 F 統計量。
【詳解】
此題是要檢定兩個母體變異數是否相等,即 H0:σ12=σ22H_0: \sigma_1^2 = \sigma_2^2 對 H1:σ12≠σ22H_1: \sigma_1^2 \neq \sigma_2^2。
檢定統計量為樣本變異數的比值:F=s12s22F = \frac{s_1^2}{s_2^2} 或 F=s22s12F = \frac{s_2^2}{s_1^2}。通常將較大的樣本變異數放在分子,以進行單尾檢定,但在此題中,對立假設為雙尾,所以哪個在分子都可以,但自由度要對應。
我們有:
樣本大小:n1=31n_1 = 31, n2=8n_2 = 8
樣本標準差:s1=0.2s_1 = 0.2, s2=0.1s_2 = 0.1
樣本變異數:s12=(0.2)2=0.04s_1^2 = (0.2)^2 = 0.04, s22=(0.1)2=0.01s_2^2 = (0.1)^2 = 0.01

🔒

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

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

免費註冊

第 B.2 題

  1. Refer to Exhibit 1. What is the p-value? With the level of significance a=0.05, what is your decision for the hypothesis testing?
    (A) 0.01 ≤ p-value ≤ 0.025, reject Ho
    (B) 0.025 ≤ p-value ≤ 0.05, reject Ho
    (C) 0.05 ≤ p-value ≤ 0.1, do not reject Ho
    (E) 0.2 ≤ p-value ≤ 0.4, do not reject Ho
    (D) 0.1 ≤ p-value ≤ 0.2, do not reject Ho

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

這一題的完整詳解

此題考驗如何根據 F 統計量和自由度來判斷 p-value,並根據顯著水準做出決策。
【詳解】
在問題 B.1 中,我們計算得到 F 統計量為 4。
檢定的對立假設是 H1:σ12≠σ22H_1: \sigma_1^2 \neq \sigma_2^2,這是一個雙尾檢定。
自由度為 df1=n1−1=31−1=30df_1 = n_1 - 1 = 31 - 1 = 30 和 df2=n2−1=8−1=7df_2 = n_2 - 1 = 8 - 1 = 7。
我們需要找到 F 分配表中自由度為 (30, 7) 的值,並對應雙尾檢定的 p-value。

我們查閱 F 分配表(通常會提供 P 值對應的臨界值,或臨界值對應的 P 值)。題目最後一頁有提供 F 分配的參考值,但它是上尾機率。
通常,我們計算 F 統計量,然後查找 p-value。在這裡,我們需要根據 F 統計量 4 和自由度 (30, 7) 來估計 p-value。

因為對立假設是雙尾,所以 p-value = 2×P(Fdf1,df2≥Fobserved)2 \times P(F_{df_1, df_2} \ge F_{observed})。
我們需要查找 P(F30,7≥4)P(F_{30, 7} \ge 4)。

我們查看題目最後一頁提供的 F 分配參考值,其中有 F0.05(30,7)=3.38F_{0.05}(30,7) = 3.38 和 F0.025(30,7)=4.36F_{0.025}(30,7) = 4.36。
由於我們計算的 F 統計量為 4,它介於 3.38 和 4.36 之間。
3.38<4<4.363.38 < 4 < 4.36
這表示 P(F30,7≥4)P(F_{30, 7} \ge 4) 介於 0.025 和 0.05 之間。
0.025<P(F30,7≥4)<0.050.025 < P(F_{30, 7} \ge 4) < 0.05

🔒

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

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

免費註冊

第 B.3 題

  1. In a simple linear regression analysis, if the total sum of squares (SST) = 4500 and the sum of squares
    errors (SSE) = 1575, then the correlation coefficient between the independent and dependent variables
    could be
    (A) 0.35 or -0.35
    (B) 0.592 or -0.592
    (C) 0.65 or -0.65
    (D) 0.806 or -0.806
    (E) 1

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

這一題的完整詳解

此題考驗如何利用總平方和(SST)和誤差平方和(SSE)來計算相關係數。
【詳解】
在簡單線性迴歸中,總平方和(SST)可以分解為迴歸平方和(SSR)和誤差平方和(SSE):
SST=SSR+SSESST = SSR + SSE

給定:
SST=4500SST = 4500
SSE=1575SSE = 1575

我們可以計算 SSR:
SSR=SST−SSE=4500−1575=2925SSR = SST - SSE = 4500 - 1575 = 2925

判定係數(Coefficient of Determination),記為 R2R^2,表示模型解釋的變異量佔總變異量的比例。
R2=SSRSST=29254500R^2 = \frac{SSR}{SST} = \frac{2925}{4500}

🔒

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

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

免費註冊

第 B.4 題

Exhibit 2: (Questions 4-5)
A ketchup manufacturer aims to determine whether the percentage of supermarket shoppers who believe the
supermarket ketchup was as good as the national brand ketchup differed from 64%. Consider the hypothesis
test: Ho: p = 0.64 versus Ha: p≠ 0.64.
4. Refer to Exhibit 2. [0.53, 0.68], [0.52, 0.67], [0.46, 0.61], [0.50, 0.65] are four 99% confidence
interval estimates of p, based on 4 different samples, each of size 300. At the level of significance a =
0.01, how many of them conclude failing to reject the null hypothesis?
(A) 4
(B) 3
(C) 2
(D) 1
(E) 0

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

這一題的完整詳解

此題考驗信賴區間(Confidence Interval)與假設檢定(Hypothesis Test)之間的關係。
【詳解】
題目設定的虛無假設是 H0:p=0.64H_0: p = 0.64。
檢定的顯著水準是 α=0.01\alpha = 0.01。
這意味著我們使用的信賴區間是 (1−α)(1-\alpha) 的信賴區間,即 1−0.01=0.991 - 0.01 = 0.99,也就是 99% 的信賴區間。

一個信賴區間是否包含虛無假設中的母體參數值,決定了我們是否拒絕虛無假設。
如果一個 (1−α)(1-\alpha) 的信賴區間包含虛無假設中的參數值,則在顯著水準 α\alpha 下,我們不拒絕虛無假設。
如果一個 (1−α)(1-\alpha) 的信賴區間不包含虛無假設中的參數值,則在顯著水準 α\alpha 下,我們拒絕虛無假設。

🔒

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

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

免費註冊

第 B.5 題

  1. Refer to Exhibit 2. A sample of 100 shoppers showed 52 stating that the supermarket brand was as good
    as the national brand. What is the value of the test statistic? Using the level of significance a =0.01, what
    is your conclusion?
    (A) -2.50; fail to reject Ho
    (B) -2.50; reject Ho
    (C) -2.402; fail to reject Ho
    (D) -2.402; reject Ho
    Exhibit 3: (Questions 6-7)
    (E) neither -2.50 nor -2.402; reject Ho

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

這一題的完整詳解

此題考驗比例檢定(Test for Proportion)的計算與決策。
【詳解】
我們要檢定的虛無假設是 H0:p=0.64H_0: p = 0.64,對立假設是 Ha:p≠0.64H_a: p \neq 0.64。
樣本資訊:
樣本大小 n=100n = 100
樣本中聲稱品牌好的數量 x=52x = 52
樣本比例 p^=xn=52100=0.52\hat{p} = \frac{x}{n} = \frac{52}{100} = 0.52

顯著水準 α=0.01\alpha = 0.01。

進行比例檢定時,我們使用 Z 統計量。在虛無假設下,母體比例 p0=0.64p_0 = 0.64。
Z 統計量的計算公式為:
Z=p^−p0p0(1−p0)nZ = \frac{\hat{p} - p_0}{\sqrt{\frac{p_0(1-p_0)}{n}}}

代入數值:
Z=0.52−0.640.64(1−0.64)100Z = \frac{0.52 - 0.64}{\sqrt{\frac{0.64(1-0.64)}{100}}}
Z=−0.120.64(0.36)100Z = \frac{-0.12}{\sqrt{\frac{0.64(0.36)}{100}}}
Z=−0.120.2304100Z = \frac{-0.12}{\sqrt{\frac{0.2304}{100}}}
Z=−0.120.002304Z = \frac{-0.12}{\sqrt{0.002304}}

計算 0.002304\sqrt{0.002304}:
0.002304=2304×10−60.002304 = 2304 \times 10^{-6}
0.002304=2304×10−3\sqrt{0.002304} = \sqrt{2304} \times 10^{-3}
402=160040^2 = 1600, 502=250050^2 = 2500
482=(50−2)2=2500−200+4=230448^2 = (50-2)^2 = 2500 - 200 + 4 = 2304
所以,0.002304=48×10−3=0.048\sqrt{0.002304} = 48 \times 10^{-3} = 0.048

🔒

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

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

免費註冊

第 B.6 題

Exhibit 3: (Questions 6-7)
A consumer research group is interested in testing an automobile manufacturer's claim that a new economy
model will travel at least 25 miles per gallon of gasoline. With a 5% level of significance and a sample of 36
cars. Assume that population variance is 9 miles per gallon.
6. Refer to Exhibit 3. What is the acceptance region based on the sample mean?
(A) X > 25
X ≤ 24.1775
(B) X > 24.1775
(C) X > 22.5325
(D) X ≤ 22.5325
(E

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

這一題的完整詳解

此題考驗如何根據假設檢定設定,計算出樣本平均數的接受區間(Acceptance Region)。
【詳解】
問題設定:
汽車製造商聲稱新經濟車款每加侖至少可跑 25 英里。
虛無假設 (H0H_0):母體平均里程 μ≥25\mu \ge 25。
對立假設 (HaH_a):母體平均里程 μ<25\mu < 25。
這是一個左尾檢定。
顯著水準 α=0.05\alpha = 0.05。
樣本大小 n=36n = 36。
母體變異數 σ2=9\sigma^2 = 9 英里/加侖。
母體標準差 σ=9=3\sigma = \sqrt{9} = 3 英里/加侖。

因為母體變異數已知,我們使用 Z 檢定。
Z 統計量的公式為:Z=Xˉ−μ0σ/nZ = \frac{\bar{X} - \mu_0}{\sigma/\sqrt{n}},其中 μ0\mu_0 是虛無假設中的母體平均數。
在左尾檢定中,我們拒絕 H0H_0 如果 Z<−ZαZ < -Z_{\alpha}。
其中 ZαZ_{\alpha} 是標準常態分配中,右尾機率為 α\alpha 的臨界值。
對於 α=0.05\alpha = 0.05,查標準常態分配表,得 Z0.05=1.645Z_{0.05} = 1.645。
所以,我們拒絕 H0H_0 如果 Z<−1.645Z < -1.645。

🔒

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

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

免費註冊

第 B.7 題

  1. Refer to Exhibit 3. What is the probability of committing a Type II error and power if the actual mileage
    is 23.5 miles per gallon?
    (A) 0.95, 0.05
    (B) 0.326, 0.674
    (C) 0.0877, 0.9123
    (D) 0.05, 0.95

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

這一題的完整詳解

此題考驗如何計算第二類錯誤(Type II Error)的機率(β\beta)以及檢定的功效(Power)。
【詳解】
延續 Exhibit 3 的設定:
H0:μ≥25H_0: \mu \ge 25 (或 μ=25\mu = 25)
Ha:μ<25H_a: \mu < 25
α=0.05\alpha = 0.05
n=36n = 36
σ=3\sigma = 3
拒絕區域是 Xˉ<24.1775\bar{X} < 24.1775。
接受區域是 Xˉ≥24.1775\bar{X} \ge 24.1775。

第二類錯誤(Type II Error)是指當對立假設為真時,卻未能拒絕虛無假設。
在這裡,我們假設實際的母體平均里程是 μ=23.5\mu = 23.5 (這是對立假設為真的一種情況)。
第二類錯誤的機率 β\beta 是在實際 μ=23.5\mu = 23.5 的情況下,樣本平均數 Xˉ\bar{X} 落入接受區域的機率。
β=P(Fail to reject H0∣μ=23.5)\beta = P(\text{Fail to reject } H_0 | \mu = 23.5)
β=P(Xˉ≥24.1775∣μ=23.5)\beta = P(\bar{X} \ge 24.1775 | \mu = 23.5)

當 μ=23.5\mu = 23.5 時,樣本平均數 Xˉ\bar{X} 的抽樣分配的平均數是 23.5,標準差是

🔒

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

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

免費註冊

第 B.8 題

Exhibit 4: (Questions 8-9)
A survey found that the mean daily discretionary spending by Americans earning over 90,000peryearwas90,000 per year was 136 per day. The discretionary spending excluded home purchases, vehicle purchases, and regular monthly
bills. Let X be the discretionary spending per day and assume that a uniform probability density function
applies with
f(x) = 0.00625, for a ≤ x ≤b.
8. Refer to Exhibit 4. Find the values of a and b for the probability density function.
(A) (56, 126)
(C) (126, 272) (D) (160, 320)
(B) (56, 216)
(E) (272, 432)

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

這一題的完整詳解

核心觀念

本題考查連續型均勻分配 U(a,b)U(a,b) 的兩項基本性質:

  1. 機率密度函數為
f(x)=1b−a,a≤x≤bf(x)=\frac{1}{b-a},\qquad a\le x\le b
  1. 均勻分配的平均數為
E(X)=a+b2E(X)=\frac{a+b}{2}

題目給定:

f(x)=0.00625,E(X)=136f(x)=0.00625,\qquad E(X)=136

需由此求出 aa 與 bb。

解題方法

第一步:利用機率密度函數求區間長度

均勻分配的密度為:

1b−a=0.00625\frac{1}{b-a}=0.00625

因為

0.00625=11600.00625=\frac{1}{160}

所以:

b−a=160b-a=160

這表示均勻分配的區間長度為 160160。

第二步:利用平均數求區間中點

均勻分配的平均數為:

E(X)=a+b2=136E(X)=\frac{a+b}{2}=136

因此:

a+b=272a+b=272

第三步:聯立求解

由

b−a=160b-a=160

以及

a+b=272a+b=272

兩式相加:

2b=4322b=432

因此:

b=216b=216

代回 a+b=272a+b=272:

a=272−216=56a=272-216=56

所以:

(a,b)=(56,216)(a,b)=(56,216)

選項分析

  • (A) (56,126)(56,126):錯誤。
    區間長度為 126−56=70126-56=70,其密度應為

    170≠0.00625\frac{1}{70}\ne 0.00625

    且平均數為

    56+1262=91≠136\frac{56+126}{2}=91\ne136
🔒

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

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

免費註冊

第 B.9 題

  1. Refer to Exhibit 4. What is the probability (p) that consumers in this group have daily discretionary
    spending between 100and100 and 200? Calculate the standard deviation (σ) of the distribution. What are the
    values of (p, σ)?
    (A) (0.731, 2133.33)
    (D) (0.625, 2133.33)
    (B) (0.731, 46.188)
    (E) (0.625, 46.188)
    (C) (0.542, 46.188)

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

這一題的完整詳解

此題考驗均勻分佈的機率計算和標準差計算。
【詳解】
延續 Exhibit 4 的設定,我們已經從問題 B.8 中得出均勻分佈的參數為 a=56a = 56 和 b=216b = 216。
機率密度函數為 f(x)=0.00625f(x) = 0.00625, for 56≤x≤21656 \le x \le 216。

首先,計算消費者每日可支配支出在 100美元到100 美元到 200 美元之間的機率 (p)。
對於均勻分佈,在區間 [c,d][c, d] 內的機率為:
P(c≤X≤d)=∫cdf(x)dx=∫cd1b−adx=d−cb−aP(c \le X \le d) = \int_c^d f(x) dx = \int_c^d \frac{1}{b-a} dx = \frac{d-c}{b-a}
這裡,c=100c = 100, d=200d = 200, a=56a = 56, b=216b = 216。
p=P(100≤X≤200)=200−100216−56=100160p = P(100 \le X \le 200) = \frac{200 - 100}{216 - 56} = \frac{100}{160}
p=100160=1016=58=0.625p = \frac{100}{160} = \frac{10}{16} = \frac{5}{8} = 0.625

接下來,計算該均勻分佈的標準差 (σ\sigma)。
對於均勻分佈 U(a,b)U(a, b),其標準差的公式是:
σ=(b−a)212\sigma = \sqrt{\frac{(b-a)^2}{12}}

🔒

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

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

免費註冊

第 B.10 題

  1. The National Collegiate Athletic Association (NCAA) estimates that the yearly value of a full athletic
    scholarship at instate public universities is 19,000.Assumethescholarshipvalueisnormallydistributedwithastandarddeviationof19,000. Assume the scholarship value is normally distributed with a standard deviation of 2,100. For the 3% of athletic scholarships that are most valuable, how much
    are they worth?
    (A) 14443
    (B) 15052
    (C) 17428
    (D) 22948
    (E) 23557

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

這一題的完整詳解

此題考驗常態分配(Normal Distribution)的百分位數計算。
【詳解】
題目給定:
scholarship value 是一個常態分配。
平均數 μ=19000\mu = 19000 美元。
標準差 σ=2100\sigma = 2100 美元。

我們要找出「3% 的獎學金價值最高,它們值多少錢」。
這表示我們要找一個價值,使得只有 3% 的獎學金價值比這個值高,而 97% 的獎學金價值比這個值低。
換句話說,我們要找的是第 97 個百分位數 (97th percentile)。

我們需要找到一個 Z 值,使得其右尾機率為 0.03,或者左尾機率為 1−0.03=0.971 - 0.03 = 0.97。
查標準常態分配表,尋找累計機率接近 0.97 的 Z 值。
P(Z < 1.88) ≈ 0.9699

🔒

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

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

免費註冊

第 C.1.(a) 題8 分

C. Problems (35%)

  1. Consider a simple linear regression model:
    Yi = βo + β₁xi + ε¡, i = 1, ..., η,
    where yi is the response variable, x₁ is the independent variable, and ɛ¡ denotes the random error with
    E(ε₁) = 0 and Var(ε₁) = σ². Besides, &'s for all individuals are assumed to be uncorrelated.
    (a) Find the least squares estimators of regression coefficients, say the intercept βo and the slope β₁. (8%)

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

這一題的完整詳解

此題考驗最小平方法(Least Squares Method)在簡單線性迴歸中求解迴歸係數估計量(β^0\hat{\beta}_0 和 β^1\hat{\beta}_1)的過程。

【詳解】
簡單線性迴歸模型為 yi=β0+β1xi+ϵiy_i = \beta_0 + \beta_1 x_i + \epsilon_i。
最小平方法旨在最小化實際觀測值 yiy_i 與迴歸直線預測值 y^i=β^0+β^1xi\hat{y}_i = \hat{\beta}_0 + \hat{\beta}_1 x_i 之間的誤差平方和(Sum of Squared Errors, SSE)。
SSE = ∑i=1n(yi−y^i)2=∑i=1n(yi−(β^0+β^1xi))2\sum_{i=1}^n (y_i - \hat{y}_i)^2 = \sum_{i=1}^n (y_i - (\hat{\beta}_0 + \hat{\beta}_1 x_i))^2

為了找到使 SSE 最小的 β^0\hat{\beta}_0 和 β^1\hat{\beta}_1,我們對 SSE 分別對 β^0\hat{\beta}_0 和 β^1\hat{\beta}_1 取偏導數,並令其等於零,然後解聯立方程式。

  1. 對 β^0\hat{\beta}_0 取偏導數並令其為零:
    ∂SSE∂β^0=∑i=1n2(yi−β^0−β^1xi)(−1)=0\frac{\partial SSE}{\partial \hat{\beta}_0} = \sum_{i=1}^n 2(y_i - \hat{\beta}_0 - \hat{\beta}_1 x_i)(-1) = 0
    −2∑i=1n(yi−β^0−β^1xi)=0-2 \sum_{i=1}^n (y_i - \hat{\beta}_0 - \hat{\beta}_1 x_i) = 0
    ∑i=1n(yi−β^0−β^1xi)=0\sum_{i=1}^n (y_i - \hat{\beta}_0 - \hat{\beta}_1 x_i) = 0
    ∑yi−∑β^0−∑β^1xi=0\sum y_i - \sum \hat{\beta}_0 - \sum \hat{\beta}_1 x_i = 0
    ∑yi−nβ^0−β^1∑xi=0\sum y_i - n\hat{\beta}_0 - \hat{\beta}_1 \sum x_i = 0
    nβ^0=∑yi−β^1∑xin\hat{\beta}_0 = \sum y_i - \hat{\beta}_1 \sum x_i
    β^0=∑yin−β^1∑xin\hat{\beta}_0 = \frac{\sum y_i}{n} - \hat{\beta}_1 \frac{\sum x_i}{n}
    β^0=yˉ−β^1xˉ\hat{\beta}_0 = \bar{y} - \hat{\beta}_1 \bar{x}
    這個結果表明,最小平方迴歸直線一定通過樣本均值點 (xˉ,yˉ)(\bar{x}, \bar{y})。

  2. 對 β^1\hat{\beta}_1 取偏導數並令其為零:
    ∂SSE∂β^1=∑i=1n2(yi−β^0−β^1xi)(−xi)=0\frac{\partial SSE}{\partial \hat{\beta}_1} = \sum_{i=1}^n 2(y_i - \hat{\beta}_0 - \hat{\beta}_1 x_i)(-x_i) = 0
    −2∑i=1nxi(yi−β^0−β^1xi)=0-2 \sum_{i=1}^n x_i(y_i - \hat{\beta}_0 - \hat{\beta}_1 x_i) = 0
    ∑i=1nxi(yi−β^0−β^1xi)=0\sum_{i=1}^n x_i(y_i - \hat{\beta}_0 - \hat{\beta}_1 x_i) = 0
    ∑(xiyi−β^0xi−β^1xi2)=0\sum (x_i y_i - \hat{\beta}_0 x_i - \hat{\beta}_1 x_i^2) = 0
    ∑xiyi−β^0∑xi−β^1∑xi2=0\sum x_i y_i - \hat{\beta}_0 \sum x_i - \hat{\beta}_1 \sum x_i^2 = 0

    現在將 β^0=yˉ−β^1xˉ\hat{\beta}_0 = \bar{y} - \hat{\beta}_1 \bar{x} 代入上式:
    ∑xiyi−(yˉ−β^1xˉ)∑xi−β^1∑xi2=0\sum x_i y_i - (\bar{y} - \hat{\beta}_1 \bar{x}) \sum x_i - \hat{\beta}_1 \sum x_i^2 = 0
    ∑xiyi−yˉ∑xi+β^1xˉ∑xi−β^1∑xi2=0\sum x_i y_i - \bar{y} \sum x_i + \hat{\beta}_1 \bar{x} \sum x_i - \hat{\beta}_1 \sum x_i^2 = 0

🔒

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

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

免費註冊

第 C.1.(b) 題10 分

(b) Show that E(MSE) = σ², where 'MSE' is the mean square error. (10%)

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

這一題的完整詳解

核心觀念

在一般線性迴歸模型中,均方誤差(MSE)是殘差平方和除以殘差自由度。若模型有 nn 筆觀測、設計矩陣 XX 的秩為 pp,則

MSE=SSEn−p.\mathrm{MSE}=\frac{\mathrm{SSE}}{n-p}.

在誤差項彼此不相關且具有相同變異數的假設下,MSE 是母體誤差變異數 σ2\sigma^2 的不偏估計量。

解題方法

設線性模型為

y=Xβ+ε,E(ε)=0,Var⁡(ε)=σ2In.\mathbf y=X\boldsymbol\beta+\boldsymbol\varepsilon, \qquad E(\boldsymbol\varepsilon)=\mathbf 0, \qquad \operatorname{Var}(\boldsymbol\varepsilon)=\sigma^2 I_n.

令 H=X(X′X)−1X′H=X(X'X)^{-1}X' 為投影矩陣,則殘差向量為

e=(In−H)y.\mathbf e=(I_n-H)\mathbf y.

因為 HX=XHX=X,可得 (In−H)Xβ=0(I_n-H)X\boldsymbol\beta=\mathbf 0,因此

SSE=e′e=ε′(In−H)ε.\mathrm{SSE} =\mathbf e'\mathbf e =\boldsymbol\varepsilon'(I_n-H)\boldsymbol\varepsilon.

利用二次型期望公式

🔒

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

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

免費註冊

第 C.2 題8 分

  1. Consider the following hypothesis test: Ho: μ ≤ 20 versus Ha: μ > 20. The population standard
    deviation is 10. The sample size is 64. The power is 0.2 when the actual population mean is 21.4. What is
    the significance level a used in the test? (8%)

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

這一題的完整詳解

此題考驗如何根據檢定的功效(Power)來反推顯著水準(α\alpha)。

【詳解】
我們有一個關於母體平均數 μ\mu 的假設檢定:
H0:μ≤20H_0: \mu \le 20
Ha:μ>20H_a: \mu > 20
這是一個右尾檢定。

已知資訊:
母體標準差 σ=10\sigma = 10。
樣本大小 n=64n = 64。
當實際母體平均數為 μ=21.4\mu = 21.4 時,檢定的功效(Power)為 0.2。

功效(Power)的定義是:當對立假設為真時,正確拒絕虛無假設的機率。
Power =P(Reject H0∣Ha is true)= P(\text{Reject } H_0 | H_a \text{ is true})
在這裡,Power =P(Reject H0∣μ=21.4)=0.2= P(\text{Reject } H_0 | \mu = 21.4) = 0.2。

由於母體標準差 σ\sigma 已知,我們使用 Z 檢定。
Z 統計量為 Z=Xˉ−μ0σ/nZ = \frac{\bar{X} - \mu_0}{\sigma/\sqrt{n}}。
在右尾檢定中,我們拒絕 H0H_0 如果 Z>ZαZ > Z_{\alpha},其中 ZαZ_{\alpha} 是在顯著水準 α\alpha 下的標準常態臨界值。
所以,Power =P(Xˉ−μ0σ/n>Zα∣μ=21.4)= P(\frac{\bar{X} - \mu_0}{\sigma/\sqrt{n}} > Z_{\alpha} | \mu = 21.4)。

我們將 μ0\mu_0 設定為 H0H_0 的邊界值,即 μ0=20\mu_0 = 20。
σ/n=10/64=10/8=1.25\sigma/\sqrt{n} = 10/\sqrt{64} = 10/8 = 1.25。

Power =P(Xˉ−201.25>Zα∣μ=21.4)=0.2= P(\frac{\bar{X} - 20}{1.25} > Z_{\alpha} | \mu = 21.4) = 0.2。
令 Z′=Xˉ−21.41.25Z' = \frac{\bar{X} - 21.4}{1.25}。當 μ=21.4\mu=21.4 時,Xˉ\bar{X} 的期望值是 21.4,所以 Z′Z' 是一個標準常態變數。
我們需要將不等式轉換成以 μ=21.4\mu = 21.4 為基礎的 Z 值。

🔒

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

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

免費註冊

第 C.3 題9 分

  1. (9%) An experiment of randomized block design has been conducted for four treatments with eight blocks.
    Complete the following analysis of variance (ANOVA) table. Please fill in (a)-(i).
    Source
    of Variation
    Treatments
    Blocks
    Error
    Total
    Sum
    of Squares
    Degrees
    of Freedom
    Mean
    Square
    F
    900
    (b)
    (f)
    (i)
    400
    (c)
    (g)
    (a)
    (d)
    (h)
    1800
    (e)

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

這一題的完整詳解

核心觀念

此題考查「隨機區集設計」(randomized block design)的 ANOVA 表補全。

設:

  • 處理數 t=4t=4
  • 區集數 b=8b=8
  • 總觀測值數 N=tb=32N=tb=32

隨機區集設計的自由度分解為:

dfTotal=dfTreatments+dfBlocks+dfErrordf_{\text{Total}} =df_{\text{Treatments}}+df_{\text{Blocks}}+df_{\text{Error}}

其中:

dfTreatments=t−1df_{\text{Treatments}}=t-1 dfBlocks=b−1df_{\text{Blocks}}=b-1 dfError=(t−1)(b−1)df_{\text{Error}}=(t-1)(b-1)

平方和亦滿足:

SSTotal=SSTreatments+SSBlocks+SSErrorSS_{\text{Total}} =SS_{\text{Treatments}}+SS_{\text{Blocks}}+SS_{\text{Error}}

均方與 FF 統計量為:

MS=SSdfMS=\frac{SS}{df} F=MS來源MSErrorF=\frac{MS_{\text{來源}}}{MS_{\text{Error}}}

解題方法

1. 計算各來源的自由度

處理的自由度:

dfTreatments=4−1=3df_{\text{Treatments}}=4-1=3

因此:

(b)=3\boxed{(b)=3}

區集的自由度:

dfBlocks=8−1=7df_{\text{Blocks}}=8-1=7

因此:

(c)=7\boxed{(c)=7}

誤差的自由度:

dfError=(4−1)(8−1)=3×7=21df_{\text{Error}}=(4-1)(8-1)=3\times 7=21

因此:

(h)=21\boxed{(h)=21}

總自由度:

dfTotal=4×8−1=31df_{\text{Total}}=4\times 8-1=31

因此:

(e)=31\boxed{(e)=31}

也可驗算:

3+7+21=313+7+21=31

2. 計算誤差平方和

已知:

SSTotal=1800SS_{\text{Total}}=1800 SSTreatments=900SS_{\text{Treatments}}=900 SSBlocks=400SS_{\text{Blocks}}=400

因此:

SSError=1800−900−400=500SS_{\text{Error}} =1800-900-400 =500

所以:

(d)=500\boxed{(d)=500}

3. 計算各來源的均方

處理均方:

MSTreatments=9003=300MS_{\text{Treatments}} =\frac{900}{3} =300

因此:

(f)=300\boxed{(f)=300}

區集均方:

🔒

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

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

免費註冊

第 C.3.cont 題

Complete the following analysis of variance (ANOVA) table. Please fill in (a)-(i).
... (Table from previous question)

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

這一題的完整詳解

本題為上一題 C.3 的延續,只是為了格式要求,將表格填寫的結果重新列出。

🔒

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

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

免費註冊

第 Unlabeled 題

附表:Cumulative Probabilities for the Standard Normal Distribution
... (Standard Normal Table) ...

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

這一題的完整詳解

此為標準常態分配的累積機率表,提供給考生在解題時查閱 Z 值所對應的機率。在統計學研究所考試中,這類表格是標準配備,用於進行假設檢定、信賴區間計算等。

【詳解】
此表格列出了標準常態分配(平均數為 0,標準差為 1)的累積機率 P(Z≤z)P(Z \le z)。
表格的列標(Z)表示標準常態變數的值,小數點後第一位;表格的欄標(.00 到 .09)表示標準常態變數的第二位小數。

🔒

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

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

免費註冊

第 Unlabeled 題

參考值:(Note that the probability indicates the area under the curve of the F distribution in the upper tail.)
F0.1 (30,7) = 2.56
F0.1(7,30) = 1.93
F0.05 (30,7) = 3.38
F0.05(7,30) = 2.33
F0.025 (30,7) = 4.36
F0.025(7,30) = 2.75
F0.01 (30,7) = 5.99
F0.01 (7,30) = 3.30
F0.1 (31,8) = 2.38
F0.1(8,31) = 1.88
F0.05 (31,8) = 3.07
F0.05 (8,31) = 2.25
F0.025 (31,8) = 3.89
F0.025 (8,31) = 2.64
F0.01 (31,8) = 5.19
F0.01 (8,31) = 3.15

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

這一題的完整詳解

此為 F 分配的臨界值表,提供給考生在進行變異數分析或檢定兩個母體變異數時使用。表格中標示的機率是指上尾機率(upper tail probability),即 P(Fdf1,df2≥Fα)=αP(F_{df_1, df_2} \ge F_{\alpha}) = \alpha。

【詳解】
表格的格式為 Fα(df1,df2)F_{\alpha}(df_1, df_2),其中:

  • α\alpha 是上尾機率(例如 0.1, 0.05, 0.025, 0.01)。
  • df1df_1 是分子自由度。
🔒

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

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

免費註冊

其他考古題