109 年 國立臺灣大學工業工程學研究所碩士班產業與服務系統工程組《統計學(H)》

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

第 1 題

  1. A continuous random variable X has the following distribution function:
FX(x)={0,x≤0x,0<x≤11,x>1F_X(x) = \begin{cases} 0, & x \le 0 \\ \sqrt{x}, & 0 < x \le 1 \\ 1, & x > 1 \end{cases}

Compute the expectation of Y=3−5X2Y = 3 - 5X^2.
A. E[Y] = 11/7
B. E[Y] = 1
C. E[Y] = -1
D. E[Y] = -2
E. E[Y] = 2

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

這一題的完整詳解

本題主要在考驗連續型隨機變數期望值的計算,特別是利用其機率密度函數 (PDF) 來求解。

首先,我們需要由累積分布函數 (CDF) FX(x)F_X(x) 推導出機率密度函數 (PDF) fX(x)f_X(x)。
對於 0<x≤10 < x \le 1, fX(x)=ddxFX(x)=ddx(x)=ddx(x1/2)=12x−1/2=12xf_X(x) = \frac{d}{dx} F_X(x) = \frac{d}{dx} (\sqrt{x}) = \frac{d}{dx} (x^{1/2}) = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}。
對於其他範圍, fX(x)=0f_X(x) = 0。

接著,我們計算 E[X2]E[X^2]。
E[X2]=∫−∞∞x2fX(x)dxE[X^2] = \int_{-\infty}^{\infty} x^2 f_X(x) dx
E[X2]=∫01x2(12x)dxE[X^2] = \int_{0}^{1} x^2 \left(\frac{1}{2\sqrt{x}}\right) dx
E[X2]=∫0112x2x−1/2dxE[X^2] = \int_{0}^{1} \frac{1}{2} x^2 x^{-1/2} dx

🔒

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

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

免費註冊

第 2 題

  1. Let X be a random variable. It is given that E[X]=ln⁡2E[X] = \ln 2. What can be deduced about E[e−X]E[e^{-X}]?
    A. E[e−X]≤2E[e^{-X}] \le 2
    B. E[e−X]≤1/2E[e^{-X}] \le 1/2
    C. E[e−X]=1/2E[e^{-X}] = 1/2
    D. E[e−X]≥1/2E[e^{-X}] \ge 1/2
    E. E[e−X]≥2E[e^{-X}] \ge 2

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

這一題的完整詳解

本題主要考驗期望值的性質,特別是利用 Jensen's inequality 或其他不等式來估計期望值。

我們已知 E[X]=ln⁡2E[X] = \ln 2。我們想知道 E[e−X]E[e^{-X}] 的範圍。
考慮函數 g(x)=e−xg(x) = e^{-x}。這個函數是凹函數 (concave function),因為其二階導數 g′′(x)=e−x>0g''(x) = e^{-x} > 0。

根據 Jensen's inequality 對於凹函數的應用,對於一個凹函數 g(x)g(x),我們有 E[g(X)]≤g(E[X])E[g(X)] \le g(E[X])。

🔒

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

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

免費註冊

第 3 題

  1. Let X and Y be two Bernoulli distributed random variables. Furthermore, P(X=0,Y=0)=0.3P(X = 0, Y = 0) = 0.3, P(X=0,Y=1)=0.2P(X=0, Y =1)=0.2, and P(X=1,Y=0)=0.2P(X=1, Y=0)=0.2. Which of the following statements is correct?
    A. X and Y are uncorrelated and independent.
    B. X and Y are uncorrelated and dependent.
    C. X and Y are correlated and independent.
    D. X and Y are negatively correlated and dependent.
    E. X and Y are positively correlated and dependent.

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

這一題的完整詳解

本題在考驗 Bernoulli 分布、獨立性、相關性以及無關性之間的關係。

首先,我們需要計算 X 和 Y 的邊際機率。
由於 X 和 Y 是 Bernoulli 隨機變數,它們只能取 0 或 1。
我們已知:
P(X=0,Y=0)=0.3P(X=0, Y=0) = 0.3
P(X=0,Y=1)=0.2P(X=0, Y=1) = 0.2
P(X=1,Y=0)=0.2P(X=1, Y=0) = 0.2

由於總機率為 1,我們可以計算出 P(X=1,Y=1)P(X=1, Y=1):
P(X=0,Y=0)+P(X=0,Y=1)+P(X=1,Y=0)+P(X=1,Y=1)=1P(X=0, Y=0) + P(X=0, Y=1) + P(X=1, Y=0) + P(X=1, Y=1) = 1
0.3+0.2+0.2+P(X=1,Y=1)=10.3 + 0.2 + 0.2 + P(X=1, Y=1) = 1
0.7+P(X=1,Y=1)=10.7 + P(X=1, Y=1) = 1
P(X=1,Y=1)=0.3P(X=1, Y=1) = 0.3

