115 年 國立政治大學財政學系碩士班《統計學》

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

第 1 題15 分

Let X and Y be two random variables representing monthly asset returns for two assets. You are given the following
summary statistics:

  • Sample Variance of X: SX2=4S_X^2 = 4
  • Sample Variance of Y: SY2=9S_Y^2 = 9
  • Sample Covariance: SXY=−3S_{XY} = -3

a) (7%) Compute the Pearson correlation coefficient (rXYr_{XY}) between X and Y.

b) (8%) An analyst proposes a linear transformation of the original variables to account for leverage and fees. The new
variables are defined as:
W=3X+5W = 3X + 5
Z=−2Y+1Z = -2Y + 1
Derive the value of the covariance between W and Z (i.e., SWZS_{WZ}).

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

這一題的完整詳解

核心觀念

皮爾森相關係數衡量兩個變數的線性關聯方向與強度,定義為共變異數除以兩變數標準差的乘積:

rXY=SXYSXSYr_{XY}=\frac{S_{XY}}{S_XS_Y}

線性轉換後的共變異數遵循以下性質:若 W=aX+bW=aX+b、Z=cY+dZ=cY+d,則

SWZ=acSXYS_{WZ}=acS_{XY}

其中,常數項 bb 與 dd 不影響共變異數;共變異數只會乘上兩個變數的縮放係數 aa 與 cc。

解題方法

(a)計算皮爾森相關係數

由題目給定的變異數可得標準差:

SX=SX2=4=2,SY=SY2=9=3S_X=\sqrt{S_X^2}=\sqrt{4}=2,\qquad S_Y=\sqrt{S_Y^2}=\sqrt{9}=3

代入相關係數公式:

🔒

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

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

免費註冊

第 2 題20 分

You are advising a regulator on the solvency of a bank. Let S denote "Solvent" and I denote "Insolvent". Based on
historical market data, the prior probability of the bank being Insolvent is P(I)=0.05P(I) = 0.05.

You have access to two distinct, conditionally independent auditing algorithms: Audit A and Audit B. If the bank is
Insolvent, Audit A flags it positive (A+) with probability 0.90. If the bank is Solvent, Audit A flags it positive (A+) with
probability 0.10. If the bank is Insolvent, Audit B flags it positive (B+) with probability 0.80. If the bank is Solvent,
Audit B flags it positive (B+) with probability 0.05.

a) (6%) Suppose Audit A returns a positive flag (A+). Calculate the posterior probability that the bank is Insolvent.

b) (8%) After observing the positive result from Audit A in (a), you run Audit B and it also returns a positive flag (B+).
Update your posterior probability that the bank is Insolvent after this observation.

c) (6%) The regulator considers intervening. Intervention incurs costs C. If the bank is truly Insolvent, intervention
prevents a financial loss L. If the bank is Solvent, intervention provides no benefit.

  • Express the condition under which the regulator should intervene in terms of the posterior probability of
    insolvency, π∗\pi^*, and the ratio C/L.
  • Based on your answer in (b), if the potential loss L is 3 times the cost of intervention C, should the
    regulator intervene?

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

這一題的完整詳解

本題考驗貝氏定理在實際情境中的應用,特別是關於更新機率(後驗機率)的計算,以及決策理論中關於成本效益分析的應用。

