112 年 國立清華大學科技管理研究所甲組《統計學》

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

第 1 題

Market data indicates that smartphone users are very concerned about the battery
life of their smartphones. An experiment is conducted in which the battery life of
two newly designed smartphone batteries are compared to the battery life of an
existing smartphone battery. The following table summarizes the results of the
experiment.

SmartphoneSample sizeMeanStandard deviation
Existing3019.570.24
New13020.130.18
New23021.340.22

a. At the 0.05 level of significance, is there evidence of a difference in the battery
life of the smartphones for the three different products? (15%)
b. Which test procedure can be used to determine whether there is a difference in the
variation in the battery life?(5%)

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

這一題的完整詳解

本題主要在檢定三個獨立樣本的平均數是否相等,以及變異數是否相等。

核心觀念:

  • 變異數分析 (ANOVA):用於檢定三個或三個以上獨立樣本的平均數是否相等。
  • F 檢定 (F-test for equality of variances):用於檢定兩個或多個獨立樣本的變異數是否相等。

解題過程:

Part a: 檢定電池平均壽命是否存在差異

由於我們有三個獨立的樣本,且欲檢定它們的平均數是否相等,因此適合使用單因子變異數分析 (One-way ANOVA)。

  1. 設定虛無假說與對立假說:

    • H0H_0: μExisting=μNew1=μNew2\mu_{Existing} = \mu_{New1} = \mu_{New2} (所有產品的平均電池壽命相同)
    • H1H_1: 至少有一個產品的平均電池壽命不同於其他產品。
  2. 計算統計量:

    • 樣本數 n1=n2=n3=30n_1 = n_2 = n_3 = 30
    • 樣本平均數 xˉ1=19.57\bar{x}_1 = 19.57, xˉ2=20.13\bar{x}_2 = 20.13, xˉ3=21.34\bar{x}_3 = 21.34
    • 樣本標準差 s1=0.24s_1 = 0.24, s2=0.18s_2 = 0.18, s3=0.22s_3 = 0.22
    • 樣本變異數 s12=0.242=0.0576s_1^2 = 0.24^2 = 0.0576, s22=0.182=0.0324s_2^2 = 0.18^2 = 0.0324, s32=0.222=0.0484s_3^2 = 0.22^2 = 0.0484
    • 總樣本數 N=n1+n2+n3=30+30+30=90N = n_1 + n_2 + n_3 = 30 + 30 + 30 = 90
    • 組間變異數 (Between-group variance, MSB):
      • 總平均數 xˉtotal=n1xˉ1+n2xˉ2+n3xˉ3N=30(19.57)+30(20.13)+30(21.34)90=587.1+603.9+640.290=1831.290≈20.3467\bar{x}_{total} = \frac{n_1\bar{x}_1 + n_2\bar{x}_2 + n_3\bar{x}_3}{N} = \frac{30(19.57) + 30(20.13) + 30(21.34)}{90} = \frac{587.1 + 603.9 + 640.2}{90} = \frac{1831.2}{90} \approx 20.3467
      • SSB = ∑i=13ni(xˉi−xˉtotal)2=30(19.57−20.3467)2+30(20.13−20.3467)2+30(21.34−20.3467)2\sum_{i=1}^3 n_i (\bar{x}_i - \bar{x}_{total})^2 = 30(19.57 - 20.3467)^2 + 30(20.13 - 20.3467)^2 + 30(21.34 - 20.3467)^2
        SSB = 30(−0.7767)2+30(−0.2167)2+30(0.9933)230(-0.7767)^2 + 30(-0.2167)^2 + 30(0.9933)^2
        SSB = 30(0.6033)+30(0.0469)+30(0.9866)30(0.6033) + 30(0.0469) + 30(0.9866)
        SSB = 18.10+1.41+29.60=49.1118.10 + 1.41 + 29.60 = 49.11
      • MSB = SSBk−1=49.113−1=49.112=24.555\frac{SSB}{k-1} = \frac{49.11}{3-1} = \frac{49.11}{2} = 24.555 (其中 k=3k=3 是組數)
    • 組內變異數 (Within-group variance, MSW):
      • SSW = ∑i=13(ni−1)si2=(30−1)(0.242)+(30−1)(0.182)+(30−1)(0.222)\sum_{i=1}^3 (n_i - 1)s_i^2 = (30-1)(0.24^2) + (30-1)(0.18^2) + (30-1)(0.22^2)
        SSW = 29(0.0576)+29(0.0324)+29(0.0484)29(0.0576) + 29(0.0324) + 29(0.0484)
        SSW = 1.66944+0.9396+1.4036=4.012641.66944 + 0.9396 + 1.4036 = 4.01264
      • MSW = SSWN−k=4.0126490−3=4.0126487≈0.04612\frac{SSW}{N-k} = \frac{4.01264}{90-3} = \frac{4.01264}{87} \approx 0.04612
    • F 統計量 = MSBMSW=24.5550.04612≈532.4\frac{MSB}{MSW} = \frac{24.555}{0.04612} \approx 532.4
  3. 決定臨界值與做出決策:

    • 顯著水準 α=0.05\alpha = 0.05
    • 自由度:分子自由度 df1=k−1=3−1=2df_1 = k-1 = 3-1 = 2;分母自由度 df2=N−k=90−3=87df_2 = N-k = 90-3 = 87
    • 查 F 分配表,在 α=0.05\alpha = 0.05, df1=2df_1 = 2, df2=87df_2 = 87 的情況下,臨界值 FcritF_{crit} 約為 3.09 (使用 df2=80df_2 = 80 或 100100 的近似值)。
