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

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

第 1 題30 分

  1. As the lead researcher of a study comparing two weight-loss techniques—Diet and Exercise—you are investigating their effects on overweight patients. The table below presents the number of obese and severely obese individuals who successfully achieved significant weight loss (successes) and those who did not lose weight (failures) for each method.
\multicolumn{2}{c}{Diet}\multicolumn{2}{c}{Exercise}
SuccessesFailuresSuccessesFailures
Obese10302258
Severely obese6020355

(a) Calculate the success rates of the two weight-loss techniques for obese and severely obese. What conclusions can be drawn about which technique works better?

(b) Calculate the total success rates for both techniques and compare them. Are there any differences compared to part (a)? If so, explain the reason. If not, indicate which technique performs better.

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

這一題的完整詳解

這題主要在考驗對機率與比例的計算能力,以及如何從數據中得出初步的統計推論。

(a) 計算各組別的成功率:
成功率的定義為成功人數佔該組別總人數的比例。

對於肥胖 (Obese) 的族群:

  • Diet 方法的成功率:1010+30=1040=0.25\frac{10}{10 + 30} = \frac{10}{40} = 0.25
  • Exercise 方法的成功率:2222+58=2280=0.275\frac{22}{22 + 58} = \frac{22}{80} = 0.275

對於嚴重肥胖 (Severely obese) 的族群:

  • Diet 方法的成功率:6060+20=6080=0.75\frac{60}{60 + 20} = \frac{60}{80} = 0.75
  • Exercise 方法的成功率:3535+5=3540=0.875\frac{35}{35 + 5} = \frac{35}{40} = 0.875

結論:

  • 對於肥胖族群,Exercise 方法的成功率 (0.275) 略高於 Diet 方法 (0.25)。
  • 對於嚴重肥胖族群,Exercise 方法的成功率 (0.875) 明顯高於 Diet 方法 (0.75)。
    綜合來看,Exercise 方法在兩個族群中都表現出較高的成功率,特別是在嚴重肥胖族群中差異更為顯著。

【答案】

  • 肥胖族群:Diet 成功率 0.25,Exercise 成功率 0.275。
  • 嚴重肥胖族群:Diet 成功率 0.75,Exercise 成功率 0.875。
  • 結論:Exercise 方法在兩個族群中均表現較佳,尤其在嚴重肥胖族群中效果更為顯著。

(b) 計算總成功率並比較:
總成功率是指所有參與實驗的總成功人數佔總參與人數的比例。

  • Diet 方法的總成功率:
    總人數 = (10 + 30) + (60 + 20) = 40 + 80 = 120
    總成功人數 = 10 + 60 = 70
    Diet 方法的總成功率 = 70120≈0.5833\frac{70}{120} \approx 0.5833

  • Exercise 方法的總成功率:
    總人數 = (22 + 58) + (35 + 5) = 80 + 40 = 120
    總成功人數 = 22 + 35 = 57
    Exercise 方法的總成功率 = 57120=0.475\frac{57}{120} = 0.475

比較與差異:
是的,總成功率的比較結果與 (a) 小題不同。在 (a) 小題中,Exercise 方法在兩個子族群中都優於 Diet 方法,但計算總成功率時,Diet 方法 (0.5833) 反而高於 Exercise 方法 (0.475)。

原因解釋:
這種差異的出現是因為兩個方法的樣本分佈不同。在這個實驗中,「嚴重肥胖」這個子群體在 Diet 方法中佔的比例(80/120 = 2/3)遠大於 Exerc

🔒

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

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

免費註冊

第 2 題30 分

  1. You operate a coffee shop where lattes are the primary product. The number of lattes sold each day varies and is independent of sales on other days. The distribution detailing your daily latte sales is shown below.

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

Assume latte sales are recorded over a period of 175 days. What is the approximate probability that the average number of lattes sold per day during this period exceeds 102?

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

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

這一題的完整詳解

核心觀念

