113 年 國立臺灣大學統計碩士學位學程《統計學(G)》

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

第 1 題15 分

  1. (15%) The Bureau of Weather has documented the maximum temperatures for July in a specific city between 1920 and 2020, with a mean of 33.2 degrees and a standard deviation of 5.1. Meteorologists randomly select 36 years from these records, averaging the maximum temperatures for July in these samples and recording the sample mean. They repeat this process 1,000 times to create a distribution of sample means.

(1) What would you anticipate the shape of this distribution to be—symmetric, right-skewed, or left-skewed? Explain your reasoning. (5%)
(2) Determine the variability of this distribution and specify the appropriate term used to describe this value. (5%)
(3) If these meteorologists decide to select random samples of 9 years, recording the sample mean of the maximum temperature, and repeat this process 1,000 times to form a new distribution of sample means, how would the variability of this new distribution compare to the variability of the original distribution? (5%)

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

這一題的完整詳解

核心觀念

本題考「樣本平均數的抽樣分配」。若母體平均數為 μ\mu、母體標準差為 σ\sigma,每次抽取 nn 個觀測值並計算樣本平均數 Xˉ\bar X,則:

  • 抽樣分配的中心為 μXˉ=μ\mu_{\bar X}=\mu。
  • 樣本平均數的標準差稱為標準誤(standard error),為
    σXˉ=σn\sigma_{\bar X}=\frac{\sigma}{\sqrt n}
  • 根據中央極限定理,當樣本數夠大時,樣本平均數的抽樣分配近似對稱;即使母體分配不對稱,樣本平均數的分配也會隨樣本數增加而趨近常態。

以下依一般抽樣分配公式計算,將不同次抽樣視為相互獨立。

解題方法

(1) 抽樣分配的形狀

每次樣本包含 3636 年的最高氣溫,並記錄其平均數。樣本數 n=36n=36 足以使用中央極限定理判斷:樣本平均數的抽樣分配近似對稱,形狀近似常態。

題目未提供原始氣溫分配的形狀,因此不宜判斷原始資料本身是右偏或左偏;但樣本平均數的分配在此樣本數下可預期近似對稱。

(2) 抽樣分配的變異程度

抽樣分配的變異程度以標準誤表示。已知母體標準差 σ=5.1\sigma=5.1,樣本數 n=36n=36,因此:

σXˉ=σn=5.136=5.16=0.85\sigma_{\bar X} =\frac{\sigma}{\sqrt n} =\frac{5.1}{\sqrt{36}} =\frac{5.1}{6} =0.85

所以,樣本平均數抽樣分配的標準誤為 0.850.85 度。這表示重複抽樣所得樣本平均數,通常會以母體平均數為中心,呈現約 0.850.85 度的標準差。

(3) 樣本數改為 9 年

新樣本數為 n=9n=9,其標準誤為:

σXˉ,  n=9=5.19=5.13=1.7\sigma_{\bar X,\;n=9} =\frac{5.1}{\sqrt 9} =\frac{5.1}{3} =1.7
🔒

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

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

免費註冊

第 2 題15 分

  1. (15%) Social scientists surveyed 196 randomly selected undergraduates at a college regarding the number of welcome parties they attended during their freshman year. The histogram (Figure 1) displays the distribution of this sampled data, with an average count of 3.2 and a standard deviation of 2.0.

🖼️【此處有附圖,請對照原卷】
Figure 1

Estimate the average number of welcome parties attended by the college student using a 90% confidence interval and provide an interpretation of this interval within the context. (10%)
Additionally, describe the possible biases and assumptions required for statistical inference in this case before performing calculations and drawing conclusions. (5%)

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

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

這一題的完整詳解