🔒

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

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

免費註冊

第 2 題

You are trying to develop a strategy for investing in two different stocks. The
anticipated annual return for a $2,000 investment in each stock under four
different economic conditions has the following probability distribution:

ProbabilityStock XStock Y
0.4-200100
0.40-20
0.2400-150

Compute the correlation coefficient of stock X and stock Y. (20%)

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

這一題的完整詳解

本題要求計算兩種股票年報酬率的相關係數。

核心觀念:

  • 期望值 (Expected Value):衡量隨機變數的平均值。
  • 變異數 (Variance) 與標準差 (Standard Deviation):衡量隨機變數的離散程度。
  • 共變異數 (Covariance):衡量兩個隨機變數聯合變動的程度。
  • 相關係數 (Correlation Coefficient):標準化後的共變異數,衡量兩個隨機變數之間線性相關的強度與方向。

解題過程:

首先,我們需要計算 Stock X 和 Stock Y 的期望值、變異數和標準差,以及它們的共變異數。

1. 計算 Stock X 的期望值 E(X)E(X):
E(X)=∑xiP(xi)=(−200)(0.4)+(0)(0.4)+(400)(0.2)E(X) = \sum x_i P(x_i) = (-200)(0.4) + (0)(0.4) + (400)(0.2)
E(X)=−80+0+80=0E(X) = -80 + 0 + 80 = 0

2. 計算 Stock Y 的期望值 E(Y)E(Y):
E(Y)=∑yiP(yi)=(100)(0.4)+(−20)(0.4)+(−150)(0.2)E(Y) = \sum y_i P(y_i) = (100)(0.4) + (-20)(0.4) + (-150)(0.2)
E(Y)=40−8+(−30)=2E(Y) = 40 - 8 + (-30) = 2

3. 計算 Stock X 的變異數 Var(X)Var(X):
Var(X)=E(X2)−[E(X)]2Var(X) = E(X^2) - [E(X)]^2
首先計算 E(X2)E(X^2):
E(X2)=(−200)2(0.4)+(0)2(0.4)+(400)2(0.2)E(X^2) = (-200)^2(0.4) + (0)^2(0.4) + (400)^2(0.2)
E(X2)=(40000)(0.4)+0+(160000)(0.2)E(X^2) = (40000)(0.4) + 0 + (160000)(0.2)
E(X2)=16000+32000=48000E(X^2) = 16000 + 32000 = 48000
Var(X)=48000−(0)2=48000Var(X) = 48000 - (0)^2 = 48000

4. 計算 Stock Y 的變異數 Var(Y)Var(Y):
Var(Y)=E(Y2)−[E(Y)]2Var(Y) = E(Y^2) - [E(Y)]^2
首先計算 E(Y2)E(Y^2):

🔒

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

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

免費註冊

第 3 題