現在計算 X 的邊際機率:
P(X=0)=P(X=0,Y=0)+P(X=0,Y=1)=0.3+0.2=0.5P(X=0) = P(X=0, Y=0) + P(X=0, Y=1) = 0.3 + 0.2 = 0.5
P(X=1)=P(X=1,Y=0)+P(X=1,Y=1)=0.2+0.3=0.5P(X=1) = P(X=1, Y=0) + P(X=1, Y=1) = 0.2 + 0.3 = 0.5
因此,P(X=0)=0.5P(X=0) = 0.5 且 P(X=1)=0.5P(X=1) = 0.5。

計算 Y 的邊際機率:
P(Y=0)=P(X=0,Y=0)+P(X=1,Y=0)=0.3+0.2=0.5P(Y=0) = P(X=0, Y=0) + P(X=1, Y=0) = 0.3 + 0.2 = 0.5
P(Y=1)=P(X=0,Y=1)+P(X=1,Y=1)=0.2+0.3=0.5P(Y=1) = P(X=0, Y=1) + P(X=1, Y=1) = 0.2 + 0.3 = 0.5
因此,P(Y=0)=0.5P(Y=0) = 0.5 且 P(Y=1)=0.5P(Y=1) = 0.5。

判斷獨立性:
如果 X 和 Y 是獨立的,則 P(X=x,Y=y)=P(X=x)P(Y=y)P(X=x, Y=y) = P(X=x)P(Y=y) 對於所有 x, y 都成立。
我們檢查 P(X=0,Y=0)P(X=0, Y=0):
P(X=0)P(Y=0)=0.5×0.5=0.25P(X=0)P(Y=0) = 0.5 \times 0.5 = 0.25
由於 P(X=0,Y=0)=0.3≠0.25P(X=0, Y=0) = 0.3 \ne 0.25,所以 X 和 Y 不是獨立的。

判斷相關性:
對於 Bernoulli 隨機變數,其期望值為 E[X]=P(X=1)E[X] = P(X=1),變異數為 Var(X)=P(X=1)(1−P(X=1))Var(X) = P(X=1)(1-P(X=1))。
E[X]=P(X=1)=0.5E[X] = P(X=1) = 0.5

🔒

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

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

免費註冊

第 4 題

  1. Consider the following back-to-back stemplot:
    0 | 348
    1 | 01256
    843 | 2 | 29
    65210 | 3 | 2557
    92 | 4 |
    7552 | 5 | 6
    6 | 6 | 1458
    70 | 7 | 09
    8541 | 8 |
    90 | 9 |

I. The distributions have the same mean.
II. The distributions have the same range.
III. The distributions have the same standard deviation.

Which of the above are true statements?
A. II only
B. II and III
C. I and II
D. I and III
E. I, II, and III

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

這一題的完整詳解

核心觀念

背對背莖葉圖中,莖代表十位數,葉代表個位數;左側與右側分別表示兩組資料。例如:

  • 843∣2∣29843\mid 2\mid 29
    左組為 28,24,2328,24,23,右組為 22,2922,29。
  • 65210∣3∣255765210\mid 3\mid 2557
    左組為 36,35,32,31,3036,35,32,31,30,右組為 32,35,35,3732,35,35,37。

判斷三項敘述所需定義如下:

xˉ=∑xin\bar{x}=\frac{\sum x_i}{n} 全距=max⁡(xi)−min⁡(xi)\text{全距}=\max(x_i)-\min(x_i)

樣本標準差為

s=∑xi2−(∑xi)2nn−1.s=\sqrt{\frac{\sum x_i^2-\frac{(\sum x_i)^2}{n}}{n-1}}.

解題方法

依莖葉圖還原兩組資料。

左組資料為:

3,4,8,10,11,12,15,16,23,24,28,30,31,32,35,36,42,49,52,55,55,57,66,70,77,81,84,85,88,90,993,4,8,10,11,12,15,16,23,24,28,30,31,32,35,36, 42,49,52,55,55,57,66,70,77,81,84,85,88,90,99

因此

nL=31,∑xL=1368,∑xL2=86070.n_L=31,\qquad \sum x_L=1368,\qquad \sum x_L^2=86070.

左組平均數:

xˉL=136831≈44.13.\bar{x}_L=\frac{1368}{31}\approx 44.13.

左組全距:

RL=99−3=96.R_L=99-3=96.

左組樣本標準差:

sL=86070−136823130≈29.27.s_L =\sqrt{\frac{86070-\frac{1368^2}{31}}{30}} \approx 29.27.

右組資料為:

🔒

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

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

免費註冊

第 5 題

  1. A postgraduate student is studying undergraduate students in Taiwanese universities. He takes a sample of 400 undergraduate students from 10 universities. The average age of all undergraduate students in Taiwan is
    A. the median
    B. a population
    C. a statistic
    D. a parameter
    E. none of the above

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

這一題的完整詳解

本題在考驗統計學中的基本名詞定義:母體 (population)、樣本 (sample)、統計量 (statistic) 和參數 (parameter)。