本題評量離散型隨機變數的期望值與變異數計算,以及中央極限定理(Central Limit Theorem, CLT)​在樣本平均數抽樣分配上的應用:

  1. 母體期望值與變異數:
    設每日拿鐵銷售量為離散型隨機變數 XX,其機率質量函數(PMF)為 P(X=x)P(X = x):
    • 期望值(母體平均數):
      E[X]=μ=∑xP(X=x)E[X] = \mu = \sum x P(X = x)
    • 變異數:
      Var⁡(X)=σ2=E[(X−μ)2]=∑(x−μ)2P(X=x)\operatorname{Var}(X) = \sigma^2 = E[(X - \mu)^2] = \sum (x - \mu)^2 P(X = x)
  2. 中央極限定理(CLT):
    若隨機樣本 X1,X2,…,XnX_1, X_2, \dots, X_n 為獨立同分配(i.i.d.),具有有限平均數 μ\mu 與變異數 σ2\sigma^2。當樣本數 nn 夠大時(通常 n≥30n \ge 30),樣本平均數 Xˉ=1n∑i=1nXi\bar{X} = \frac{1}{n}\sum_{i=1}^n X_i 之抽樣分配將近似於常態分配:
    Xˉ∼aN(μ,σ2n)\bar{X} \stackrel{a}{\sim} N\left(\mu, \frac{\sigma^2}{n}\right)
    其標準誤(Standard Error)為:
    σXˉ=σn=σ2n\sigma_{\bar{X}} = \frac{\sigma}{\sqrt{n}} = \sqrt{\frac{\sigma^2}{n}}
    標準化統計量為:
    Z=Xˉ−μσ/n∼aN(0,1)Z = \frac{\bar{X} - \mu}{\sigma / \sqrt{n}} \stackrel{a}{\sim} N(0, 1)

解題方法

由原卷附圖的直方圖可讀出:橫軸為每日拿鐵銷售量 XX,取值分別為 8080、9595、105105、120120;縱軸為相對頻率(Fraction,即機率 P(X=x)P(X=x)),高度依序對齊刻度 0.200.20、0.300.30、0.300.30、0.200.20。四者機率總和為 0.20+0.30+0.30+0.20=1.000.20 + 0.30 + 0.30 + 0.20 = 1.00。

步驟一:計算母體平均數 μ\mu 與變異數 σ2\sigma^2

  1. 母體平均數 μ\mu:
    E[X]=80(0.20)+95(0.30)+105(0.30)+120(0.20)E[X] = 80(0.20) + 95(0.30) + 105(0.30) + 120(0.20)
    =16+28.5+31.5+24=100= 16 + 28.5 + 31.5 + 24 = 100
    (亦可由圖形關於 100100 左右完全對稱直接判定 μ=100\mu = 100)

  2. 母體變異數 σ2\sigma^2:
    利用變異數定義 σ2=∑(x−100)2P(X=x)\sigma^2 = \sum (x - 100)^2 P(X=x):
    σ2=(80−100)2(0.20)+(95−100)2(0.30)+(105−100)2(0.30)+(120−100)2(0.20)\sigma^2 = (80 - 100)^2 (0.20) + (95 - 100)^2 (0.30) + (105 - 100)^2 (0.30) + (120 - 100)^2 (0.20)
    =(−20)2(0.20)+(−5)2(0.30)+52(0.30)+202(0.20)= (-20)^2 (0.20) + (-5)^2 (0.30) + 5^2 (0.30) + 20^2 (0.20)
    =400(0.20)+25(0.30)+25(0.30)+400(0.20)= 400(0.20) + 25(0.30) + 25(0.30) + 400(0.20)
    =80+7.5+7.5+80=175= 80 + 7.5 + 7.5 + 80 = 175

步驟二:求樣本平均數 Xˉ\bar{X} 的抽樣分配

題目給定記錄天數 n=175n = 175 天,且各天銷售量互相獨立。
樣本平均數 Xˉ\bar{X} 的標準差(標準誤)為:
σXˉ=σ2n=175175=1\sigma_{\bar{X}} = \sqrt{\frac{\sigma^2}{n}} = \sqrt{\frac{175}{175}} = 1

由於樣本數 n=175≥30n = 175 \ge 30,依據中央極限定理:
Xˉ∼aN(μ,σXˉ2)=N(100,12)\bar{X} \stackrel{a}{\sim} N(\mu, \sigma_{\bar{X}}^2) = N(100, 1^2)

步驟三:計算平均銷量超過 102 杯的機率

欲求 P(Xˉ>102)P(\bar{X} > 102),將其標準化:
Z=Xˉ−μσXˉ=102−1001=2Z = \frac{\bar{X} - \mu}{\sigma_{\bar{X}}} = \frac{102 - 100}{1} = 2
因此:
P(Xˉ>102)≈P(Z>2)=1−Φ(2)P(\bar{X} > 102) \approx P(Z > 2) = 1 - \Phi(2)

🔒

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

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

免費註冊

第 3 題20 分

  1. Generating two random variables that are positively correlated is often useful in stochastic simulations. One method for producing such correlated variables, x and y, involves calculating y as follows:
    y=ax+bεy = ax + b\varepsilon
    Here, x and ε\varepsilon are independent random variables, both with means of 0 and variances of 1, while a and b are constants.

(a) Find the mean and variance of y in terms of a and b.

(b) Choose values for a and b such that the variance of y equals 2 and the correlation between x and y is 0.5. Provide all necessary calculations.

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

這一題的完整詳解

這題主要考驗對隨機變數線性組合的期望值、變異數以及相關係數的計算。