Past records indicate that the probability of online retail orders that turn out to be
fraudulent is 0.12. Suppose that, on a given day, 50 online retail orders are placed.
Assume that the number of online retail orders that turn out to be fraudulent is
distributed as a binomial random variable. What is the probability that five or
more online retail orders will turn out to be fraudulent? (20%)

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

這一題的完整詳解

本題要求計算二項分配中,至少發生特定次數的機率。

核心觀念:

  • 二項分配 (Binomial Distribution):描述在固定試驗次數下,每次試驗成功機率固定的獨立伯努努利試驗中,成功次數的機率分布。
  • 累積分堆機率 (Cumulative Probability):計算隨機變數小於或等於某個值的機率。

解題過程:

  1. 定義隨機變數與參數:

    • 令 XX 為一天內,50 個線上零售訂單中,被判定為詐欺的訂單數量。
    • 由於每個訂單是否為詐欺是獨立事件,且詐欺的機率固定,因此 XX 服從二項分配。
    • 試驗次數 n=50n = 50。
    • 單次試驗成功的機率(訂單為詐欺的機率)p=0.12p = 0.12。
    • 因此,X∼Binomial(n=50,p=0.12)X \sim Binomial(n=50, p=0.12)。
  2. 設定欲計算的機率:
    我們要求的是「五個或更多」訂單為詐欺的機率,即 P(X≥5)P(X \ge 5)。

  3. 計算方法:
    直接計算 P(X≥5)P(X \ge 5) 需要計算 P(X=5)+P(X=6)+⋯+P(X=50)P(X=5) + P(X=6) + \dots + P(X=50),這會非常繁瑣。
    因此,我們通常使用其補集來計算:
    P(X≥5)=1−P(X<5)=1−[P(X=0)+P(X=1)+P(X=2)+P(X=3)+P(X=4)]P(X \ge 5) = 1 - P(X < 5) = 1 - [P(X=0) + P(X=1) + P(X=2) + P(X=3) + P(X=4)]

    二項分配的機率質量函數 (PMF) 為:
    P(X=k)=(nk)pk(1−p)n−kP(X=k) = \binom{n}{k} p^k (1-p)^{n-k}

    代入參數 n=50,p=0.12,1−p=0.88n=50, p=0.12, 1-p=0.88:

    • P(X=0)=(500)(0.12)0(0.88)50≈1×1×0.001343≈0.001343P(X=0) = \binom{50}{0} (0.12)^0 (0.88)^{50} \approx 1 \times 1 \times 0.001343 \approx 0.001343
    • P(X=1)=(501)(0.12)1(0.88)49≈50×0.12×0.001526≈0.009156P(X=1) = \binom{50}{1} (0.12)^1 (0.88)^{49} \approx 50 \times 0.12 \times 0.001526 \approx 0.009156
    • P(X=2)=(502)(0.12)2(0.88)48≈1225×0.0144×0.001734≈0.030572P(X=2) = \binom{50}{2} (0.12)^2 (0.88)^{48} \approx 1225 \times 0.0144 \times 0.001734 \approx 0.030572
🔒

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

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

免費註冊

第 4 題

You plan to conduct a marketing experiment in which students are to taste one of
two different brands of soft drink. Their task is to correctly identify the brand
tasted. You select a random sample of 100 students and assume that the students
have no ability to distinguish between the two brands. (Hint: If an individual has
no ability to distinguish between the two soft drinks, then the two brands are
equally likely to be selected.) Which is more likely to occur-more than 65%
correct identifications in the sample of 100 or more than 55% correct
identifications in a sample of 500? Explain. (20%)

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

這一題的完整詳解

核心觀念

本題考查二項分配、標準化,以及以常態分配近似二項分配。

由於每位學生無法分辨兩種飲料,猜中品牌的機率為

p=12.p=\frac12.

若共有 nn 位學生,令 XX 表示答對人數,則

X∼Binomial⁡(n,12),X\sim \operatorname{Binomial}\left(n,\frac12\right),

其平均數與標準差分別為

E(X)=np=n2,E(X)=np=\frac n2, σX=np(1−p)=n4=n2.\sigma_X=\sqrt{np(1-p)}=\sqrt{\frac n4}=\frac{\sqrt n}{2}.

題目比較的是:

  1. 100 位學生中答對超過 65 人;
  2. 500 位學生中答對超過 55%。