題目中提到「The average age of all undergraduate students in Taiwan」。
「All undergraduate students in Taiwan」指的是一個完整的群體,這是我們的研究對象。這個完整的群體稱為「母體 (population)」。
「The average age」是這個母體的一個特性。用來描述母體的數值稱為「參數 (parameter)」。

接著,題目提到「He takes a sample of 400 undergraduate students from 10 universities」。這 400 位學生是一個「樣本 (sample)」。

🔒

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

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

免費註冊

第 6 題

  1. Crammer-Rao inequality is valid in case of:
    A. the asymptotic variance of a statistic
    B. the asymptotic variance of an estimator
    C. lower bound on the variance
    D. upper bound on the variance
    E. none of these

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

這一題的完整詳解

Cramér-Rao inequality (Cramér-Rao lower bound) 是一個在統計學中非常重要的理論。它給出了一個無偏估計量 (unbiased estimator) 的方差的下界。

Cramér-Rao inequality 指出,對於一個統計模型,任何無偏估計量 θ^\hat{\theta} 對於參數 θ\theta 的方差,至少會大於或等於 Fisher information 的倒數。
Var(θ^)≥1I(θ)Var(\hat{\theta}) \ge \frac{1}{I(\theta)}
其中 I(θ)I(\theta) 是 Fisher information。

因此,Cramér-Rao inequality 提供了一個無偏估計量的方差的「下界」。

🔒

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

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

免費註冊

第 7 題

  1. Most of the nonparametric methods utilize measurements on:
    A. interval scale
    B. ordinal scale
    C. ratio scale
    D. nominal scale
    E. none of scale

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

這一題的完整詳解

本題考驗對不同測量尺度 (scales of measurement) 以及無母數統計方法 (nonparametric methods) 的理解。

無母數統計方法通常用於處理那些不符合母數統計方法(如 t-test, ANOVA)的假設(例如:數據服從常態分布)的情況。
無母數方法的一個重要特點是它們對數據的尺度要求較低,通常只需要數據的排序資訊,而不需要精確的數值差異或比例關係。

讓我們來看看不同測量尺度:
A. Interval scale (區間尺度):數據的順序和數值之間的差異是有意義的,但沒有絕對的零點。例如,溫度(攝氏或華氏)。
B. Ordinal scale (順序尺度):數據的順序是有意義的,但數值之間的差異或比例不一定有意義。例如,評等(優、良、可、劣)、排名(第一、第二、第三)。
C. Ratio scale (比例尺度):數據的順序、數值差異和比例都有意義,且存在絕對的零點。例如,身高、體重、收入。
D. Nominal scale (名目尺度):數據僅用於分類,順序、差異或比例都無意義。例如,性別(男、女)、血型(A, B, AB, O)。

許多無母數方法,例如 Wilcoxon rank-sum test (Mann-Whitney U test), Kruskal-Wallis test, Spearman's rank correlation,都基於數據的排序 (ranks)。

🔒

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

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

免費註冊

第 8 題

  1. If population A has a larger standard deviation than population B, which of the following is NOT true?
    A. Population B has a smaller variance than population A.
    B. The mean of a sample of 20 from population A has a larger standard deviation than the mean of a sample of 20 from population B.
    C. A typical observation from population A will be farther from the mean of population A than a typical observation from B will be from the mean of population B.
    D. The mean of a sample from population A will on average be larger than the mean of a sample from population B.
    E. none of the above

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

這一題的完整詳解

本題考驗對標準差 (standard deviation)、變異數 (variance) 以及樣本平均數的標準差 (standard deviation of the sample mean) 的理解。

已知條件:Population A 的標準差 (σA\sigma_A) 大於 Population B 的標準差 (σB\sigma_B)。即 σA>σB\sigma_A > \sigma_B。

我們來逐一分析每個選項:

A. Population B has a smaller variance than population A.
標準差是變異數的平方根。如果標準差較大,則變異數也較大。
σA>σB  ⟹  σA2>σB2\sigma_A > \sigma_B \implies \sigma_A^2 > \sigma_B^2。
所以,Population B 的變異數 (σB2\sigma_B^2) 小於 Population A 的變異數 (σA2\sigma_A^2)。
此敘述是正確的。

B. The mean of a sample of 20 from population A has a larger standard deviation than the mean of a sample of 20 from population B.
樣本平均數的標準差 (standard error of the mean) 為 σXˉ=σn\sigma_{\bar{X}} = \frac{\sigma}{\sqrt{n}},其中 σ\sigma 是母體標準差,nn 是樣本大小。
對於樣本大小 n=20n=20:
Population A 的樣本平均數的標準差:σXˉA=σA20\sigma_{\bar{X}_A} = \frac{\sigma_A}{\sqrt{20}}
Population B 的樣本平均數的標準差:σXˉB=σB20\sigma_{\bar{X}_B} = \frac{\sigma_B}{\sqrt{20}}
因為 σA>σB\sigma_A > \sigma_B,且分母 20\sqrt{20} 相同,所以 σA20>σB20\frac{\sigma_A}{\sqrt{20}} > \frac{\sigma_B}{\sqrt{20}}。