核心觀念:

  1. 貝氏定理 (Bayes' Theorem):用於更新條件機率。
  2. 聯合機率與邊際機率的計算。
  3. 決策樹或期望值分析,用於判斷是否進行干預。

符號定義:

  • I: 銀行為 Insolvent (不 પ્રુધ)
  • S: 銀行為 Solvent ( પ્રુધ)
  • A+: Audit A 標記為 Positive (高度懷疑不 પ્રુધ)
  • A-: Audit A 標記為 Negative
  • B+: Audit B 標記為 Positive (高度懷疑不 પ્રુધ)
  • B-: Audit B 標記為 Negative
  • π∗\pi^*:銀行為 Insolvent 的後驗機率 (posterior probability)

已知條件:

  • 先驗機率 P(I)=0.05P(I) = 0.05。
  • 由於 I 與 S 是互斥且窮盡的事件,P(S)=1−P(I)=1−0.05=0.95P(S) = 1 - P(I) = 1 - 0.05 = 0.95。
  • Audit A 的條件機率:
    • P(A+∣I)=0.90P(A+|I) = 0.90 (若銀行不 પ્રુધ, Audit A 標記 Positive 的機率)
    • P(A+∣S)=0.10P(A+|S) = 0.10 (若銀行 પ્રુધ, Audit A 標記 Positive 的機率)
  • Audit B 的條件機率:
    • P(B+∣I)=0.80P(B+|I) = 0.80 (若銀行不 પ્રુધ, Audit B 標記 Positive 的機率)
    • P(B+∣S)=0.05P(B+|S) = 0.05 (若銀行 પ્રુધ, Audit B 標記 Positive 的機率)
  • Audit A 和 Audit B 是條件獨立的 (conditionally independent)。

解題過程:

a) 計算在 Audit A 回報 A+ 的情況下,銀行為 Insolvent 的後驗機率 P(I∣A+)P(I|A+)。

我們使用貝氏定理:
P(I∣A+)=P(A+∣I)P(I)P(A+)P(I|A+) = \frac{P(A+|I) P(I)}{P(A+)}

首先,計算邊際機率 P(A+)P(A+):
P(A+)=P(A+∣I)P(I)+P(A+∣S)P(S)P(A+) = P(A+|I) P(I) + P(A+|S) P(S)
P(A+)=(0.90)(0.05)+(0.10)(0.95)P(A+) = (0.90)(0.05) + (0.10)(0.95)
P(A+)=0.045+0.095=0.140P(A+) = 0.045 + 0.095 = 0.140

現在,將值代入貝氏定理:
P(I∣A+)=(0.90)(0.05)0.140=0.0450.140=45140=928≈0.3214P(I|A+) = \frac{(0.90)(0.05)}{0.140} = \frac{0.045}{0.140} = \frac{45}{140} = \frac{9}{28} \approx 0.3214

因此,在 Audit A 回報 A+ 的情況下,銀行為 Insolvent 的後驗機率約為 0.3214。

【答案】 P(I∣A+)=928≈0.3214P(I|A+) = \frac{9}{28} \approx 0.3214

b) 在 Audit A 回報 A+ 後,又觀察到 Audit B 回報 B+ 的情況下,更新銀行為 Insolvent 的後驗機率 P(I∣A+,B+)P(I|A+, B+)。

由於 Audit A 和 Audit B 是條件獨立的,給定銀行狀態 (I 或 S) 的情況下,它們的結果是獨立的。因此,我們可以將聯合後驗機率分解:
P(I∣A+,B+)=P(A+,B+∣I)P(I)P(A+,B+)P(I|A+, B+) = \frac{P(A+, B+|I) P(I)}{P(A+, B+)}

由於條件獨立性,P(A+,B+∣I)=P(A+∣I)P(B+∣I)P(A+, B+|I) = P(A+|I) P(B+|I)。
同理,P(A+,B+∣S)=P(A+∣S)P(B+∣S)P(A+, B+|S) = P(A+|S) P(B+|S)。

🔒

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

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

免費註冊

第 3 題20 分

A Public Health Department is evaluating compliance with a new "Sugar Tax" regulation. Based on preliminary data, the
probability that a randomly selected retailer is non-compliant is 20%.

You randomly select a sample of n = 100 retailers for inspection. Let X denote the number of non-compliant retailers
in your sample.

a) (5%) State the expected value and the variance of the random variable X.

b) (5%) Write the expression for the probability of finding exactly 25 non-compliant retailers using the Binomial PMF.
(You do not need to compute the final decimal value).

c) (5%) Use the Normal Approximation to estimate the probability that the number of non-compliant retailers is strictly
greater than 25 (i.e., P(X > 25)). Is this approximation appropriate given the sample size and proportion? Briefly
explain.

d) (5%) A junior analyst suggests that if the sample size were extremely large (n→∞) and the probability of non-
compliance were extremely small (p → 0) such that np remained constant, a different distribution should be
used. Which distribution is the analyst referring to?

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

這一題的完整詳解

核心觀念