解題方法

一、100 位學生中超過 65 人答對

令

X∼Binomial⁡(100,12).X\sim \operatorname{Binomial}\left(100,\frac12\right).

題意為

P(X>65)=P(X≥66).P(X>65)=P(X\geq 66).

其平均數與標準差為

μX=100(12)=50,\mu_X=100\left(\frac12\right)=50, σX=100(12)(12)=5.\sigma_X=\sqrt{100\left(\frac12\right)\left(\frac12\right)}=5.

使用常態近似並採用連續性修正:

P(X≥66)≈P(Z>65.5−505).P(X\geq 66)\approx P\left(Z>\frac{65.5-50}{5}\right).

因此

P(X≥66)≈P(Z>3.10)≈0.001.P(X\geq 66) \approx P(Z>3.10) \approx 0.001.

精確二項分配機率為

P(X≥66)=∑x=66100(100x)(12)100≈0.0009.P(X\geq 66) = \sum_{x=66}^{100} \binom{100}{x} \left(\frac12\right)^{100} \approx 0.0009.

二、500 位學生中超過 55% 答對

令

Y∼Binomial⁡(500,12).Y\sim \operatorname{Binomial}\left(500,\frac12\right).

超過 55%55\% 表示答對人數超過

500(0.55)=275,500(0.55)=275,

所以事件為

P(Y>275)=P(Y≥276).P(Y>275)=P(Y\geq 276).

其平均數與標準差為

μY=500(12)=250,\mu_Y=500\left(\frac12\right)=250,
🔒

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

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

免費註冊

第 5 題

How common are financial cost or contractual constraints associated with
smartphone ownership? A survey of smartphone owners found that 48% of the
18- to 29-year-olds, 38% of the 30- to 49-year-olds, 25% of the 50- to 64-year-
olds, and 19% of those age 65 or older have reached the maximum amount of data
they are allowed to use as part of their plan, at least on occasion. Suppose the
survey was based on 200 smartphone owners in each of the four age
groups: 18 to 29, 30 to 49, 50 to 64, and 65+.

a. At the 0.05 level of significance, is there evidence of a difference among the
age groups in the proportion of smartphone owners who have reached the
maximum amount of data they are allowed to use as part of their plan, at least on
occasion? (Usinga = 0.05, the x² critical value with 2 degrees of freedom is 5.991.)
(15%)
b. Which test procedure can be used to determine which age groups differ? (5%)

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

這一題的完整詳解

本題主要在檢定四個不同年齡層群體中,達到數據流量上限的比例是否存在顯著差異,並詢問事後比較的方法。

核心觀念:

  • 卡方檢定 (Chi-Squared Test for Independence/Homogeneity):用於檢定兩個類別變數之間是否獨立,或比較不同群體在某類別變數上的比例分佈是否相同。
  • 多重比較 (Multiple Comparisons) / 事後檢定 (Post-hoc tests):在整體檢定結果顯著後,用於找出具體是哪些群體之間存在差異。

解題過程:

Part a: 檢定不同年齡層群體比例是否存在差異