🔒

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

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

免費註冊

第 9 題

  1. A scatter plot of number of teachers and number of people with undergraduate degrees for cities in Taiwan reveals a positive association. The most likely explanation for this positive association is:
    A. Larger cities tend to have both more teachers and more people with undergraduate degrees, so the association is explained by a third variable, the size of the city.
    B. Teachers encourage people to get undergraduate degrees, so an increase in the number of teachers is causing an increase in the number of people with undergraduate degrees.
    C. Cities with higher incomes tend to have more teachers and more people going to university, so income is a confounding variable, making causation between number of teachers and number of people with undergraduate degrees difficult to prove.
    D. Teaching is a common profession for people with undergraduate degrees, so an increase in the number of people with undergraduate degrees causes an increase in the number of teachers.

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

這一題的完整詳解

本題考驗對相關性 (association) 與因果關係 (causation) 的區別,以及第三變數 (third variable) 和混淆變數 (confounding variable) 的概念。

題目描述:台灣各城市,教師人數與大學學位人數的散佈圖顯示正相關。
正相關表示當教師人數增加時,大學學位人數也傾向於增加,反之亦然。

我們來分析各選項:

A. Larger cities tend to have both more teachers and more people with undergraduate degrees, so the association is explained by a third variable, the size of the city.
這個選項提出了一個「第三變數」——城市規模。城市規模 (city size) 確實可能與教師人數(例如,大城市需要更多學校和教師)以及大學學位人數(例如,大城市通常有更多大學和就業機會吸引高學歷人才)都有正相關。如果城市規模是導致兩者同時增加的原因,那麼這就是一個典型的「第三變數」解釋了觀察到的相關性。這是一個非常合理的解釋。

B. Teachers encourage people to get undergraduate degrees, so an increase in the number of teachers is causing an increase in the number of people with undergraduate degrees.
這個選項試圖建立「教師人數」對「大學學位人數」的因果關係。雖然教師可能在教育過程中扮演角色,但「教師人數」直接「鼓勵」人們獲得大學學位,這個因果鏈條比較牽強。而且,這忽略了其他更直接的因素,例如大學本身的數量、就業市場需求等。

C. Cities with higher incomes tend to have more teachers and more people going to university, so income is a confounding variable, making

🔒

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

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

免費註冊

第 10 題

  1. The boxplots below summarize the distribution of verbal and math scores among students at a high school.
    Math:
    Verbal:
    300 +-------+-------+-------+-------+-------+ 700
    300 400 500 600 700

I. The range of the math scores equals the range of the verbal scores.
II. The highest math score equals the median verbal score.
III. The verbal scores appear to be roughly symmetric, while the math scores appear to be skewed to the right.

Which of the below statements are true?
A. I only
B. III only
C. I and II
D. II and III
E. I, II, and III

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

這一題的完整詳解

核心觀念

本題考查箱型圖(boxplot)的判讀,須掌握以下定義:

  • 全距(range):
    全距=最大值−最小值\text{全距}=\text{最大值}-\text{最小值}
    箱型圖中,最左、最右的鬚端分別代表最小值與最大值。
  • 中位數(median):箱體內的線段位置。
  • 偏態判斷:
    • 左右兩側鬚長度及箱體分布大致平衡,表示分布約為對稱。
    • 右側鬚較長,且資料向較大值方向延伸,表示右偏(right-skewed)。

解題方法

直接比較兩個箱型圖的最小值、最大值、中位數,以及資料左右延伸情形。

  1. 由圖可見,數學成績與語文成績的最小值、最大值所形成的水平距離相同,因此兩者全距相等。
  2. 數學成績箱型圖的最大值位置,與語文成績箱型圖的中位數位置相同,因此數學最高分等於語文成績中位數。
🔒

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

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

免費註冊

第 11 題

  1. A manufacturer of a new swimsuit for competitive swimmers would like to compare the velocities of swimmers in their swimsuit with their competitor's swimsuit. They plan a paired experiment, where a sample of swimmers will be obtained, and their velocity (cm/second) will be measured in each swimsuit. They believe the standard deviation of the within swimmer differences is 8 cm/sec. They are conducting a 2-sided test of H0:μD=0,HA:μD≠0H_0: \mu_D = 0, H_A: \mu_D \ne 0 with α=0.05\alpha = 0.05. How many swimmers should they use if they want the power to be 0.90 to detect a difference of Δ=2.0\Delta = 2.0 cm/sec?

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

這一題的完整詳解

本題主要考驗關於樣本大小 (sample size) 的計算,特別是在假設檢定中,同時考慮顯著水準 (α\alpha)、檢定力 (power) 和效應大小 (effect size)。