每家零售商是否違規可視為一次伯努利試驗:違規機率為 p=0.2p=0.2,抽查 n=100n=100 家,且假設各家是否違規彼此獨立。因此違規家數服從二項分配:

X∼Binomial⁡(100,0.2)X\sim\operatorname{Binomial}(100,0.2)

二項分配的期望值與變異數分別為 E(X)=npE(X)=np、Var⁡(X)=np(1−p)\operatorname{Var}(X)=np(1-p)。

解題方法

a)期望值與變異數

代入 n=100n=100、p=0.2p=0.2:

E(X)=np=100(0.2)=20E(X)=np=100(0.2)=20 Var⁡(X)=np(1−p)=100(0.2)(0.8)=16\operatorname{Var}(X)=np(1-p)=100(0.2)(0.8)=16

因此,期望違規家數為 2020 家,變異數為 1616;標準差為 16=4\sqrt{16}=4 家。

b)恰有 25 家違規的機率

二項分配機率質量函數為:

P(X=k)=(nk)pk(1−p)n−kP(X=k)=\binom{n}{k}p^k(1-p)^{n-k}

令 k=25k=25,得到:

P(X=25)=(10025)(0.2)25(0.8)75P(X=25)=\binom{100}{25}(0.2)^{25}(0.8)^{75}

c)常態近似估計 P(X>25)P(X>25)

二項分配可用平均數相同、變異數相同的常態分配近似:

Y∼N(np, np(1−p))=N(20,16)Y\sim N\bigl(np,\ np(1-p)\bigr)=N(20,16)

由於 X>25X>25 等同於 X≥26X\geq 26,使用連續性修正後,將邊界調整為 25.525.5:

🔒

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

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

免費註冊

第 4 題20 分

A public agency pilots three training programs for unemployed workers: Program A, Program B, and Program C. The
outcome is post-training monthly earnings (in ten-thousand dollars). Independent samples of participants were selected
from each program.

You observe the following summary statistics:

ProgramSample SizeSample MeanSample Variance
A42.10.36
B42.60.49
C41.90.25

a) (12%) Construct an ANOVA table to partition the variance in monthly earnings.

b) (8%) Conduct an F-test at the 5% significance level. Based on the results, what can you conclude about the relative
effectiveness of these programs?

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

這一題的完整詳解

本題考驗單因子變異數分析 (One-Way ANOVA) 的應用,包括構建 ANOVA 表、進行 F 檢定以比較多組樣本的平均數,並根據結果得出結論。

核心觀念:

  1. 單因子變異數分析 (One-Way ANOVA) 的原理。
  2. 變異數的分割:總變異數 (Total Variation) 分割為組間變異數 (Between-group Variation, Treatment Variation) 和組內變異數 (Within-group Variation, Error Variation)。
  3. ANOVA 表的構成要素:自由度 (df)、平方和 (SS)、均方 (MS)、F 值。
  4. F 檢定:用於檢定各組平均數是否相等。
  5. 統計顯著性的判斷:與臨界值比較或計算 p 值。
  6. 統計結果的解釋:在實際情境中的含義。

已知條件:

  • 三個獨立樣本,代表三個訓練計畫 A, B, C。
  • 各組樣本大小 nA=nB=nC=4n_A=n_B=n_C=4。
  • 各組樣本平均數 XˉA=2.1\bar{X}_A=2.1, XˉB=2.6\bar{X}_B=2.6, XˉC=1.9\bar{X}_C=1.9。
  • 各組樣本變異數 SA2=0.36S_A^2=0.36, SB2=0.49S_B^2=0.49, SC2=0.25S_C^2=0.25。
  • 總樣本大小 N=nA+nB+nC=4+4+4=12N = n_A + n_B + n_C = 4 + 4 + 4 = 12。
  • 顯著水準 α=0.05\alpha = 0.05。

解題過程:

a) 建構 ANOVA 表

ANOVA 的基本思想是將總變異數分解為組間變異數和組內變異數。

  • 總平方和 (SST - Total Sum of Squares): 衡量所有數據點與總平均數之間的差異。
  • 組間平方和 (SSB - Sum of Squares Between Groups / Treatment Sum of Squares): 衡量各組平均數與總平均數之間的差異,反映處理效果。
  • 組內平方和 (SSW - Sum of Squares Within Groups / Error Sum of Squares): 衡量各組內部數據點與該組平均數之間的差異,反映隨機誤差。
    SST=SSB+SSWSST = SSB + SSW