核心觀念:

  1. 期望值的性質:E(cX)=cE(X)E(cX) = cE(X), E(X+Y)=E(X)+E(Y)E(X+Y) = E(X)+E(Y)
  2. 變異數的性質:若 X, Y 獨立, Var(cX)=c2Var(X)Var(cX) = c^2 Var(X), Var(X+Y)=Var(X)+Var(Y)Var(X+Y) = Var(X)+Var(Y)
  3. 相關係數的定義:ρXY=Cov(X,Y)σXσY\rho_{XY} = \frac{Cov(X,Y)}{\sigma_X \sigma_Y}
  4. 共變異數的性質:Cov(X,Y)=E[(X−E(X))(Y−E(Y))]Cov(X,Y) = E[(X-E(X))(Y-E(Y))]
    若 X, Y 獨立,則 Cov(X,Y)=0Cov(X,Y) = 0。
    Cov(cX,Y)=cCov(X,Y)Cov(cX, Y) = c Cov(X,Y)
    Cov(X+Y,Z)=Cov(X,Z)+Cov(Y,Z)Cov(X+Y, Z) = Cov(X,Z) + Cov(Y,Z)

(a) 求 y 的期望值與變異數:
已知 y=ax+bεy = ax + b\varepsilon。
x 和 ε\varepsilon 是獨立的隨機變數,且 E(x)=0E(x) = 0, Var(x)=1Var(x) = 1, E(ε)=0E(\varepsilon) = 0, Var(ε)=1Var(\varepsilon) = 1。
由於 x 和 ε\varepsilon 獨立,所以 Cov(x,ε)=0Cov(x, \varepsilon) = 0。

期望值:
E(y)=E(ax+bε)E(y) = E(ax + b\varepsilon)
根據期望值的線性性質:
E(y)=E(ax)+E(bε)E(y) = E(ax) + E(b\varepsilon)
E(y)=aE(x)+bE(ε)E(y) = aE(x) + bE(\varepsilon)
由於 E(x)=0E(x) = 0 且 E(ε)=0E(\varepsilon) = 0,
E(y)=a(0)+b(0)=0E(y) = a(0) + b(0) = 0。

變異數:
Var(y)=Var(ax+bε)Var(y) = Var(ax + b\varepsilon)
由於 x 和 ε\varepsilon 是獨立的,ax 和 bε\varepsilon 也是獨立的。
根據變異數的性質:
Var(y)=Var(ax)+Var(bε)Var(y) = Var(ax) + Var(b\varepsilon)
Var(y)=a2Var(x)+b2Var(ε)Var(y) = a^2 Var(x) + b^2 Var(\varepsilon)
由於 Var(x)=1Var(x) = 1 且 Var(ε)=1Var(\varepsilon) = 1,
Var(y)=a2(1)+b2(1)=a2+b2Var(y) = a^2(1) + b^2(1) = a^2 + b^2。

【答案】

  • 期望值:E(y)=0E(y) = 0
  • 變異數:Var(y)=a2+b2Var(y) = a^2 + b^2

(b) 選擇 a 和 b 的值,使 Var(y)=2Var(y) = 2 且 ρxy=0.5\rho_{xy} = 0.5。

根據 (a) 小題的結果,我們有:

  1. Var(y)=a2+b2=2Var(y) = a^2 + b^2 = 2
  2. ρxy=Cov(x,y)σxσy=0.5\rho_{xy} = \frac{Cov(x,y)}{\sigma_x \sigma_y} = 0.5

首先計算 Cov(x,y)Cov(x,y) 和 σy\sigma_y:
Cov(x,y)=Cov(x,ax+bε)Cov(x,y) = Cov(x, ax + b\varepsilon)
利用共變異數的分配律:
Cov(x,y)=Cov(x,ax)+Cov(x,bε)Cov(x,y) = Cov(x, ax) + Cov(x, b\varepsilon)
Cov(x,y)=aCov(x,x)+bCov(x,ε)Cov(x,y) = a Cov(x,x) + b Cov(x,\varepsilon)
Cov(x,x)=Var(x)=1Cov(x,x) = Var(x) = 1。
由於 x 和 ε\varepsilon 獨立, Cov(x,ε)=0Cov(x, \varepsilon) = 0。
所以,Cov(x,y)=a(1)+b(0)=aCov(x,y) = a(1) + b(0) = a。

σx=Var(x)=1=1\sigma_x = \sqrt{Var(x)} = \sqrt{1} = 1。
σy=Var(y)=a2+b2\sigma_y = \sqrt{Var(y)} = \sqrt{a^2 + b^2}。

🔒

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

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

免費註冊