這是一個配對樣本的檢定 (paired t-test),因為是同一批游泳者穿著兩種泳衣測量速度。
我們關心的是配對差異的平均值 μD\mu_D。
虛無假設 H0:μD=0H_0: \mu_D = 0 (兩種泳衣速度無差異)。
對立假設 HA:μD≠0H_A: \mu_D \ne 0 (兩種泳衣速度有差異)。
顯著水準 α=0.05\alpha = 0.05。
檢定力 (Power) =1−β=0.90= 1 - \beta = 0.90,所以 β=0.10\beta = 0.10。
要檢測的效應大小 (effect size) 是差異的絕對值 ∣Δ∣=2.0|\Delta| = 2.0 cm/sec。
已知配對差異的標準差 σD=8\sigma_D = 8 cm/sec。

我們需要計算樣本數 nn。
對於配對樣本的平均值檢定,樣本平均數的標準誤 (standard error of the mean difference) 為 SEDˉ=σDnSE_{\bar{D}} = \frac{\sigma_D}{\sqrt{n}}。

樣本大小的計算公式通常是基於 Z 分數或 t 分數。在這裡,由於我們已經知道母體差異的標準差 σD\sigma_D,我們可以使用 Z 分數來近似計算。

樣本大小的公式為:
n=(zα/2σD+zβσDΔ)2n = \left( \frac{z_{\alpha/2} \sigma_D + z_{\beta} \sigma_D}{\Delta} \right)^2
其中:

  • zα/2z_{\alpha/2} 是對應於雙尾檢定 α\alpha 的 Z 分數。
🔒

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

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

免費註冊

第 12 題

Questions 12-14. Consider a two-factor experiment in which Factor A has 2 levels and Factor B also has 2 levels. Partial ANOVA table is shown below:

SourceSSdf
Factor A981
Factor B2181
Interaction8961
A*B
Error320020
  1. Assume that each cell(group) has equal number of observations. How many observations are there in each cell?

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

這一題的完整詳解

本題考驗對兩因子實驗設計 (two-factor experiment) 中 ANOVA 表的理解,以及如何根據自由度 (degrees of freedom, df) 計算每組的觀察值數量。

題目給出了一個部分 ANOVA 表,其中:

  • 因子 A 有 2 個水準 (levels)。
  • 因子 B 有 2 個水準 (levels)。
  • 因子 A 和 B 的交互作用 (Interaction A*B) 的自由度為 1。
  • 誤差 (Error) 的自由度為 20。

在兩因子實驗中,總共有 a×ba \times b 個細胞 (cells) 或處理組合 (treatment combinations),其中 aa 是因子 A 的水準數,bb 是因子 B 的水準數。
在此題中,a=2a=2,b=2b=2,所以總共有 2×2=42 \times 2 = 4 個細胞。

各項自由度與實驗設計的關係:

  • 因子 A 的自由度:dfA=a−1df_A = a - 1
  • 因子 B 的自由度:dfB=b−1df_B = b - 1
  • 交互作用 A*B 的自由度:dfA×B=(a−1)(b−1)df_{A \times B} = (a-1)(b-1)
🔒

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

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

免費註冊

第 13 題

  1. Is the Interaction A*B significant at α=0.05\alpha = 0.05? Justify your answer by specifying the test statistics.

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

這一題的完整詳解

本題考驗如何根據 ANOVA 表中的資訊判斷交互作用是否顯著。

在 ANOVA 中,判斷交互作用是否顯著,是將交互作用的均方 (Mean Square for Interaction, MSA×BMS_{A \times B}) 與誤差的均方 (Mean Square Error, MSEMS_E) 進行比較,計算 F 統計量。
FA×B=MSA×BMSEF_{A \times B} = \frac{MS_{A \times B}}{MS_E}
如果計算出的 F 值大於對應於 α\alpha 和自由度 (dfA×B,dfEdf_{A \times B}, df_E) 的臨界值,則認為交互作用是顯著的。

我們需要從 ANOVA 表中獲取所需資訊:

  • 交互作用的自由度 dfA×B=1df_{A \times B} = 1。
  • 誤差的自由度 dfError=20df_{Error} = 20。
  • 交互作用的平方和 SSA×B=896SS_{A \times B} = 896。
  • 誤差的平方和 SSError=3200SS_{Error} = 3200。

首先,計算 MSA×BMS_{A \times B} 和 MSEMS_E:
MSA×B=SSA×BdfA×B=8961=896MS_{A \times B} = \frac{SS_{A \times B}}{df_{A \times B}} = \frac{896}{1} = 896
MSE=SSErrordfError=320020=160MS_E = \frac{SS_{Error}}{df_{Error}} = \frac{3200}{20} = 160

🔒

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

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

免費註冊

第 14 題

  1. Sketch a picture of possible cell means.

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

這一題的完整詳解

本題要求繪製可能的細胞平均數 (cell means) 圖,以展示交互作用 (interaction) 的可能情況。

在一個有交互作用的兩因子實驗中,一個因子對另一個因子的效應會隨著該因子水準的改變而改變。這可以透過繪製交互作用圖來視覺化。