步驟 1:計算總平均數 (Xˉˉ\bar{\bar{X}})
首先,我們需要所有樣本數據的總平均數。由於樣本大小相等,可以直接對樣本平均數取平均:
Xˉˉ=XˉA+XˉB+XˉC3=2.1+2.6+1.93=6.63=2.2\bar{\bar{X}} = \frac{\bar{X}_A + \bar{X}_B + \bar{X}_C}{3} = \frac{2.1 + 2.6 + 1.9}{3} = \frac{6.6}{3} = 2.2

步驟 2:計算 SSB (組間平方和)
SSB=∑i=1kni(Xˉi−Xˉˉ)2SSB = \sum_{i=1}^{k} n_i (\bar{X}_i - \bar{\bar{X}})^2, 其中 kk 是組數。
SSB=nA(XˉA−Xˉˉ)2+nB(XˉB−Xˉˉ)2+nC(XˉC−Xˉˉ)2SSB = n_A(\bar{X}_A - \bar{\bar{X}})^2 + n_B(\bar{X}_B - \bar{\bar{X}})^2 + n_C(\bar{X}_C - \bar{\bar{X}})^2
SSB=4(2.1−2.2)2+4(2.6−2.2)2+4(1.9−2.2)2SSB = 4(2.1 - 2.2)^2 + 4(2.6 - 2.2)^2 + 4(1.9 - 2.2)^2
SSB=4(−0.1)2+4(0.4)2+4(−0.3)2SSB = 4(-0.1)^2 + 4(0.4)^2 + 4(-0.3)^2
SSB=4(0.01)+4(0.16)+4(0.09)SSB = 4(0.01) + 4(0.16) + 4(0.09)
SSB=0.04+0.64+0.36=1.04SSB = 0.04 + 0.64 + 0.36 = 1.04

步驟 3:計算 SSW (組內平方和)
SSW 是所有組內平方和的總和。對於每一組,組內平方和是 Si2(ni−1)S_i^2 (n_i - 1)。
SSW=∑i=1kSi2(ni−1)SSW = \sum_{i=1}^{k} S_i^2 (n_i - 1)
SSW=SA2(nA−1)+SB2(nB−1)+SC2(nC−1)SSW = S_A^2 (n_A - 1) + S_B^2 (n_B - 1) + S_C^2 (n_C - 1)
SSW=(0.36)(4−1)+(0.49)(4−1)+(0.25)(4−1)SSW = (0.36)(4 - 1) + (0.49)(4 - 1) + (0.25)(4 - 1)

🔒

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

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

免費註冊

第 5 題25 分

You study whether household annual consumption expenditure YiY_i (in thousands of dollars) is related to household
disposable income XiX_i (in thousands of dollars) using a cross-sectional survey of n=50n = 50 households. You estimate the
OLS regression with an intercept:
Yi=β0+β1Xi+uiY_i = \beta_0 + \beta_1 X_i + u_i, i=1,...,50i = 1, ..., 50
Assume the observations are independent, and the error term (uiu_i) is homoskedastic and normally distributed.

From the regression output and sample summaries:

  • R2=0.36R^2 = 0.36
  • Sample standard deviation of X: sX=2s_X = 2
  • Sample standard deviation of Y: sY=3s_Y = 3

a) (5%) Provide an interpretation of the R2R^2 value.

b) (7%) Suppose X and Y are positively correlated. Calculate the OLS estimate, β^1\hat{\beta}_1.

c) (8%) Compute the standard error of β^1\hat{\beta}_1.

d) (5%) Test the statistical significance of β^1\hat{\beta}_1 at the 5% significance level.

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

這一題的完整詳解

本題考驗對普通最小平方法 (OLS) 迴歸分析的理解,包括 R2R^2 的解釋、迴歸係數的計算與標準誤的計算,以及迴歸係數的顯著性檢定。