這是一個典型的比例檢定問題,我們有四個獨立的群體(年齡層),每個群體都有一個比例(達到數據流量上限的比例)。我們需要檢定這四個比例是否相等。適合使用卡方檢定 (Chi-squared test for homogeneity)。

  1. 設定虛無假說與對立假說:

    • H0H_0: 四個年齡層群體中,達到數據流量上限的比例均相等。(p1=p2=p3=p4p_1 = p_2 = p_3 = p_4)
    • H1H_1: 至少有一個年齡層群體的比例不同於其他群體。
  2. 整理數據:

    • 樣本大小:每個群體 ni=200n_i = 200 (i=1: 18-29, i=2: 30-49, i=3: 50-64, i=4: 65+)
    • 觀察比例:p^1=0.48\hat{p}_1 = 0.48, p^2=0.38\hat{p}_2 = 0.38, p^3=0.25\hat{p}_3 = 0.25, p^4=0.19\hat{p}_4 = 0.19
    • 計算各組達到上限的人數 (觀察次數 Oi1O_{i1}):
      • 18-29歲:O11=n1×p^1=200×0.48=96O_{11} = n_1 \times \hat{p}_1 = 200 \times 0.48 = 96
      • 30-49歲:O21=n2×p^2=200×0.38=76O_{21} = n_2 \times \hat{p}_2 = 200 \times 0.38 = 76
      • 50-64歲:O31=n3×p^3=200×0.25=50O_{31} = n_3 \times \hat{p}_3 = 200 \times 0.25 = 50
      • 65+歲:O41=n4×p^4=200×0.19=38O_{41} = n_4 \times \hat{p}_4 = 200 \times 0.19 = 38
    • 計算各組未達到上限的人數 (觀察次數 Oi2O_{i2}):
      • 18-29歲:O12=200−96=104O_{12} = 200 - 96 = 104
      • 30-49歲:O22=200−76=124O_{22} = 200 - 76 = 124
      • 50-64歲:O32=200−50=150O_{32} = 200 - 50 = 150
      • 65+歲:O42=200−38=162O_{42} = 200 - 38 = 162
  3. 計算總體比例與預期次數:

    • 總樣本數 N=4×200=800N = 4 \times 200 = 800
    • 總體達到上限的比例 p^total=∑Oi1N=96+76+50+38800=260800=0.325\hat{p}_{total} = \frac{\sum O_{i1}}{N} = \frac{96 + 76 + 50 + 38}{800} = \frac{260}{800} = 0.325
    • 總體未達到上限的比例 q^total=1−0.325=0.675\hat{q}_{total} = 1 - 0.325 = 0.675
    • 計算各組的預期次數 Ei1E_{i1} (達到上限) 和 Ei2E_{i2} (未達到上限):
      • E11=n1×p^total=200×0.325=65E_{11} = n_1 \times \hat{p}_{total} = 200 \times 0.325 = 65
      • E12=n1×q^total=200×0.675=135E_{12} = n_1 \times \hat{q}_{total} = 200 \times 0.675 = 135
      • E21=n2×p^total=200×0.325=65E_{21} = n_2 \times \hat{p}_{total} = 200 \times 0.325 = 65
      • E22=n2×q^total=200×0.675=135E_{22} = n_2 \times \hat{q}_{total} = 200 \times 0.675 = 135
      • E31=n3×p^total=200×0.325=65E_{31} = n_3 \times \hat{p}_{total} = 200 \times 0.325 = 65
      • E32=n3×q^total=200×0.675=135E_{32} = n_3 \times \hat{q}_{total} = 200 \times 0.675 = 135
      • E41=n4×p^total=200×0.325=65E_{41} = n_4 \times \hat{p}_{total} = 200 \times 0.325 = 65
      • E42=n4×q^total=200×0.675=135E_{42} = n_4 \times \hat{q}_{total} = 200 \times 0.675 = 135
  4. 計算卡方統計量 (χ2\chi^2):
    χ2=∑i=14∑j=12(Oij−Eij)2Eij\chi^2 = \sum_{i=1}^4 \sum_{j=1}^2 \frac{(O_{ij} - E_{ij})^2}{E_{ij}}

    • (96−65)265=31265=96165≈14.78\frac{(96-65)^2}{65} = \frac{31^2}{65} = \frac{961}{65} \approx 14.78
    • (104−135)2135=(−31)2135=961135≈7.12\frac{(104-135)^2}{135} = \frac{(-31)^2}{135} = \frac{961}{135} \approx 7.12
🔒

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

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

免費註冊

第 1a 題

At the 0.05 level of significance, is there evidence of a difference in the battery
life of the smartphones for the three different products? (15%)

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

這一題的完整詳解

本題要求在 0.05 的顯著水準下,檢定三種不同手機產品的平均電池壽命是否存在差異。這是一個典型的單因子變異數分析 (One-way ANOVA) 問題。

核心觀念:

  • 單因子變異數分析 (One-way ANOVA):用於檢定三個或三個以上獨立樣本的平均數是否相等。