實驗設計:

  • 因子 A 有 2 個水準 (A1, A2)。
  • 因子 B 有 2 個水準 (B1, B2)。
  • 總共有 2×2=42 \times 2 = 4 個細胞 (cell)。
  • 每個細胞的平均數我們記為 μij\mu_{ij},其中 ii 是 A 的水準,jj 是 B 的水準。

交互作用圖的繪製方式:
通常,將其中一個因子 (例如 B) 的水準作為 X 軸,將平均數作為 Y 軸。
然後,為另一個因子 (A) 的每個水準繪製一條線。

考慮兩種情況來展示交互作用:

  1. 有交互作用 (Interaction exists): 線條不是平行且不重疊。
  2. 無交互作用 (No interaction): 線條大致平行,且在 Y 軸上的間隔大致相同。

由於題目要求繪製「possible cell means」,我們需要展示一個存在交互作用的圖。
我們可以假設一些細胞平均數的值,然後繪製出來。

例如,假設細胞平均數如下:

  • μ11\mu_{11} (A1, B1) = 10
  • μ12\mu_{12} (A1, B2) = 20
  • μ21\mu_{21} (A2, B1) = 30
  • μ22\mu_{22} (A2, B2) = 15

繪製交互作用圖:

  • X 軸:因子 B 的水準 (B1, B2)。
  • Y 軸:平均數。
  • 繪製兩條線:一條代表因子 A 的水準 A1,另一條代表 A2。

圖示:
Y 軸
^
|
| A2 (30, 15)
| /----------
| /
| /
|/
+----------------------> X 軸 (B1, B2)
| A1 (10, 20)
| /----------
|/
|

在這個例子中:

  • 當 B 是 B1 時,A1 的平均數是 10,A2 的平均數是 30 (A2 > A1)。
  • 當 B 是 B2 時,A1 的平均數是 20,A2 的平均數是 15 (A1 > A2)。
    由於 A2 相對於 A1 的效應在 B1 和 B2 下改變了方向(從 A2 > A1 變為 A1 > A2),這表示存在交互作用。
🔒

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

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

免費註冊

第 15 題

Questions 15-18. There are two leagues in Major League Baseball (MLB): the National League and the American League. A total of 30 teams play in the MLB, with 15 teams in each league. After collecting data on team payroll and total season wins for year of 2019, an analyst fitted the model Y=α+β1Payroll+β2League+εY = \alpha + \beta_1 \text{Payroll} + \beta_2 \text{League} + \varepsilon, where
Y = team game wins
Payroll = team payroll (in millions of dollars);
League = 0 if the team plays in the National League, =1 if the team plays in the American League.
Parts of the computer output appear below.

CoefficientStd. error
intercept61.3219.583
Payroll0.1570.061
League-3.7465.368
  1. The 95% confidence interval for β1\beta_1 is

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

這一題的完整詳解

本題考驗如何根據迴歸分析的輸出結果,計算迴歸係數的信賴區間 (confidence interval)。

我們需要計算 β1\beta_1 的 95% 信賴區間。
迴歸模型為:Y=α+β1Payroll+β2League+εY = \alpha + \beta_1 \text{Payroll} + \beta_2 \text{League} + \varepsilon。
根據電腦輸出結果:

  • 係數 β1\beta_1 (Payroll) 的估計值 β^1=0.157\hat{\beta}_1 = 0.157。
  • 係數 β1\beta_1 的標準誤 (Std. error) SE(β^1)=0.061SE(\hat{\beta}_1) = 0.061。

計算信賴區間的公式為:
β^1±tα/2,n−k−1×SE(β^1)\hat{\beta}_1 \pm t_{\alpha/2, n-k-1} \times SE(\hat{\beta}_1)
其中:

  • β^1\hat{\beta}_1 是係數的估計值。
  • SE(β^1)SE(\hat{\beta}_1) 是該係數的標準誤。
  • tα/2,n−k−1t_{\alpha/2, n-k-1} 是對應於信賴水準 (1−α)(1-\alpha) 和殘差自由度 (n−k−1)(n-k-1) 的 t 分布臨界值。
  • nn 是樣本大小 (總觀察值數量)。
  • kk 是模型中的預測變數數量 (不含截距項)。
🔒

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

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

免費註冊

第 16 題

  1. Suppose Team A plays in the National League while Team B plays in the American League, and Team A's payroll is $10 million higher than Team B's. Which team, Team A or Team B, would we expect to win more game? What's the difference between the predicted number of wins of Team A and the predicted number of wins of Team B?

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

這一題的完整詳解

本題考驗如何利用給定的迴歸模型和參數估計值,預測不同情況下的結果,並計算預測值的差異。

迴歸模型為:Y=α+β1Payroll+β2League+εY = \alpha + \beta_1 \text{Payroll} + \beta_2 \text{League} + \varepsilon。
我們有以下估計值:

  • α^=61.321\hat{\alpha} = 61.321
  • β^1=0.157\hat{\beta}_1 = 0.157
  • β^2=−3.746\hat{\beta}_2 = -3.746