核心觀念:

  1. R2R^2 的解釋:決定係數,衡量自變數解釋應變數變異的比例。
  2. OLS 估計式:特別是斜率係數 β^1\hat{\beta}_1 的計算公式。
  3. 迴歸係數標準誤的計算。
  4. 迴歸係數的 t 檢定:用於檢定斜率係數是否顯著不為零。

已知條件:

  • 樣本大小 n=50n = 50。
  • R2=0.36R^2 = 0.36。
  • 自變數 X 的樣本標準差 sX=2s_X = 2。
  • 應變數 Y 的樣本標準差 sY=3s_Y = 3。
  • 迴歸模型:Yi=β0+β1Xi+uiY_i = \beta_0 + \beta_1 X_i + u_i。
  • 假設誤差項同質變異且呈常態分佈。
  • X 和 Y 是正相關。
  • 顯著水準 α=0.05\alpha = 0.05。

解題過程:

a) 解釋 R2R^2 的值。

R2R^2 (決定係數) 代表模型中自變數 (在此為 XX) 解釋了應變數 (在此為 YY) 總變異的比例。
R2=0.36R^2 = 0.36 表示,在我們的迴歸模型中,Household Disposable Income (XX) 解釋了 Household Annual Consumption Expenditure (YY) 總變異的 36%。
換句話說,有 36% 的消費支出變異可以由可支配所得的變異來解釋,而其餘 64% 的變異則歸因於模型未包含的其他因素 (即誤差項 uiu_i)。

【答案】 R2=0.36R^2 = 0.36 表示,Household Disposable Income 解釋了 Household Annual Consumption Expenditure 總變異的 36%。

b) 計算 OLS 估計量 β^1\hat{\beta}_1。

OLS 斜率係數 β^1\hat{\beta}_1 的計算公式與相關係數 (rXYr_{XY}) 和樣本標準差有關:
β^1=rXYsYsX\hat{\beta}_1 = r_{XY} \frac{s_Y}{s_X}

我們知道 R2=rXY2R^2 = r_{XY}^2 (如果模型只有一個自變數且包含截距項)。
因此,rXY2=0.36r_{XY}^2 = 0.36。
由於題目說明 X 和 Y 是正相關,所以 rXYr_{XY} 必須是正值。
rXY=0.36=0.6r_{XY} = \sqrt{0.36} = 0.6。

現在,將 rXYr_{XY}, sYs_Y, sXs_X 代入 β^1\hat{\beta}_1 的公式:
β^1=(0.6)32=0.6×1.5=0.9\hat{\beta}_1 = (0.6) \frac{3}{2} = 0.6 \times 1.5 = 0.9

因此,OLS 估計的斜率係數 β^1\hat{\beta}_1 為 0.9。

【答案】 β^1=0.9\hat{\beta}_1 = 0.9

c) 計算 β^1\hat{\beta}_1 的標準誤 (SE(β^1)SE(\hat{\beta}_1))。

OLS 斜率係數的標準誤公式為:
SE(β^1)=susXn−11−R2SE(\hat{\beta}_1) = \frac{s_u}{s_X \sqrt{n-1} \sqrt{1-R^2}} (這個公式是針對 Yi=β0+β1Xi+uiY_i = \beta_0 + \beta_1 X_i + u_i 且 XiX_i 已經中心化)
更常見且通用的公式是:
SE(β^1)=su∑(Xi−Xˉ)2SE(\hat{\beta}_1) = \frac{s_u}{\sqrt{\sum (X_i - \bar{X})^2}}
其中,∑(Xi−Xˉ)2=(n−1)sX2\sum (X_i - \bar{X})^2 = (n-1)s_X^2。
所以,SE(β^1)=susXn−1SE(\hat{\beta}_1) = \frac{s_u}{s_X \sqrt{n-1}}。

我們需要先估計誤差項的標準差 sus_u。
su2=SSEn−ks_u^2 = \frac{SSE}{n-k},其中 SSESSE 是殘差平方和, kk 是迴歸參數的數量 (在這裡是 β0\beta_0 和 β1\beta_1,所以 k=2k=2)。

🔒

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

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

免費註冊

其他考古題

115 年政治大學的其他科目

政治大學《統計學》其他年度

其他學校的財政學系考古題