解題過程:

  1. 設定虛無假說與對立假說:

    • H0H_0: μExisting=μNew1=μNew2\mu_{Existing} = \mu_{New1} = \mu_{New2} (所有產品的平均電池壽命相同)
    • H1H_1: 至少有一個產品的平均電池壽命不同於其他產品。
  2. 資料整理:

    • 樣本數:nExisting=30n_{Existing} = 30, nNew1=30n_{New1} = 30, nNew2=30n_{New2} = 30
    • 樣本平均數:xˉExisting=19.57\bar{x}_{Existing} = 19.57, xˉNew1=20.13\bar{x}_{New1} = 20.13, xˉNew2=21.34\bar{x}_{New2} = 21.34
    • 樣本標準差:sExisting=0.24s_{Existing} = 0.24, sNew1=0.18s_{New1} = 0.18, sNew2=0.22s_{New2} = 0.22
    • 樣本變異數:sExisting2=0.242=0.0576s_{Existing}^2 = 0.24^2 = 0.0576, sNew12=0.182=0.0324s_{New1}^2 = 0.18^2 = 0.0324, sNew22=0.222=0.0484s_{New2}^2 = 0.22^2 = 0.0484
    • 總樣本數 N=30+30+30=90N = 30 + 30 + 30 = 90
    • 組數 k=3k = 3
  3. 計算變異數分析所需統計量:

    • 總平均數 xˉtotal\bar{x}_{total}:
      xˉtotal=∑nixˉiN=30(19.57)+30(20.13)+30(21.34)90=587.1+603.9+640.290=1831.290≈20.3467\bar{x}_{total} = \frac{\sum n_i \bar{x}_i}{N} = \frac{30(19.57) + 30(20.13) + 30(21.34)}{90} = \frac{587.1 + 603.9 + 640.2}{90} = \frac{1831.2}{90} \approx 20.3467
    • 組間平方和 (Sum of Squares Between, SSB):
      SSB =∑i=1kni(xˉi−xˉtotal)2= \sum_{i=1}^k n_i (\bar{x}_i - \bar{x}_{total})^2
🔒

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

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

免費註冊

第 1b 題

Which test procedure can be used to determine whether there is a difference in the
variation in the battery life?(5%)

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

這一題的完整詳解

本題要求找出可以用來檢定電池壽命變異是否存在差異的統計測試程序。

核心觀念:

  • 變異數同質性檢定 (Tests for Homogeneity of Variances):用於檢定兩個或多個樣本的變異數是否相等。

解題過程:

我們有三個獨立的樣本(Existing, New1, New2),每個樣本都有其變異數的估計值(s12=0.0576,s22=0.0324,s32=0.0484s_1^2=0.0576, s_2^2=0.0324, s_3^2=0.0484)。我們要判斷這三個變異數之間是否存在顯著差異。

以下是幾種常用的統計測試程序:

  1. Bartlett's Test for Homogeneity of Variances:

    • 這是最常見的用於檢定多個樣本變異數同質性的方法。
    • 它假設樣本是從服從常態分配的母體中抽取的。
    • 虛無假說 H0H_0: σ12=σ22=⋯=σk2\sigma_1^2 = \sigma_2^2 = \dots = \sigma_k^2 (所有群體的變異數相等)。
    • 對立假說 H1H_1: 至少有一個群體的變異數不同。
    • 此檢定會計算一個 χ2\chi^2 統計量,並與 χ2\chi^2 分配比較。
  2. Levene's Test for Homogeneity of Variances:

    • Levene's Test 是一種對樣本是否服從常態分配的假設較為穩健的變異數同質性檢定。
    • 它透過計算每個樣本點到其組內平均數的絕對偏差,然後對這些偏差進行單因子變異數分析 (ANOVA)。
🔒

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

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

免費註冊

第 5a 題

At the 0.05 level of significance, is there evidence of a difference among the
age groups in the proportion of smartphone owners who have reached the
maximum amount of data they are allowed to use as part of their plan, at least on
occasion? (Usinga = 0.05, the x² critical value with 2 degrees of freedom is 5.991.)
(15%)

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

這一題的完整詳解

本題要求在 0.05 的顯著水準下,檢定四個不同年齡層群體中,達到數據流量上限的比例是否存在顯著差異。這是一個用於檢定兩個類別變數之間關係的卡方檢定問題,具體而言是檢定比例的同質性 (homogeneity of proportions)。

核心觀念:

  • 卡方檢定 (Chi-Squared Test):用於檢定觀察頻率與期望頻率之間的差異是否顯著。在此處,用於檢定不同群體(年齡層)在某個類別變數(達到數據流量上限)上的比例分佈是否相同。