模型預測值 (expected value of Y) 為:Y^=α^+β^1Payroll+β^2League\hat{Y} = \hat{\alpha} + \hat{\beta}_1 \text{Payroll} + \hat{\beta}_2 \text{League}。

題目設定:

  • Team A: National League (League=0), Payroll = PAP_A
  • Team B: American League (League=1), Payroll = PBP_B
  • PA=PB+10P_A = P_B + 10 (百萬美元)

首先,我們預測 Team A 的勝場數:
Y^A=α^+β^1PA+β^2(0)\hat{Y}_A = \hat{\alpha} + \hat{\beta}_1 P_A + \hat{\beta}_2 (0)
Y^A=61.321+0.157PA\hat{Y}_A = 61.321 + 0.157 P_A

接著,我們預測 Team B 的勝場數:
Y^B=α^+β^1PB+β^2(1)\hat{Y}_B = \hat{\alpha} + \hat{\beta}_1 P_B + \hat{\beta}_2 (1)
Y^B=61.321+0.157PB−3.746\hat{Y}_B = 61.321 + 0.157 P_B - 3.746

現在,我們比較 Y^A\hat{Y}_A 和 Y^B\hat{Y}_B。
由於 PA=PB+10P_A = P_B + 10,我們將其代入 Y^A\hat{Y}_A 的公式:
Y^A=61.321+0.157(PB+10)\hat{Y}_A = 61.321 + 0.157 (P_B + 10)

🔒

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

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

免費註冊

第 17 題

  1. Team C plays in the American League had a payroll of 108 million and won 88 games. The residual for this observation =

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

這一題的完整詳解

本題要求計算給定觀測值的殘差 (residual)。

迴歸模型為:Y=α+β1Payroll+β2League+εY = \alpha + \beta_1 \text{Payroll} + \beta_2 \text{League} + \varepsilon。
殘差的定義是觀測值與預測值之間的差異:
e=Y−Y^e = Y - \hat{Y}

給定的觀測值:

  • Team C 屬於美國聯盟 (American League),所以 League = 1。
  • Payroll = 108 百萬美元。
  • 實際贏得的比賽數 (Y) = 88 場。

首先,我們需要計算這個觀測值的預測值 Y^\hat{Y}。
使用迴歸模型的估計係數:
α^=61.321\hat{\alpha} = 61.321
β^1=0.157\hat{\beta}_1 = 0.157

🔒

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

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

免費註冊

第 18 題

  1. Common sense suggests teams with a higher payroll should have a strong tendency to win more games, but the league affiliation should not matter. Do the regression results support the common sense? Justify your answer.

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

這一題的完整詳解

本題要求根據迴歸分析結果,判斷是否支持「高薪球隊勝場多,聯盟歸屬不重要」的常識。

迴歸模型為:Y=α+β1Payroll+β2League+εY = \alpha + \beta_1 \text{Payroll} + \beta_2 \text{League} + \varepsilon。
我們需要檢驗兩個常識的陳述:

  1. 高薪球隊勝場多 (Higher payroll leads to more wins)。
  2. 聯盟歸屬不重要 (League affiliation does not matter)。

檢驗第一點:高薪球隊勝場多。
這對應於迴歸係數 β1\beta_1 (Payroll) 的符號和顯著性。
從輸出結果看,β^1=0.157\hat{\beta}_1 = 0.157,且其標準誤為 0.061。
由於 β^1\hat{\beta}_1 是正值,這表示 Payroll 與 Y (Wins) 之間存在正向關係,即薪資越高,預測勝場數越多,這支持了常識的第一部分。
為了判斷這個關係是否顯著,我們可以進行假設檢定。
虛無假設 H0:β1=0H_0: \beta_1 = 0。
對立假設 HA:β1>0H_A: \beta_1 > 0 (因為常識是「強烈傾向」)。
計算 t 統計量:t=β^1−0SE(β^1)=0.1570.061≈2.574t = \frac{\hat{\beta}_1 - 0}{SE(\hat{\beta}_1)} = \frac{0.157}{0.061} \approx 2.574。
對於自由度 df=n−k−1=30−2−1=27df = n - k - 1 = 30 - 2 - 1 = 27,雙尾檢定的顯著水準 α=0.05\alpha = 0.05 時,臨界 t 值約為 2.052。
由於 ∣t∣=2.574>2.052|t| = 2.574 > 2.052,所以我們拒絕 H0H_0,認為 β1\beta_1 顯著大於 0。
因此,薪資對勝場數有顯著的正向影響,支持了「高薪球隊勝場多」的常識。

🔒

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

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

免費註冊

第 19 題

Questions 19-20. A survey of randomly chosen new students at a certain university revealed the data below concerning the main reason for choosing this university instead of another. You want to test the hypothesis that the main reason for choosing the university is independent of student type.

Student typeReputationLocationTuitionClass Size
Freshmen502578
MBAs2515137
  1. The value of the test statistic is

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