第 4 題20 分

  1. Assume a set of observations X1,X2,…,XnX_1, X_2, \ldots, X_n that are iid, with a mean of θ\theta and a known variance σ2\sigma^2. The mean θ\theta is estimated using the following formula:
    θ^=X1+⋯+Xnn+1\hat{\theta} = \frac{X_1 + \cdots + X_n}{n+1}

(a) Find the bias of this estimator, defined as E(θ^)−θE(\hat{\theta}) - \theta, in terms of nn and θ\theta. How does the bias behave as the sample size approaches infinity?

(b) Find the mean squared error (MSE) for the estimator, given by Bias2+var(θ^)Bias^2 + var(\hat{\theta}).

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

這一題的完整詳解

這題主要考驗對估計量 (estimator) 的性質,包括偏差 (bias) 和均方誤差 (mean squared error, MSE) 的計算。

核心觀念:

  1. 期望值與變異數的性質:E(cX)=cE(X)E(cX) = cE(X), E(X+Y)=E(X)+E(Y)E(X+Y) = E(X)+E(Y), Var(cX)=c2Var(X)Var(cX) = c^2 Var(X)
  2. iid 隨機變數的性質:若 X1,…,XnX_1, \ldots, X_n 是 iid 且 E(Xi)=θE(X_i) = \theta, Var(Xi)=σ2Var(X_i) = \sigma^2,則 ∑i=1nXi\sum_{i=1}^n X_i 的期望值為 nθn\theta,變異數為 nσ2n\sigma^2。
  3. 偏差 (Bias) 的定義:Bias(θ^)=E(θ^)−θBias(\hat{\theta}) = E(\hat{\theta}) - \theta。一個一致的估計量 (consistent estimator) 的偏差會趨近於 0。
  4. 均方誤差 (MSE) 的定義:MSE(θ^)=E[(θ^−θ)2]=Var(θ^)+[Bias(θ^)]2MSE(\hat{\theta}) = E[(\hat{\theta} - \theta)^2] = Var(\hat{\theta}) + [Bias(\hat{\theta})]^2。

(a) 求估計量 θ^\hat{\theta} 的偏差:
給定的估計量為 θ^=X1+⋯+Xnn+1\hat{\theta} = \frac{X_1 + \cdots + X_n}{n+1}。
首先計算 θ^\hat{\theta} 的期望值:
E(θ^)=E(X1+⋯+Xnn+1)E(\hat{\theta}) = E\left(\frac{X_1 + \cdots + X_n}{n+1}\right)
由於 1n+1\frac{1}{n+1} 是常數,可以提出期望值運算符:
E(θ^)=1n+1E(X1+⋯+Xn)E(\hat{\theta}) = \frac{1}{n+1} E(X_1 + \cdots + X_n)
由於 XiX_i 是 iid 且 E(Xi)=θE(X_i) = \theta,所以 E(X1+⋯+Xn)=E(X1)+⋯+E(Xn)=nθE(X_1 + \cdots + X_n) = E(X_1) + \cdots + E(X_n) = n\theta。
E(θ^)=1n+1(nθ)=nθn+1E(\hat{\theta}) = \frac{1}{n+1} (n\theta) = \frac{n\theta}{n+1}。

偏差的定義為 Bias(θ^)=E(θ^)−θBias(\hat{\theta}) = E(\hat{\theta}) - \theta:
Bias(θ^)=nθn+1−θBias(\hat{\theta}) = \frac{n\theta}{n+1} - \theta
Bias(θ^)=θ(nn+1−1)Bias(\hat{\theta}) = \theta \left(\frac{n}{n+1} - 1\right)
Bias(θ^)=θ(n−(n+1)n+1)Bias(\hat{\theta}) = \theta \left(\frac{n - (n+1)}{n+1}\right)
Bias(θ^)=θ(−1n+1)=−θn+1Bias(\hat{\theta}) = \theta \left(\frac{-1}{n+1}\right) = -\frac{\theta}{n+1}。

偏差行為:
當樣本數 nn 趨近於無窮大時 (n→∞n \to \infty):
lim⁡n→∞Bias(θ^)=lim⁡n→∞−θn+1\lim_{n \to \infty} Bias(\hat{\theta}) = \lim_{n \to \infty} -\frac{\theta}{n+1}
由於 θ\theta 是常數,分母 n+1n+1 趨近於無窮大,所以極限為 0。
lim⁡n→∞Bias(θ^)=0\lim_{n \to \infty} Bias(\hat{\theta}) = 0。
這表示該估計量是偏差為零 (asymptotically unbiased) 的,也就是一個一致的估計量。

【答案】

  • 偏差:Bias(θ^)=−θn+1Bias(\hat{\theta}) = -\frac{\theta}{n+1}
  • 當 n→∞n \to \infty 時,偏差趨近於 0。
🔒

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

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

免費註冊

其他考古題