解題過程:

  1. 設定虛無假說與對立假說:

    • H0H_0: 四個年齡層群體中,達到數據流量上限的比例均相等。(p18−29=p30−49=p50−64=p65+p_{18-29} = p_{30-49} = p_{50-64} = p_{65+})
    • H1H_1: 至少有一個年齡層群體的比例不同於其他群體。
  2. 整理數據:

    • 樣本大小:每個群體 n=200n = 200。
    • 觀察到的比例(達到上限):
      • 18-29歲:p^1=0.48\hat{p}_1 = 0.48
      • 30-49歲:p^2=0.38\hat{p}_2 = 0.38
      • 50-64歲:p^3=0.25\hat{p}_3 = 0.25
      • 65+歲:p^4=0.19\hat{p}_4 = 0.19
    • 計算各組達到上限的人數 (觀察次數 Oi1O_{i1}):
      • O11=200×0.48=96O_{11} = 200 \times 0.48 = 96
      • O21=200×0.38=76O_{21} = 200 \times 0.38 = 76
      • O31=200×0.25=50O_{31} = 200 \times 0.25 = 50
      • O41=200×0.19=38O_{41} = 200 \times 0.19 = 38
    • 計算各組未達到上限的人數 (觀察次數 Oi2O_{i2}):
      • O12=200−96=104O_{12} = 200 - 96 = 104
      • O22=200−76=124O_{22} = 200 - 76 = 124
      • O32=200−50=150O_{32} = 200 - 50 = 150
      • O42=200−38=162O_{42} = 200 - 38 = 162
  3. 計算總體比例與期望次數:

    • 總樣本數 N=4×200=800N = 4 \times 200 = 800
    • 總體達到上限的比例 p^total=總觀察次數(達到上限)N=96+76+50+38800=260800=0.325\hat{p}_{total} = \frac{\text{總觀察次數(達到上限)}}{N} = \frac{96 + 76 + 50 + 38}{800} = \frac{260}{800} = 0.325
    • 總體未達到上限的比例 q^total=1−0.325=0.675\hat{q}_{total} = 1 - 0.325 = 0.675
    • 計算各組的期望次數 EijE_{ij}:
      • E11=200×0.325=65E_{11} = 200 \times 0.325 = 65 (18-29歲,達到上限)
      • E12=200×0.675=135E_{12} = 200 \times 0.675 = 135 (18-29歲,未達上限)
🔒

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

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

免費註冊

第 5b 題

Which test procedure can be used to determine which age groups differ? (5%)

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

這一題的完整詳解

本題在 Part a 的卡方檢定結果顯著之後,要求找出能夠進一步確定具體是哪些年齡組之間比例存在差異的統計測試程序。這涉及到事後檢定(Post-hoc tests)或多重比較(Multiple Comparisons)。

核心觀念:

  • 事後檢定 (Post-hoc Tests):當整體檢定(如卡方檢定或 ANOVA)顯示群體間存在顯著差異時,用於確定哪些具體群體對此差異有貢獻。
  • 多重比較校正 (Multiple Comparison Correction):由於進行多次檢定會增加第一類錯誤(誤判為顯著)的機率,需要對顯著水準進行調整。

解題過程:

在 Part a 中,我們使用了卡方檢定來檢定四個年齡組的比例是否相同。檢定結果顯示比例存在顯著差異。現在需要找出是哪些年齡組之間的比例不同。

以下是常用的方法:

  1. 成對卡方檢定 (Pairwise Chi-Squared Tests) 配合 Bonferroni 校正:
    • 方法: 對所有可能的年齡組配對進行獨立的 2x2 卡方檢定。共有 (42)=6\binom{4}{2} = 6 對配對:
      • 18-29 vs 30-49
      • 18-29 vs 50-64
      • 18-29 vs 65+
      • 30-49 vs 50-64
      • 30-49 vs 65+
      • 50-64 vs 65+
    • Bonferroni 校正: 由於進行了 6 次檢定,為了控制整體第一類錯誤率(Family-wise error rate, FWER)在 α=0.05\alpha=0.05,我們需要將每次檢定的顯著水準降低。
🔒

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

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

免費註冊

其他考古題