這一題的完整詳解

本題考驗如何計算卡方獨立性檢定 (Chi-square test of independence) 的檢定統計量。

我們要檢驗的虛無假設是:學生類型 (Student type) 與選擇大學的主要原因 (Main reason for choosing) 是獨立的。
對立假設是:學生類型與選擇大學的主要原因是不獨立的。

我們有兩個分類變數:

  • 學生類型:有 Freshmen 和 MBAs 兩種。
  • 主要原因:有 Reputation, Location, Tuition, Class Size 四種。

這是一個 2×42 \times 4 的列聯表 (contingency table)。

首先,計算每個類別的總計和總計:

Student typeReputationLocationTuitionClass SizeRow Total
Freshmen50257890
MBAs251513760
Column Total75402015150

總樣本數 N=150N = 150。

卡方檢定統計量的計算公式為:
χ2=∑i∑j(Oij−Eij)2Eij\chi^2 = \sum_{i} \sum_{j} \frac{(O_{ij} - E_{ij})^2}{E_{ij}}
其中:

  • OijO_{ij} 是在第 i 行第 j 列的觀測頻率 (Observed frequency)。
  • EijE_{ij} 是在第 i 行第 j 列的期望頻率 (Expected frequency),假設獨立性成立。

期望頻率的計算公式為:
Eij=(Row Totali)×(Column Totalj)NE_{ij} = \frac{(\text{Row Total}_i) \times (\text{Column Total}_j)}{N}

我們需要計算每個單元格的期望頻率:

  1. E11E_{11} (Freshmen, Reputation): 90×75150=6750150=45\frac{90 \times 75}{150} = \frac{6750}{150} = 45

  2. E12E_{12} (Freshmen, Location): 90×40150=3600150=24\frac{90 \times 40}{150} = \frac{3600}{150} = 24

  3. E13E_{13} (Freshmen, Tuition): 90×20150=1800150=12\frac{90 \times 20}{150} = \frac{1800}{150} = 12

  4. E14E_{14} (Freshmen, Class Size): 90×15150=1350150=9\frac{90 \times 15}{150} = \frac{1350}{150} = 9

  5. E21E_{21} (MBAs, Reputation): 60×75150=4500150=30\frac{60 \times 75}{150} = \frac{4500}{150} = 30

  6. E22E_{22} (MBAs, Location): 60×40150=2400150=16\frac{60 \times 40}{150} = \frac{2400}{150} = 16

  7. E23E_{23} (MBAs, Tuition): 60×20150=1200150=8\frac{60 \times 20}{150} = \frac{1200}{150} = 8

  8. E24E_{24} (MBAs, Class Size): 60×15150=900150=6\frac{60 \times 15}{150} = \frac{900}{150} = 6

現在,計算卡方統計量 χ2\chi^2:

🔒

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

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

免費註冊

第 20 題

  1. Using the provided Chi-Square Critical Value Table, calculate the minimum significance level at which you would reject the hypothesis that student type and the main reason for choosing the university are independent.

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

這一題的完整詳解

核心觀念

本題考查「卡方獨立性檢定」(Chi-Square Test of Independence),用來判斷:

  • 虛無假設 H0H_0:學生類型與選擇該大學的主要原因彼此獨立。
  • 對立假設 H1H_1:學生類型與選擇該大學的主要原因不獨立。

顯著水準 α\alpha 是拒絕 H0H_0 的門檻。對固定的檢定統計量而言,能夠拒絕 H0H_0 的最小顯著水準,就是該檢定的 pp 值。


解題方法

設列變數為學生類型,欄變數為選擇大學的主要原因。對每一格計算期望次數:

Eij=(第 i 列合計)(第 j 欄合計)總樣本數E_{ij}=\frac{(\text{第 }i\text{ 列合計})(\text{第 }j\text{ 欄合計})}{\text{總樣本數}}

卡方檢定統計量為:

χ2=∑i∑j(Oij−Eij)2Eij\chi^2=\sum_i\sum_j\frac{(O_{ij}-E_{ij})^2}{E_{ij}}

其中 OijO_{ij} 為觀察次數,EijE_{ij} 為期望次數。

若列數為 rr、欄數為 cc,自由度為:

df=(r−1)(c−1)df=(r-1)(c-1)

接著利用卡方臨界值表,找出使下式成立的最小顯著水準:

χobs2>χα,df2\chi^2_{\text{obs}}>\chi^2_{\alpha,df}

精確表示為:

αmin⁡=P(χdf2≥χobs2)\alpha_{\min} =P\left(\chi^2_{df}\geq \chi^2_{\text{obs}}\right)

因此,本題要求的「minimum significance level」不是任意選定的 0.050.05 或 0.010.01,而是由計算出的卡方統計量所對應的右尾機率,也就是 pp 值。


使用臨界值表判讀

若卡方表中查得:

🔒

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

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

免費註冊

其他考古題

109 年臺灣大學的其他科目

臺灣大學《統計學》其他年度