核心觀念

  1. 母體平均數的區間估計(Confidence Interval for Population Mean):
    當母體標準差 σ\sigma 未知時,通常使用樣本標準差 ss 估計標準誤。在樣本數夠大時,根據中央極限定理(Central Limit Theorem, CLT)與 Slutsky 定理,樣本平均數之標準化統計量近似服從標準常態分配;亦可採用自由度 df=n−1df = n - 1 的學生氏 tt 分配(Student's tt-distribution):
    Z=Xˉ−μs/n∼⋅N(0,1)或T=Xˉ−μs/n∼t(n−1)Z = \frac{\bar{X} - \mu}{s / \sqrt{n}} \stackrel{\cdot}{\sim} N(0, 1) \quad \text{或} \quad T = \frac{\bar{X} - \mu}{s / \sqrt{n}} \sim t(n - 1)
    100(1−α)%100(1 - \alpha)\% 信賴區間公式為:
    xˉ±zα/2sn(或 xˉ±tα/2,n−1sn)\bar{x} \pm z_{\alpha/2} \frac{s}{\sqrt{n}} \quad \left(\text{或 } \bar{x} \pm t_{\alpha/2, n-1} \frac{s}{\sqrt{n}}\right)

  2. 統計推論之必要假設(Assumptions for Inference):

    • 獨立性與隨機抽樣(Random Sampling & Independence):樣本需以簡單隨機抽樣(SRS)自母體抽取,且樣本數不得超過母體總數的 10%10\%(n<0.10Nn < 0.10 N),以確保有限母體下各觀測值彼此獨立。
    • 大樣本與中央極限定理(Normality / Sample Size Condition):若母體分配呈現偏態(非對稱),需仰賴足夠大的樣本數(通常 n≥30n \ge 30),使樣本平均數 Xˉ\bar{X} 的抽樣分配充分接近常態分配。
  3. 調查研究之潛在偏誤(Potential Survey Biases):

    • 回憶偏誤(Recall Bias):受訪者需回想大一迎新活動次數,可能因記憶模糊產生遺忘或誤差。
    • 社會讚許偏誤(Social Desirability Bias / Self-reporting Bias):受訪者自陳參與社交活動次數時,可能為了顯得受歡迎而浮報,或擔心被貼上特定標籤而少報。
    • 未受訪偏誤(Non-response Bias):未能接觸或拒絕回答的學生群體,其社交活躍度可能與受訪者有系統性差異。

解題方法

根據原卷 Figure 1 直方圖,橫軸為大一參加迎新活動次數(刻度為 00 至 1010 次),縱軸為次數/人數(Frequency,刻度為 00 到 100100)。直方圖呈現明顯的單峰且強烈右偏(Right-skewed / Positively skewed)​特徵,最高峰落在 1∼21 \sim 2 次,右側長尾延伸至 8∼108 \sim 10 次,反映非負計數資料(Count data)的典型分布。

一、統計推論之前提假設與潛在偏誤(5%)

在進行計算與結論推論前,必須檢視以下條件:

  1. 統計推論的前提假設(Required Assumptions):

    • 隨機抽樣與獨立性(Randomization & Independence):題目指明為「196 randomly selected undergraduates」,若該校大學部人數規模足夠大(N>10×196=1,960N > 10 \times 196 = 1,960 人,滿足 10%10\% 抽樣條件),則各受訪學生的回覆可視為相互獨立同分布(i.i.d.)。
    • 常態性條件(Normality via CLT):雖然 Figure 1 顯示母體資料顯著右偏、非對稱,但樣本數 n=196n = 196 遠大於一般經驗法則的門檻(n≥30n \ge 30),由中央極限定理(CLT)​可知,樣本平均數 Xˉ\bar{X} 的抽樣分配將高度近似常態分配:
      Xˉ∼⋅N(μ,σ2n)\bar{X} \stackrel{\cdot}{\sim} N\left(\mu, \frac{\sigma^2}{n}\right)
      因此使用基於常態極限定理的信賴區間進行推論是適當且穩健的。
  2. 調查可能產生的潛在偏誤(Possible Biases):

    • 回憶偏誤(Recall Bias):若抽樣對象包含大二至大四的在校生,要求其回憶「大一」參加迎新活動的次數,容易因為時間久遠而產生記憶偏差(Over-reporting 或 Under-reporting)。
    • 社會讚許偏誤(Social Desirability Bias):迎新活動與大學社交生活連結密切,受訪者可能傾向誇大參加次數以呈現良好的人際社交形象;反之,若部分活動帶有負面觀感,亦可能刻意隱瞞。
    • 無回應偏誤與抽樣架構偏誤(Non-response Bias & Selection Bias):抽樣清冊是否涵蓋所有在學生?拒答率如何?若社交活躍度較低的學生較不願意填寫問卷,調查結果的平均值將產生向上偏誤。

二、90% 信賴區間計算與情境意涵詮釋(10%)

  1. 參數與樣本統計量:

    • 樣本數 n=196n = 196,n=196=14\sqrt{n} = \sqrt{196} = 14
    • 樣本平均數 xˉ=3.2\bar{x} = 3.2
    • 樣本標準差 s=2.0s = 2.0
    • 信賴水準 1−α=0.90  ⟹  α=0.10  ⟹  α/2=0.051 - \alpha = 0.90 \implies \alpha = 0.10 \implies \alpha/2 = 0.05
  2. 標準誤與誤差邊際(Margin of Error, ME):

    • 樣本平均數估計值的標準誤為:
      SE(xˉ)=sn=2.014=17≈0.1429SE(\bar{x}) = \frac{s}{\sqrt{n}} = \frac{2.0}{14} = \frac{1}{7} \approx 0.1429
    • 臨界值選取:
      • 若採用大樣本常態近似臨界值:z0.05≈1.645z_{0.05} \approx 1.645
      • 若採用學生氏 tt 分配臨界值(df=196−1=195df = 196 - 1 = 195):t0.05,195≈1.653t_{0.05, 195} \approx 1.653
    • 以標準常態臨界值計算誤差邊際:
🔒

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

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

免費註冊

第 3 題40 分

  1. (40%) The Department of Agriculture compiled data in Table 1 from a 23-year study on crop cold damages. The table presents temperatures in Fahrenheit(°\degreeF) and the reported number of damaged farms (in hundreds) due to low temperatures.

Table 1

Year ID123456789
Temperature [°F]535758636667676768
Damaged farms536200000
Year ID101112131415161718
Temperature [°F]697070707072737575
Damaged farms010100001
Year ID1920212223
Temperature [°F]7676787981
Damaged farms00000

(1) Officials are discussing the observed relationship between temperatures and damaged farms. Please suggest potential probability distributions and the type of regression that would be appropriate for modeling this relationship and describe your reasons (10%).
(2) Researchers created a new variable "Damage" coded as "1" for damaged farms > 0 and "0" for no damaged farms. Please suggest the suitable likelihood function for regression that could effectively model the relationship between "Temperature" and "Damage" and describe your reasons. Additionally, explain the specific link function that could be used to establish a linear relationship between these two variables (15%).
(3) Table 2 displays regression results from the aforementioned question (2). Describe the relationship between "Temperature" and "Damage" based on the Table, and provide interpretations of how decreases in temperature might impact "Damage" (15%).

Table 2: Regression results
| | Estimate | Std. Error | z value | Pr(>|z|) |
|-------------|----------|------------|---------|----------|
| (Intercept) | 11.6630 | 3.2963 | 3.54 | 0.0004 |
| Temperature | -0.2162 | 0.0532 | -4.07 | 0.0000 |

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

這一題的完整詳解

核心觀念
本題依反應變數的資料型態(計數型資料 vs. 二元資料)選擇合適的機率分布與廣義線性模型(GLM),並藉由連結函數(Link Function)與最大概似估計報表解釋自變數對事件發生機率的影響。


(1)潛在機率分布與迴歸模型建議

  1. 潛在機率分布:

    • 反應變數「受損農場數(Damaged farms,單位為百戶)」為非負整數(0,1,2,3,5,60, 1, 2, 3, 5, 6),屬於典型的計數型資料(Count Data)。
    • 卜瓦松分布(Poisson Distribution):為計數資料最基本的機率分布,假設事件在單位區間內獨立發生且期望值等於變異數(E(Y)=Var(Y)=μE(Y) = \text{Var}(Y) = \mu)。
    • 負二項分布(Negative Binomial Distribution):觀察 Table 1 可見資料中有大量 00 值且高溫/低溫區間差異大,若出現變異數大於平均數之過度離散(Overdispersion)​現象,負二項分布(或零膨脹模型)會比卜瓦松分布更為合適。
  2. 迴歸模型建議與理由:

    • 建議採用廣義線性模型架構下的計數迴歸模型:卜瓦松迴歸(Poisson Regression)​或負二項迴歸(Negative Binomial Regression)。
    • 透過對數連結函數 ln⁡(E(Y∣X))=β0+β1X\ln(E(Y \mid X)) = \beta_0 + \beta_1 X,可確保預測的期望受損農場數恆為正值,且能合理處理常態線性迴歸無法處理的非負整數與右偏、異質變異數問題。

(2)二元變數 Damage 的似然函數與連結函數

  1. 適合的似然函數與理由:

    • 令 Yi=Damagei∈{0,1}Y_i = \text{Damage}_i \in \{0, 1\}(11 表示有受損農場,00 表示無受損農場),每筆觀測值為單次二元結果,在給定溫度 XiX_i 下服從伯努利分布(Bernoulli Distribution),成功率為 pi=P(Yi=1∣Xi)p_i = P(Y_i = 1 \mid X_i)。
    • 假設 n=23n = 23 年的觀測彼此獨立,適合的似然函數為獨立伯努利機率質量函數之乘積:
      L(β)=∏i=1npiYi(1−pi)1−YiL(\boldsymbol{\beta}) = \prod_{i=1}^{n} p_i^{Y_i} (1 - p_i)^{1 - Y_i}
    • 此模型對應羅吉斯迴歸(Logistic Regression)​或 Probit 迴歸,以確保模型預測機率恆落在 (0,1)(0, 1) 區間內。
  2. 連結函數(Link Function):

    • 為將機率 pi∈(0,1)p_i \in (0, 1) 對應至實數軸上的線性預測式 ηi=β0+β1Xi\eta_i = \beta_0 + \beta_1 X_i,最標準的選擇為 Logit 連結函數:
      g(pi)=ln⁡(pi1−pi)=β0+β1×Temperatureig(p_i) = \ln\left(\frac{p_i}{1 - p_i}\right) = \beta_0 + \beta_1 \times \text{Temperature}_i
    • Logit 連結函數將事件發生的對數勝算(log-odds)​與溫度建立線性關係(亦可選用 Probit 連結函數 Φ−1(pi)=β0+β1Xi\Phi^{-1}(p_i) = \beta_0 + \beta_1 X_i)。

(3)Table 2 迴歸結果解讀與降溫影響

  1. 關係描述:

    • 由 Table 2 可知,Temperature 的估計係數為 β^1=−0.2162\hat{\beta}_1 = -0.2162(標準誤 0.05320.0532),檢定統計量 z=−4.07z = -4.07,對應的 pp-value =0.0000= 0.0000(<0.0001< 0.0001)。
    • 在 α=0.05\alpha = 0.05 或 0.010.01 下皆達高度統計顯著,表示氣溫與農損發生機率之間存在顯著的負向關係:氣溫越高,發生農損的對數勝算越低。
  2. 溫度下降對 Damage 的影響解釋:

    • 勝算比(Odds Ratio)角度:溫度每下降 1 ∘F1\,^\circ\text{F},發生農損的對數勝算會增加 0.21620.2162,亦即發生農損的**勝算
🔒

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

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

免費註冊

第 4 題30 分

  1. (30%)
    (1) The measurements of two variables across six samples are displayed in Matrix A. Determine the sample covariance matrix based on this data. (15%)

A=(17−4−7−18−6−1−4)A = \begin{pmatrix} 1 & 7 & -4 \\ -7 & -1 & 8 \\ -6 & -1 & -4 \end{pmatrix}
The sample covariance matrix is S=AAT/(n−1)S = A A^T / (n-1).

(2) Assume there is a new axis with unit vector of v=(1/21/2)v = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \end{pmatrix}. Calculate the variances on the new axis. (15%)

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

這一題的完整詳解

核心觀念

本題考查:

  1. 以中心化資料矩陣計算樣本共變異數矩陣:
    S=AATn−1.S=\frac{AA^T}{n-1}.
  2. 線性組合或新座標軸上的變異數。若新軸的單位向量為 vv,則該軸上的變異數為:
    Var⁡(vTX)=vTSv.\operatorname{Var}(v^TX)=v^TSv.

其中,公式 S=AAT/(n−1)S=AA^T/(n-1) 的前提是 AA 已經是中心化後的資料矩陣。


(1)樣本共變異數矩陣

題目給定:

A=(17−4−7−18−6−1−4).A= \begin{pmatrix} 1&7&-4\\ -7&-1&8\\ -6&-1&-4 \end{pmatrix}.

先計算 AATAA^T:

AAT=(17−4−7−18−6−1−4)(1−7−67−1−1−48−4).AA^T= \begin{pmatrix} 1&7&-4\\ -7&-1&8\\ -6&-1&-4 \end{pmatrix} \begin{pmatrix} 1&-7&-6\\ 7&-1&-1\\ -4&8&-4 \end{pmatrix}.

逐項計算:

AAT=(12+72+(−4)21(−7)+7(−1)+(−4)(8)1(−6)+7(−1)+(−4)(−4)(−7)(1)+(−1)(7)+8(−4)(−7)2+(−1)2+82(−7)(−6)+(−1)(−1)+8(−4)(−6)(1)+(−1)(7)+(−4)(−4)(−6)(−7)+(−1)(−1)+(−4)(8)(−6)2+(−1)2+(−4)2)AA^T= \begin{pmatrix} 1^2+7^2+(-4)^2 & 1(-7)+7(-1)+(-4)(8) & 1(-6)+7(-1)+(-4)(-4) \\[4pt] (-7)(1)+(-1)(7)+8(-4) & (-7)^2+(-1)^2+8^2 & (-7)(-6)+(-1)(-1)+8(-4) \\[4pt] (-6)(1)+(-1)(7)+(-4)(-4) & (-6)(-7)+(-1)(-1)+(-4)(8) & (-6)^2+(-1)^2+(-4)^2 \end{pmatrix}

因此:

AAT=(66−463−461141131153).AA^T= \begin{pmatrix} 66&-46&3\\ -46&114&11\\ 3&11&53 \end{pmatrix}.

題幹寫明共有六個樣本,因此 n=6n=6,n−1=5n-1=5。故依題目指定公式:

S=15(66−463−461141131153)=(665−46535−465114511535115535).S=\frac{1}{5} \begin{pmatrix} 66&-46&3\\ -46&114&11\\ 3&11&53 \end{pmatrix} = \begin{pmatrix} \dfrac{66}{5}&-\dfrac{46}{5}&\dfrac35\\[4pt] -\dfrac{46}{5}&\dfrac{114}{5}&\dfrac{11}{5}\\[4pt] \dfrac35&\dfrac{11}{5}&\dfrac{53}{5} \end{pmatrix}.

(2)新軸上的變異數

題目給定新軸的單位向量:

v=(1/21/2).v= \begin{pmatrix} 1/\sqrt2\\ 1/\sqrt2 \end{pmatrix}.

由於 vv 是二維向量,因此必須搭配 2×22\times2 的共變異數矩陣。若依題目中「兩個變數」的設定,取前兩列作為兩個變數的資料,則相應的矩陣為:

A2=(17−4−7−18).A_2= \begin{pmatrix} 1&7&-4\\ -7&-1&8 \end{pmatrix}.

此時共有 33 個資料欄,因此在維度一致的解讀下 n=3n=3,樣本共變異數矩陣為:

S2=A2A2T3−1=12(66−46−46114)=(33−23−2357).S_2=\frac{A_2A_2^T}{3-1} = \frac12 \begin{pmatrix} 66&-46\\ -46&114 \end{pmatrix} = \begin{pmatrix} 33&-23\\ -23&57 \end{pmatrix}.

新軸上的變數為:

Y=vTX=12X1+12X2.Y=v^TX =\frac{1}{\sqrt2}X_1+\frac{1}{\sqrt2}X_2.

其變異數為:

🔒

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

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

免費註冊

其他考古題