111 年 國立臺灣大學財務金融研究所乙組《統計學(I)》

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

第 1 題

The number of red chips and white chips in an urn is not known, but it is known that the proportion, pp, of reds is either 1/51/5, 1/31/3, 1/21/2, or 3/43/4. A sample of size 5, drawn with replacement, yields the sequence red, white, red, white, white. The MLE for pp is:
(A) 1/51/5
(B) 2/52/5
(C) 1/31/3
(D) 1/21/2
(E) 3/43/4

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

這一題的完整詳解

核心觀念

  • 最大概似估計 (MLE):在參數空間中找出使觀測資料概似函數最大的參數值。
  • 概似函數:對於以「放回抽樣」得到的二元序列,若紅球比例為 pp,則觀測到 rr 個紅球、ww 個白球的概似為
    L(p)=p r(1−p) w.L(p)=p^{\,r}(1-p)^{\,w}.
  • 離散參數集合:本題的 pp 只能是 {1/5,  1/3,  1/2,  3/4}\{1/5,\;1/3,\;1/2,\;3/4\} 中的四個值,故直接比較這四個候選值的概似即可。

解題方法

  1. 先統計樣本:抽樣次數 n=5n=5,觀測序列為 紅、白、紅、白、白,故
    r=2,w=3.r=2,\qquad w=3.
  2. 寫出概似函數(只與 pp 有關)
    L(p)=p2(1−p)3.L(p)=p^{2}(1-p)^{3}.
  3. 分別代入四個可能的 pp 值,計算概似大小(可直接算分子分母或取對數比較):
ppL(p)=p2(1−p)3L(p)=p^{2}(1-p)^{3}數值 (近似)
15\displaystyle \frac15(15)2 ⁣(45)3=643125  \left(\frac15\right)^{2}\!\left(\frac45\right)^{3}= \frac{64}{3125}\;0.02050.0205
13\displaystyle \frac13(13)2 ⁣(23)3=8243  \left(\frac13\right)^{2}\!\left(\frac23\right)^{3}= \frac{8}{243}\;0.03290.0329
12\displaystyle \frac12(12)2 ⁣(12)3=132  \left(\frac12\right)^{2}\!\left(\frac12\right)^{3}= \frac1{32}\;0.031250.03125
34\displaystyle \frac34(34)2 ⁣(14)3=91024  \left(\frac34\right)^{2}\!\left(\frac14\right)^{3}= \frac{9}{1024}\;0.00880.0088
  1. 比較四個概似值,可見最大者為 p=13p=\frac13。因此 MLE 為 p^=13\displaystyle \hat p=\frac13。

選項分析

選項內容正誤說明
(A) 1/51/5p=15\displaystyle p=\frac15概似 =64/3125≈0.0205=64/3125\approx0.0205,不是最大值,故錯誤。
🔒

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

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

免費註冊

第 2 題

Let {Xi}i=110\{X_i\}_{i=1}^{10} be an IID sequence of random variables drawn from a normal distribution N(μ,σ2)N(\mu, \sigma^2). Define Xˉ:=110∑i=110Xi\bar{X} := \frac{1}{10} \sum_{i=1}^{10} X_i. Suppose that ZZ is the standard normal distribution (Z∼N(0,1)Z \sim N(0,1)). What is the probability that X10∈[Xˉ−2σ,Xˉ+2σ]X_{10} \in [\bar{X}-2\sigma, \bar{X}+2\sigma]?
(A) Pr(X10∈[Xˉ−2σ,Xˉ+2σ])=Pr(Z∈[−3,3])\text{Pr}(X_{10} \in [\bar{X}-2\sigma, \bar{X}+2\sigma]) = \text{Pr}(Z \in [-\sqrt{3}, \sqrt{3}])
(B) Pr(X10∈[Xˉ−2σ,Xˉ+2σ])=Pr(Z∈[−3/10,3/10])\text{Pr}(X_{10} \in [\bar{X}-2\sigma, \bar{X}+2\sigma]) = \text{Pr}(Z \in [-3/10, 3/10])
(C) Pr(X10∈[Xˉ−2σ,Xˉ+2σ])=Pr(Z∈[−2,2])\text{Pr}(X_{10} \in [\bar{X}-2\sigma, \bar{X}+2\sigma]) = \text{Pr}(Z \in [-2, 2])
(D) Pr(X10∈[Xˉ−2σ,Xˉ+2σ])=Pr(Z∈[−1.96,1.96])\text{Pr}(X_{10} \in [\bar{X}-2\sigma, \bar{X}+2\sigma]) = \text{Pr}(Z \in [-1.96, 1.96])
(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

  • 常態分布的線性組合:若 Xi∼N(μ,σ2)X_i\sim N(\mu,\sigma^2) 且獨立,任何線性組合 a1X1+⋯+anXna_1X_1+\cdots+a_nX_n 仍為常態分布,且
E⁡[∑aiXi]=∑aiμ,Var⁡[∑aiXi]=σ2∑ai2.\operatorname{E}\big[\sum a_iX_i\big]=\sum a_i\mu,\qquad \operatorname{Var}\big[\sum a_iX_i\big]=\sigma^2\sum a_i^2 .
  • 樣本平均數 Xˉ\bar X 與單一觀測值的關係:Xˉ\bar X 包含 X10X_{10},因此 X10X_{10} 與 Xˉ\bar X 不獨立,但 X10X_{10} 與其他 X1,…,X9X_1,\dots,X_9 獨立。
  • 標準化:將欲計算的隨機變數除以其標準差,可轉換為標準常態 Z∼N(0,1)Z\sim N(0,1),再利用正態分布表或電腦求機率。

解題方法

  1. 寫出差值
X10−Xˉ=X10−110(X10+∑i=19Xi)=9X10−∑i=19Xi10.X_{10}-\bar X =X_{10}-\frac{1}{10}\Bigl(X_{10}+\sum_{i=1}^{9}X_i\Bigr) =\frac{9X_{10}-\sum_{i=1}^{9}X_i}{10}.
  1. 求分布
    • 9X10\displaystyle 9X_{10} 與 ∑i=19Xi\displaystyle \sum_{i=1}^{9}X_i 分別為常態且相互獨立(因 X10X_{10} 與 X1,…,X9X_1,\dots,X_9 獨立)。
    • 平均值

E⁡[9X10−∑i=19Xi]=9μ−9μ=0.\operatorname{E}[9X_{10}-\sum_{i=1}^{9}X_i]=9\mu-9\mu=0.

  • 變異數
Var⁡[9X10−∑i=19Xi]=92σ2+9σ2=90σ2.\operatorname{Var}[9X_{10}-\sum_{i=1}^{9}X_i] =9^2\sigma^2+9\sigma^2=90\sigma^2 .
  • 除以 1010 後
X10−Xˉ  ∼  N ⁣(0,  90100σ2)=N ⁣(0,  0.9σ2).X_{10}-\bar X\;\sim\; N\!\left(0,\;\frac{90}{100}\sigma^2\right) =N\!\bigl(0,\;0.9\sigma^2\bigr).
  1. 標準化

Z:=X10−Xˉσ0.9  ∼  N(0,1).Z:=\frac{X_{10}-\bar X}{\sigma\sqrt{0.9}}\;\sim\;N(0,1).

  1. 將事件寫成 ZZ 的區間
X10∈[Xˉ−2σ,  Xˉ+2σ]⟺∣X10−Xˉ∣≤2σ⟺∣Z∣≤2σσ0.9=20.9≈2.108.X_{10}\in[\bar X-2\sigma,\;\bar X+2\sigma] \Longleftrightarrow |X_{10}-\bar X|\le 2\sigma \Longleftrightarrow |Z|\le\frac{2\sigma}{\sigma\sqrt{0.9}} =\frac{2}{\sqrt{0.9}}\approx 2.108 .
  1. 求機率
Pr⁡(∣Z∣≤2/0.9)=Φ ⁣(2/0.9)−Φ ⁣(−2/0.9)=2Φ ⁣(2/0.9)−1.\Pr\bigl(|Z|\le 2/\sqrt{0.9}\bigr) =\Phi\!\bigl(2/\sqrt{0.9}\bigr)-\Phi\!\bigl(-2/\sqrt{0.9}\bigr) =2\Phi\!\bigl(2/\sqrt{0.9}\bigr)-1 .

其中 Φ(⋅)\Phi(\cdot) 為標準常態分布函數。數值上 Φ(2.108)≈0.9825\Phi(2.108)\approx0.9825,故機率約 0.9650.965(即 96.5%96.5\%)。


選項分析

🔒

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

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

免費註冊

第 3 題

Suppose we want to examine a policy effect on manufacturing output growth in 1960s. There is a policy that affected some cities starting 1965 in the US. Assume that the city-year level manufacturing output growth, YitY_{it}, follows the model below:
Yit=μi+τt+δDit+ϵitY_{it} = \mu_i + \tau_t + \delta D_{it} + \epsilon_{it}
where μi\mu_i is the city fixed effect; τt\tau_t is the year fixed effect, t∈{1960,1961,…,1969,1970}t \in \{1960, 1961, \dots, 1969, 1970\};
Dit={1if t≥1965 & if city i is hit by the policy0otherwiseD_{it} = \begin{cases} 1 & \text{if } t \ge 1965 \text{ \& if city } i \text{ is hit by the policy} \\ 0 & \text{otherwise} \end{cases}
, ϵit∼N(0,σ2)\epsilon_{it} \sim N(0, \sigma^2).
Which of the following is true?
(A) The expectation on the output growth of a city jj that is not affected by the policy in year T>1965T > 1965 is μj+τT+δ\mu_j + \tau_T + \delta.
(B) δ\delta captures the average difference in the absolute value of output growth in the entire sample period between cities affected by the policy and cities not affected by the policy.
(C) Some cities may intrinsically enjoy different output growth. This difference will be reflected by τt\tau_t.
(D) Before 1965, cities with and without the policy should have the same expectation on the output growth: μi+τt\mu_i + \tau_t.
(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

本題考查計量經濟學中的雙向固定效果模型(Two-Way Fixed Effects, TWFE / 雙重差分模型 DID):

Yit=μi+τt+δDit+ϵitY_{it} = \mu_i + \tau_t + \delta D_{it} + \epsilon_{it}

其中:

  • μi\mu_i:城市固定效果(City Fixed Effect),捕捉城市 ii 不隨時間改變之固有異質特徵(例如地理位置、天然資源、初始產業結構等)。不同城市的 μi\mu_i 通常不相等。
  • τt\tau_t:時間固定效果(Year Fixed Effect),捕捉全美所有城市在 tt 年共同面對的總體經濟波動與時間趨勢。
  • DitD_{it}:政策介入虛擬變數,僅在「t≥1965t \ge 1965 且城市 ii 受政策衝擊」時等於 1,其餘情況等於 0。
  • δ\delta:政策實施對產出成長率之平均處理效應(Average Treatment Effect, ATT)。
  • ϵit∼N(0,σ2)\epsilon_{it} \sim N(0, \sigma^2):隨機誤差項,E[ϵit]=0E[\epsilon_{it}] = 0。

選項逐一嚴謹分析

  • (A) The expectation on the output growth of a city jj that is not affected by the policy in year T>1965T > 1965 is μj+τT+δ\mu_j + \tau_T + \delta:
    • 錯誤。城市 jj 屬於未受政策影響之對照組,故對任意年份 TT 皆有 DjT=0D_{jT} = 0。
    • 其期望產出成長率為: E[YjT]=μj+τT+δ×0=μj+τTE[Y_{jT}] = \mu_j + \tau_T + \delta \times 0 = \mu_j + \tau_T 式中不應包含政策效果 δ\delta。
  • (B) δ\delta captures the average difference in the absolute value of output growth in the entire sample period between cities affected by the policy and cities not affected by the policy:
    • 錯誤。δ\delta 衡量的是政策實施後(t≥1965t \ge 1965)受政策衝擊城市相對於未受衝擊城市的成長率因果變動量(水準值,非絕對值 Absolute Value),且並非代表「整個樣本期間(Entire Sample Period)」兩組城市的平均差距(政策實施前 Dit=0D_{it} = 0)。
  • (C) Some cities may intrinsically enjoy different output growth. This difference will be reflected by τt\tau_t:
    • 錯誤。個別城市天生固有的成長率差異係由城市固定效果 μi\mu_i 所反映;
🔒

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

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

免費註冊

第 4 題

A random variable XX is normally distributed, X∼N(μ,σ2)X \sim N(\mu, \sigma^2). A sample of size n=9n = 9 is drawn and yields: ∑i=19Xi=90\sum_{i=1}^9 X_i = 90, and ∑i=19(Xi−Xˉ)2=72\sum_{i=1}^9 (X_i - \bar{X})^2 = 72, where Xˉ=19∑i=19Xi\bar{X} = \frac{1}{9} \sum_{i=1}^9 X_i. We would like to test the following hypothesis: H0:μ=4H_0: \mu = 4 and H1:μ≠4H_1: \mu \ne 4. We are given that t8,0.99=2.896t_{8,0.99} = 2.896, t8,0.975=2.306t_{8,0.975} = 2.306, t8,0.95=1.860t_{8,0.95} = 1.860, and t8,0.90=1.397t_{8,0.90} = 1.397, where td,αt_{d, \alpha} is the tt-statistic with dd degrees of freedom and cumulative probability of α\alpha. Which of the following is true?
(A) We cannot reject the null at 90% confidence level.
(B) We can reject the null at 90% confidence level but not at 95% confidence level.
(C) We can reject the null at 95% confidence level but not at 97.5% confidence level.
(D) We can reject the null at 97.5% confidence level but not at 99% confidence level.
(E) We can reject the null at 99% confidence level.

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

這一題的完整詳解

核心觀念

  • 正態母體 X∼N(μ,σ2)X\sim N(\mu,\sigma^{2}),樣本大小 nn 為已知,採用 t 檢定(當母體變異數未知且以樣本變異數代替時)。
  • 雙側檢定 H0:μ=μ0H_{0}:\mu=\mu_{0} vs. H1:μ≠μ0H_{1}:\mu\neq\mu_{0},檢定統計量

t=Xˉ−μ0S/n,df=n−1.t=\frac{\bar X-\mu_{0}}{S/\sqrt{n}},\qquad df=n-1 .

  • 以給定的臨界值 td,αt_{d,\alpha}(累積機率 α\alpha)判斷是否拒絕 H0H_{0}:
    • 90%90\% 信賴水準 ⇒ α=0.10\alpha=0.10,臨界值 t8,0.95t_{8,0.95}。
    • 95%95\% 信賴水準 ⇒ α=0.05\alpha=0.05,臨界值 t8,0.975t_{8,0.975}。
    • 97.5%97.5\%、99%99\% 同理,需要 t8,0.9875t_{8,0.9875}、t8,0.995t_{8,0.995},雖未直接給出,但可利用已知值作比較判斷。

解題方法與實際計算

  1. 計算樣本平均與樣本標準差

Xˉ=19∑i=19Xi=909=10.\bar X=\frac{1}{9}\sum_{i=1}^{9}X_i=\frac{90}{9}=10 .

樣本變異數

S2=∑i=19(Xi−Xˉ)2n−1=728=9,S=9=3.S^{2}= \frac{\sum_{i=1}^{9}(X_i-\bar X)^{2}}{n-1} =\frac{72}{8}=9 ,\qquad S=\sqrt{9}=3 .
  1. 算出 t 統計量
t=Xˉ−4S/n=10−43/9=63/3=61=6.t=\frac{\bar X-4}{S/\sqrt{n}} =\frac{10-4}{3/\sqrt{9}} =\frac{6}{3/3} =\frac{6}{1}=6 .

自由度 df=n−1=8df=n-1=8。

  1. 與臨界值比較
信賴水準α\alpha (雙側)臨界值 t8,1−α/2t_{8,1-\alpha/2}判斷
90%0.10t8,0.95=1.860t_{8,0.95}=1.860$
95%0.05t8,0.975=2.306t_{8,0.975}=2.306$
97.5%0.025t8,0.9875t_{8,0.9875}(≈3.3)$
99%0.01t8,0.995t_{8,0.995}(≈3.8)$

已給出的 t8,0.99=2.896t_{8,0.99}=2.896 為單尾 0.01(相當於雙側 98%),遠小於 ∣t∣=6|t|=6,因此即使在更嚴格的 99% 信賴水準,∣t∣|t| 仍大於相應臨界值。


選項逐一分析

  • (A)「我們在 90% 信賴水準下無法拒絕虛無假設」
    錯誤。∣t∣=6|t|=6 明顯大於 t8,0.95=1.860t_{8,0.95}=1.860,應拒絕。
🔒

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

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

免費註冊

第 5 題

Consider a normal distribution of the form N(μ,6)N(\mu, 6). You want to test the hypothesis that H0:μ=3H_0: \mu = 3 against the alternative H1:μ>3H_1: \mu > 3. A random sample X1,X2,…,XnX_1, X_2, \dots, X_n was obtained.
Suppose you would like to test the above one-sided hypothesis using a 5% level of significance. How would you test it?
(A) Set up a Z test where z=Xˉ−36nz = \frac{\bar{X}-3}{\sqrt{6n}} and reject the null if z>1.96z > 1.96.
(B) Set up a Z test where z=Xˉ−36/nz = \frac{\bar{X}-3}{\sqrt{6/n}} and reject the null if z>1.645z > 1.645.
(C) Set up a Z test where z=Xˉ−36/nz = \frac{\bar{X}-3}{\sqrt{6/n}} and reject the null if z>1.96z > 1.96.
(D) Set up a Z test where z=Xˉ−36nz = \frac{\bar{X}-3}{\sqrt{6n}} and reject the null if z>1.645z > 1.645.
(E) None of the above choices (a)-(d).

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

這一題的完整詳解

本題考驗對單尾 Z-檢定的設定,包括檢定統計量的計算以及拒絕域的確定。

題目給定:

  1. 母體分佈為常態分佈 N(μ,σ2)N(\mu, \sigma^2)。
  2. 題目中給定的變異數是 66。根據常態分佈的標準表示法 N(μ,σ2)N(\mu, \sigma^2),這裡的 66 應該是 σ2\sigma^2。所以 σ2=6\sigma^2 = 6。
  3. 虛無假設 H0:μ=3H_0: \mu = 3。
  4. 對立假設 H1:μ>3H_1: \mu > 3 (這是一個右尾檢定)。
  5. 顯著水準 α=5%=0.05\alpha = 5\% = 0.05。
  6. 樣本大小為 nn (未給定具體數值,但會出現在公式中)。
  7. 我們需要確定檢定統計量 zz 的形式以及拒絕域。

由於母體變異數 σ2=6\sigma^2 = 6 是已知的,我們可以使用 Z-檢定。
檢定統計量 zz 的計算公式為:
z=Xˉ−μ0SE(Xˉ)z = \frac{\bar{X} - \mu_0}{\text{SE}(\bar{X})}
其中 Xˉ\bar{X} 是樣本均值,μ0\mu_0 是虛無假設中的母體均值,SE(Xˉ)\text{SE}(\bar{X}) 是樣本均值的標準誤。

樣本均值的標準誤為:
SE(Xˉ)=σn\text{SE}(\bar{X}) = \frac{\sigma}{\sqrt{n}}
由於 σ2=6\sigma^2 = 6,所以 σ=6\sigma = \sqrt{6}。
因此,SE(Xˉ)=6n=6n\text{SE}(\bar{X}) = \frac{\sqrt{6}}{\sqrt{n}} = \sqrt{\frac{6}{n}}。

將這些代入 zz 的公式:
z=Xˉ−36/nz = \frac{\bar{X} - 3}{\sqrt{6/n}}

這是右尾檢定 (H1:μ>3H_1: \mu > 3),顯著水準為 α=0.05\alpha = 0.05。
我們需要找到標準常態分佈下,右尾機率為 0.050.05 的臨界值。
這個臨界值是 z0.05z_{0.05},使得 Pr(Z>z0.05)=0.05\text{Pr}(Z > z_{0.05}) = 0.05。

🔒

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

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

免費註冊

第 6 題

Follow the previous question, denote Φ(⋅)\Phi(\cdot) as the CDF of normal distribution. Provide the power of this test at μ1\mu_1 where μ1>3\mu_1 > 3.
(A) 1−Φ(1.645+3n6)1 - \Phi(1.645 + \frac{3\sqrt{n}}{\sqrt{6}})
(B) 1−Φ(1.645+μ1n6)1 - \Phi(1.645 + \frac{\mu_1\sqrt{n}}{\sqrt{6}})
(C) 1−Φ(1.96+μ1n6)1 - \Phi(1.96 + \frac{\mu_1\sqrt{n}}{\sqrt{6}})
(D) 1−Φ(1.645+3n6)1 - \Phi(1.645 + \frac{3\sqrt{n}}{\sqrt{6}})
(E) Φ(1.645+3−μ16/n)\Phi(1.645 + \frac{3-\mu_1}{\sqrt{6/n}})

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

這一題的完整詳解

核心觀念

  1. 假設檢定的型別:本題屬於已知變異數的單側 (右側) 檢定。
    • 虛無假設 H0:  μ=3H_0:\;\mu = 3
    • 對立假設 H1:  μ>3H_1:\;\mu > 3
  2. 檢定統計量:
Z=Xˉ−3σ/n(σ2=6)Z=\frac{\bar X-3}{\sigma/\sqrt n} \qquad\bigl(\sigma^2=6\bigr)

其中 Xˉ\bar X 為樣本平均,σ2\sigma^2 為已知母體變異數。
3. 臨界值:採用顯著水準 α=0.05\alpha =0.05(單側右尾),其標準常態上 5% 分位點為

z0.95=1.645.z_{0.95}=1.645 .

因此 拒絕域 為

Z>1.645⟺Xˉ>3+1.645 σn=3+1.6456n.Z>1.645\quad\Longleftrightarrow\quad \bar X>3+\frac{1.645\,\sigma}{\sqrt n} =3+1.645\frac{\sqrt 6}{\sqrt n}.
  1. 檢定力 (Power) 的定義:在真實參數為 μ1\mu_1(μ1>3\mu_1>3)時,檢定正確拒絕虛無假設的機率

β(μ1)=Pμ1(拒絕 H0).\beta(\mu_1)=P_{\mu_1}\bigl(\text{拒絕 }H_0\bigr).

解題步驟

  1. 寫出樣本平均的分布
    在真實均值 μ1\mu_1 下,
Xˉ∼N ⁣(μ1,σ2n)=N ⁣(μ1,6n).\bar X\sim N\!\Bigl(\mu_1,\frac{\sigma^2}{n}\Bigr) =N\!\Bigl(\mu_1,\frac{6}{n}\Bigr).
  1. 將拒絕條件以 Xˉ\bar X 表示

拒絕={Xˉ>3+1.6456n}.\text{拒絕}= \bigl\{\bar X>3+1.645\frac{\sqrt 6}{\sqrt n}\bigr\}.

  1. 計算在 μ1\mu_1 處的機率
β(μ1)=Pμ1 ⁣(Xˉ>3+1.6456n)=1−Φ ⁣(3+1.6456n−μ1σ/n)=1−Φ ⁣(3−μ16/n+1.645).\begin{aligned} \beta(\mu_1) &=P_{\mu_1}\!\left(\bar X>3+1.645\frac{\sqrt 6}{\sqrt n}\right)\\[4pt] &=1-\Phi\!\left(\frac{3+1.645\frac{\sqrt 6}{\sqrt n}-\mu_1}{\sigma/\sqrt n}\right)\\[4pt] &=1-\Phi\!\left( \frac{3-\mu_1}{\sqrt{6/n}}+1.645\right). \end{aligned}

最後一步利用 σn=6n\displaystyle \frac{\sigma}{\sqrt n}= \frac{\sqrt 6}{\sqrt n}。

  1. 整理成標準形式
Power(μ1)=1−Φ ⁣(1.645+3−μ16/n),μ1>3.\boxed{\displaystyle \text{Power}(\mu_1)= 1-\Phi\!\Bigl( 1.645+\frac{3-\mu_1}{\sqrt{6/n}} \Bigr)}, \qquad \mu_1>3 .

選項分析

選項內容判斷理由
(A)1−Φ ⁣(1.645+3n6)1-\Phi\!\bigl(1.645+\frac{3\sqrt n}{\sqrt 6}\bigr)錯內部缺少 μ1\mu_1;即使把 μ1\mu_1 換成 3,仍與正確式子不同。
(B)1−Φ ⁣(1.645+μ1n6)1-\Phi\!\bigl(1.645+\frac{\mu_1\sqrt n}{\sqrt 6}\bigr)錯符號相反,正確式子應為 1−Φ ⁣(1.645+3−μ16/n)1-\Phi\!\bigl(1.645+\frac{3-\mu_1}{\sqrt{6/n}}\bigr)。
🔒

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

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

免費註冊

第 7 題

Bob is testing the following empirical model using a sample of 1,500 observations:
Yi=β0+β1X1,i+β2X2,i+β3X3,i+β4X4,i+ϵiY_i = \beta_0 + \beta_1 X_{1,i} + \beta_2 X_{2,i} + \beta_3 X_{3,i} + \beta_4 X_{4,i} + \epsilon_i.
He found that the F-statistic of the joint test for the entire model is 300. He now considers expressing the model's strength using (unadjusted) R-square. Please calculate the R-square value for him.
(A) 0.376
(B) 0.445
(C) 0.501
(D) 0.668
(E) None of the above choices (a)-(d).

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

這一題的完整詳解

本題考驗 FF 統計量與 R2R^2 (決定係數) 之間的關係。

模型為:Yi=β0+β1X1,i+β2X2,i+β3X3,i+β4X4,i+ϵiY_i = \beta_0 + \beta_1 X_{1,i} + \beta_2 X_{2,i} + \beta_3 X_{3,i} + \beta_4 X_{4,i} + \epsilon_i
樣本大小 n=1500n = 1500。
這是一個包含截距項的迴歸模型。
自變數的數目為 k=4k=4 (即 X1,X2,X3,X4X_1, X_2, X_3, X_4)。
模型的總參數個數為 p=k+1=4+1=5p = k+1 = 4+1 = 5 (包括截距項 β0\beta_0)。

題目給定:

  • 整個模型的 FF 統計量為 Fmodel=300F_{model} = 300。
  • 這個 FF 統計量是用來檢定所有迴歸係數是否同時為零的假設。
    H0:β1=β2=β3=β4=0H_0: \beta_1 = \beta_2 = \beta_3 = \beta_4 = 0
    H1:H_1: Not all βj\beta_j are zero for j=1,2,3,4j=1,2,3,4.

FF 統計量的計算公式為:
Fmodel=SSR/(p−1)SSE/(n−p)F_{model} = \frac{SSR/(p-1)}{SSE/(n-p)}
其中:

  • SSRSSR (Sum of Squares due to Regression) 是迴歸平方和。
  • SSESSE (Sum of Squared Errors) 是殘差平方和。
  • p−1p-1 是迴歸的自由度,在這裡是 k=4k=4。
  • n−pn-p 是殘差的自由度,在這裡是 n−5=1500−5=1495n-5 = 1500-5 = 1495。

R2R^2 (決定係數) 的定義為:
R2=SSRSST=1−SSESSTR^2 = \frac{SSR}{SST} = 1 - \frac{SSE}{SST}
其中 SST=SSR+SSESST = SSR + SSE 是總平方和。

我們可以將 FmodelF_{model} 的公式改寫成與 R2R^2 相關的形式:
Fmodel=SSR/kSSE/(n−p)F_{model} = \frac{SSR/k}{SSE/(n-p)}
Fmodel=SSR/kSSE/(n−p)=SSRk×n−pSSEF_{model} = \frac{SSR/k}{SSE/(n-p)} = \frac{SSR}{k} \times \frac{n-p}{SSE}
Fmodel=SSRk×n−pSST−SSRF_{model} = \frac{SSR}{k} \times \frac{n-p}{SST - SSR}

將 R2=SSR/SSTR^2 = SSR/SST 代入:
SSR=R2×SSTSSR = R^2 \times SST
SSE=SST−SSR=SST−R2×SST=(1−R2)×SSTSSE = SST - SSR = SST - R^2 \times SST = (1-R^2) \times SST

Fmodel=(R2×SST)/k(1−R2)×SST/(n−p)F_{model} = \frac{(R^2 \times SST)/k}{(1-R^2) \times SST / (n-p)}
Fmodel=R2/k(1−R2)/(n−p)F_{model} = \frac{R^2/k}{(1-R^2)/(n-p)}

我們有 Fmodel=300F_{model} = 300, k=4k=4, n=1500n=1500, p=5p=5。
n−p=1500−5=1495n-p = 1500 - 5 = 1495。

將數值代入公式:
300=R2/4(1−R2)/1495300 = \frac{R^2/4}{(1-R^2)/1495}
300=R24×14951−R2300 = \frac{R^2}{4} \times \frac{1495}{1-R^2}
300×4=R2×14951−R2300 \times 4 = R^2 \times \frac{1495}{1-R^2}
1200=R2×14951−R21200 = R^2 \times \frac{1495}{1-R^2}

🔒

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

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

免費註冊

第 8 題

In the two-variable model:
Yi=β1Xi1+β2Xi2+ϵiY_i = \beta_1 X_{i1} + \beta_2 X_{i2} + \epsilon_i, i=1,2,3,…,11i = 1, 2, 3, \dots, 11.
Suppose that X1′X1=2X_1'X_1 = 2, X1′X2=2X_1'X_2 = 2, X1′Y=1X_1'Y = 1, X2′Y=1X_2'Y = 1, and Y′Y=4/3Y'Y = 4/3, where X1,X2X_1, X_2, and YY are the column vectors with typical elements Xi1,Xi2X_{i1}, X_{i2}, and YiY_i respectively. Furthermore, X1′X_1', X2′X_2', and Y′Y' are the transpose of X1,X2X_1, X_2, and YY respectively. Assume ϵi∼IID N(0,σ2)\epsilon_i \sim \text{IID } N(0, \sigma^2).
You are considering of testing the following hypotheses: β1=0\beta_1 = 0. Please calculate the test statistic: t=β^1−0SE(β^1)t = \frac{\hat{\beta}_1 - 0}{SE(\hat{\beta}_1)}.
Note: To calculate the standard errors, please estimate the variance-covariance matrix of β\beta as s2(X′X)−1s^2(X'X)^{-1} where s2s^2 is the residual sum of squares divided by the degree of freedom and X=[X1X2]X = [X_1 X_2].
(A) 1.0
(B) 1.5
(C) 2.0
(D) 2.5
(E) 3.0

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

這一題的完整詳解

核心觀念

  1. 普通最小平方法 (OLS):在多元線性迴歸

Y=Xβ+ε,ε∼N(0,σ2I)Y = X\beta+\varepsilon ,\qquad \varepsilon\sim N(0,\sigma^{2}I)

估計式為 β^=(X′X)−1X′Y\hat\beta=(X'X)^{-1}X'Y。
2. 變異數–共變異數矩陣:

Var⁡(β^)=σ2(X′X)−1⇒Var⁡^(β^)=s2(X′X)−1,\operatorname{Var}(\hat\beta)=\sigma^{2}(X'X)^{-1}\quad\Rightarrow\quad \widehat{\operatorname{Var}}(\hat\beta)=s^{2}(X'X)^{-1},

其中 s2=RSSn−ps^{2}= \dfrac{\text{RSS}}{n-p}(RSS 為殘差平方和,nn 為觀測數,pp 為參數個數)。
3. t 統計量:

t=β^1−0SE(β^1),SE(β^1)=s2[(X′X)−1]11.t=\frac{\hat\beta_{1}-0}{\text{SE}(\hat\beta_{1})}, \qquad \text{SE}(\hat\beta_{1})=\sqrt{s^{2}\bigl[(X'X)^{-1}\bigr]_{11}} .

解題方法

  1. 寫出 X′XX'X 與 X′YX'Y
X′X=(X1′X1X1′X2X2′X1X2′X2)=(222c),X′Y=(X1′YX2′Y)=(11),X'X= \begin{pmatrix} X_{1}'X_{1} & X_{1}'X_{2}\\[2pt] X_{2}'X_{1} & X_{2}'X_{2} \end{pmatrix} = \begin{pmatrix} 2 & 2\\ 2 & c \end{pmatrix}, \qquad X'Y= \begin{pmatrix} X_{1}'Y\\[2pt] X_{2}'Y \end{pmatrix} = \begin{pmatrix} 1\\ 1 \end{pmatrix},

其中 c:=X2′X2c:=X_{2}'X_{2} 為題目未顯示的常數,稍後再求。

  1. 求 (X′X)−1(X'X)^{-1}
(X′X)−1=12c−4(c−2−22).(X'X)^{-1}= \frac{1}{2c-4} \begin{pmatrix} c & -2\\ -2 & 2 \end{pmatrix}.
  1. 算 β^\hat\beta
β^=(X′X)−1X′Y=12c−4(c−20)=(c−22c−40).\hat\beta=(X'X)^{-1}X'Y =\frac{1}{2c-4} \begin{pmatrix} c-2\\ 0 \end{pmatrix} = \begin{pmatrix} \displaystyle\frac{c-2}{2c-4}\\[8pt] 0 \end{pmatrix}.

只要 c≠2c\neq 2,β^1=c−22c−4=12\displaystyle\hat\beta_{1}= \frac{c-2}{2c-4}= \frac12。
因此 β^1=0.5\hat\beta_{1}=0.5 與 cc 無關。

  1. 求殘差平方和 (RSS)
RSS=Y′Y−2β^1X1′Y+β^12X1′X1=43−2 ⁣× ⁣0.5 ⁣× ⁣1+0.52 ⁣× ⁣2=43−1+0.5=56.\begin{aligned} \text{RSS} &=Y'Y-2\hat\beta_{1}X_{1}'Y+\hat\beta_{1}^{2}X_{1}'X_{1}\\ &=\frac{4}{3}-2\!\times\!0.5\!\times\!1+0.5^{2}\!\times\!2\\ &=\frac{4}{3}-1+0.5=\frac{5}{6}. \end{aligned}
  1. 估計 σ2\sigma^{2}
    觀測數 n=11n=11,參數個數 p=2p=2,自由度 df=n−p=9df=n-p=9。

s2=RSSdf=5/69=554.s^{2}= \frac{\text{RSS}}{df}= \frac{5/6}{9}= \frac{5}{54}.

  1. 求 SE(β^1)\text{SE}(\hat\beta_{1})

[(X′X)−1]11=c2c−4=c2(c−2).\bigl[(X'X)^{-1}\bigr]_{11}= \frac{c}{2c-4}= \frac{c}{2(c-2)}.

SE(β^1)=s2 c2(c−2)=554⋅c2(c−2)=5c108(c−2).\text{SE}(\hat\beta_{1}) =\sqrt{s^{2}\,\frac{c}{2(c-2)}} =\sqrt{\frac{5}{54}\cdot\frac{c}{2(c-2)}} =\sqrt{\frac{5c}{108(c-2)}}.
  1. 利用題目中的隱含資訊求 cc
    由於 tt 必須是選項中之一,先代入已求得的 β^1=0.5\hat\beta_{1}=0.5,
🔒

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

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

免費註冊

第 9 題

Consider 4 events, A, B, C, D. Pr(A)=Pr(B)=Pr(C)=Pr(D)=0.4\text{Pr}(A) = \text{Pr}(B) = \text{Pr}(C) = \text{Pr}(D) = 0.4. Pr(C∩D)=Pr(C∩A)=Pr(B∩D)=0\text{Pr}(C \cap D) = \text{Pr}(C \cap A) = \text{Pr}(B \cap D) = 0. Pr(A∩B)=0.1\text{Pr}(A \cap B) = 0.1. Which of the following is possible?
(A) Pr(B∩C)=0.2\text{Pr}(B \cap C) = 0.2
(B) A and D are independent.
(C) Pr((B∩C)∪(A∩D))=0.45\text{Pr}((B \cap C) \cup (A \cap D)) = 0.45
(D) Pr(D∪A)=0.55\text{Pr}(D \cup A) = 0.55
(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

  1. 機率公理:各事件的機率均在 [0,1][0,1] ,任意兩事件的交集不可大於各自的邊際機率。
  2. 容斥原理:
    Pr⁡(A∪B)=Pr⁡(A)+Pr⁡(B)−Pr⁡(A∩B)\Pr(A\cup B)=\Pr(A)+\Pr(B)-\Pr(A\cap B)
    若兩交集互不相交,聯合機率即為各交集機率之和。
  3. 相容性條件:所有互斥且已知為 00 的交集會使相關的三元交集亦必為 00,因此只須考慮允許的兩兩交集。

解題方法
設

x=Pr⁡(B∩C),y=Pr⁡(A∩D)x=\Pr(B\cap C),\qquad y=\Pr(A\cap D)

其餘兩兩交集皆已知為 00,且所有三元、四元交集皆為 00(因任一包含已知為 00 的二元交集即為 00)。

將每個事件的機率拆成「僅屬於該事件」的部分與交集的部分:

Pr⁡(A)=a+Pr⁡(A∩B)+y=a+0.1+y=0.4  ⇒  a=0.3−y,Pr⁡(B)=b+0.1+x=0.4  ⇒  b=0.3−x,Pr⁡(C)=c+x=0.4  ⇒  c=0.4−x,Pr⁡(D)=d+y=0.4  ⇒  d=0.4−y,\begin{aligned} \Pr(A)&=a+ \Pr(A\cap B)+y = a+0.1+y =0.4 \;\Rightarrow\; a=0.3-y,\\ \Pr(B)&=b+0.1+x =0.4 \;\Rightarrow\; b=0.3-x,\\ \Pr(C)&=c+x =0.4 \;\Rightarrow\; c=0.4-x,\\ \Pr(D)&=d+y =0.4 \;\Rightarrow\; d=0.4-y, \end{aligned}

其中 a,b,c,da,b,c,d 為只屬於各事件的「排他部份」,必須非負。
因此得到界限

0≤x≤0.3,0≤y≤0.3.0\le x\le 0.3,\qquad 0\le y\le 0.3 .

全體概率(所有排他部份加上已知交集)為

Pr⁡(全體)=a+b+c+d+0.1+x+y=(0.3−y)+(0.3−x)+(0.4−x)+(0.4−y)+0.1+x+y=1.5−(x+y).\begin{aligned} \Pr(\text{全體})&=a+b+c+d+0.1+x+y\\ &=(0.3-y)+(0.3-x)+(0.4-x)+(0.4-y)+0.1+x+y\\ &=1.5-(x+y). \end{aligned}

全體概率不得大於 11,故

1.5−(x+y)≤1  ⟹  x+y≥0.5.1.5-(x+y)\le 1\;\Longrightarrow\;x+y\ge0.5 .

綜合得到可行區域

0≤x≤0.3,  0≤y≤0.3,  x+y≥0.5.0\le x\le0.3,\;0\le y\le0.3,\;x+y\ge0.5.

只要在此區域內選取 (x,y)(x,y),即可構造符合所有條件的機率模型。


選項分析

選項內容可行性判斷詳細說明
(A)Pr⁡(B∩C)=0.2\Pr(B\cap C)=0.2可能取 x=0.2x=0.2,為滿足 x+y≥0.5x+y\ge0.5 必須有 y≥0.3y\ge0.3,且 y≤0.3y\le0.3,故 y=0.3y=0.3。此時 a=0a=0, b=0.1b=0.1, c=0.2c=0.2, d=0.1d=0.1,全部非負且 Pr⁡(全體)=1\Pr(\text{全體})=1,符合所有條件。
(B)AA 與 DD 獨立不可能獨立要求 y=Pr⁡(A∩D)=Pr⁡(A)Pr⁡(D)=0.16y=\Pr(A\cap D)=\Pr(A)\Pr(D)=0.16。
🔒

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

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

免費註冊

第 10 題

XX and ϵ\epsilon are independent random variables. X∼N(μX,σX2)X \sim N(\mu_X, \sigma_X^2) and ϵ∼N(μϵ,σϵ2)\epsilon \sim N(\mu_\epsilon, \sigma_\epsilon^2). α\alpha and bb are real numbers. YY is given by: Y=α+bX+ϵY = \alpha + bX + \epsilon. Which of the following is the correlation coefficient ρ\rho between variable XX and YY?
(A) bσX2b2σX2+σϵ2\frac{b\sigma_X^2}{\sqrt{b^2\sigma_X^2 + \sigma_\epsilon^2}}
(B) bσX2σX2+σϵ2\frac{b\sigma_X^2}{\sqrt{\sigma_X^2 + \sigma_\epsilon^2}}
(C) b2+(σϵ/σX)2\sqrt{b^2 + (\sigma_\epsilon/\sigma_X)^2}
(D) b2+(σϵ2/σX2)\sqrt{b^2 + (\sigma_\epsilon^2/\sigma_X^2)}
(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

  • 相關係數 ρXY\rho_{XY} 定義為
    ρXY=Cov⁡(X,Y)σXσY.\rho_{XY}= \frac{\operatorname{Cov}(X,Y)}{\sigma_X\sigma_Y}.
  • 若 XX 與 ϵ\epsilon 獨立,且 Y=α+bX+ϵY=\alpha+bX+\epsilon,則
    Cov⁡(X,Y)=Cov⁡(X,α+bX+ϵ)=b Var⁡(X)\operatorname{Cov}(X,Y)=\operatorname{Cov}\bigl(X,\alpha+bX+\epsilon\bigr)=b\,\operatorname{Var}(X)
    因為常數 α\alpha 與獨立變數 ϵ\epsilon 與 XX 的協方差皆為 00。
  • YY 的變異數為
    Var⁡(Y)=Var⁡(α+bX+ϵ)=b2Var⁡(X)+Var⁡(ϵ)=b2σX2+σϵ2,\operatorname{Var}(Y)=\operatorname{Var}(\alpha+bX+\epsilon)=b^2\operatorname{Var}(X)+\operatorname{Var}(\epsilon)=b^2\sigma_X^2+\sigma_\epsilon^2,
    兩項因為獨立而直接相加。

解題方法

  1. 計算 XX 與 YY 的協方差:
    Cov⁡(X,Y)=bσX2.\operatorname{Cov}(X,Y)=b\sigma_X^2.

  2. 計算 YY 的標準差:
    σY=Var⁡(Y)=b2σX2+σϵ2.\sigma_Y=\sqrt{\operatorname{Var}(Y)}=\sqrt{b^2\sigma_X^2+\sigma_\epsilon^2}.

  3. 代入相關係數公式:

ρXY=bσX2σXb2σX2+σϵ2=bσXb2σX2+σϵ2=bb2+(σϵσX)2.\rho_{XY}= \frac{b\sigma_X^2}{\sigma_X\sqrt{b^2\sigma_X^2+\sigma_\epsilon^2}} = \frac{b\sigma_X}{\sqrt{b^2\sigma_X^2+\sigma_\epsilon^2}} = \frac{b}{\sqrt{b^2+\left(\frac{\sigma_\epsilon}{\sigma_X}\right)^2}}.

選項分析

選項內容與正確式子的比較判斷
(A)bσX2b2σX2+σϵ2\displaystyle \frac{b\sigma_X^2}{\sqrt{b^2\sigma_X^2+\sigma_\epsilon^2}}分母缺少 σX\sigma_X,實際上等於 ρXY⋅σX\displaystyle \rho_{XY}\cdot\sigma_X。錯誤
(B)bσX2σX2+σϵ2\displaystyle \frac{b\sigma_X^2}{\sqrt{\sigma_X^2+\sigma_\epsilon^2}}分母不含 bb,亦未正確表示 σY\sigma_Y。錯誤
(C)b2+(σϵσX)2\displaystyle \sqrt{b^2+\left(\frac{\sigma_\epsilon}{\sigma_X}\right)^2}為 b2σX2+σϵ2σX\displaystyle \frac{\sqrt{b^2\sigma_X^2+\sigma_\epsilon^2}}{\sigma_X},與 ρXY\rho_{XY} 互為倒數(僅在 b=1b=1 時才相等)。
🔒

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

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

免費註冊

第 11 題

Let XX be a N(0,1)N(0, 1)-distributed random variable, and YY be a χ2(n)\chi^2(n)-distributed random variable for some positive integer nn. Suppose that XX and YY are independent. Please calculate E(X2Y)E(X^2Y) and E(X4Y2)E(X^4Y^2).
(A) E(X2Y)=nE(X^2Y) = n and E(X4Y2)=2n+7n2E(X^4Y^2) = 2n + 7n^2
(B) E(X2Y)=nE(X^2Y) = n and E(X4Y2)=4n+5n2E(X^4Y^2) = 4n+5n^2
(C) E(X2Y)=nE(X^2Y) = n and E(X4Y2)=6n+3n2E(X^4Y^2) = 6n+3n^2
(D) E(X2Y)=nE(X^2Y) = n and E(X4Y2)=8n+n2E(X^4Y^2) = 8n+n^2
(E) None of the above choices (a)-(d).

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

這一題的完整詳解

這題是統計學中關於「隨機變數函數期望值」與「獨立性應用」的經典考題,核心觀念在於利用獨立隨機變數的乘積期望值等於期望值的乘積這一性質,將複雜的聯合期望值拆解為單變數的動差(Moments)計算。解題關鍵在於熟記標準常態分配 N(0,1)N(0,1) 與卡方分配 χ2(n)\chi^2(n) 的各階動差公式,特別是高階動差如 E(X4)E(X^4) 與 E(Y2)E(Y^2) 的推導或記憶,這往往是考生容易混淆或計算錯誤的地方。

以下是完整解題過程:

解題步驟分析

1. 利用獨立性拆解期望值

題目給定 X∼N(0,1)X \sim N(0, 1) 且 Y∼χ2(n)Y \sim \chi^2(n),並明確指出 XX 與 YY 相互獨立(independent)。
根據獨立隨機變數的性質,若 XX 與 YY 獨立,則對於任意函數 g(X)g(X) 與 h(Y)h(Y),皆有 E[g(X)h(Y)]=E[g(X)]⋅E[h(Y)]E[g(X)h(Y)] = E[g(X)] \cdot E[h(Y)]。

因此,我們可以將題目要求的兩個期望值拆解如下:
E(X2Y)=E(X2)⋅E(Y)E(X^2Y) = E(X^2) \cdot E(Y)
E(X4Y2)=E(X4)⋅E(Y2)E(X^4Y^2) = E(X^4) \cdot E(Y^2)

接下來我們分別計算 XX 與 YY 所需的各階動差。

2. 計算 XX 的動差 (X∼N(0,1)X \sim N(0, 1))

對於標準常態分配 X∼N(0,1)X \sim N(0, 1):

  • 期望值 E(X)=0E(X) = 0。
  • 變異數 Var(X)=E(X2)−[E(X)]2=1Var(X) = E(X^2) - [E(X)]^2 = 1。
    由於 E(X)=0E(X)=0,故 E(X2)=1E(X^2) = 1。
  • 第四階動差 E(X4)E(X^4):
    標準常態分配的偶數階動差公式為 E(X2k)=(2k−1)!!=(2k−1)×(2k−3)×⋯×1E(X^{2k}) = (2k-1)!! = (2k-1) \times (2k-3) \times \dots \times 1。
    當 k=2k=2 時,E(X4)=3!!=3×1=3E(X^4) = 3!! = 3 \times 1 = 3。
    (或者利用動差生成函數 MX(t)=et2/2M_X(t) = e^{t^2/2} 對 tt 微分四次後代入 t=0t=0 亦可得證)。

總結 XX 的相關動差:
E(X2)=1,E(X4)=3E(X^2) = 1, \quad E(X^4) = 3

3. 計算 YY 的動差 (Y∼χ2(n)Y \sim \chi^2(n))

對於卡方分配 Y∼χ2(n)Y \sim \chi^2(n),其自由度為 nn:

  • 期望值 E(Y)=nE(Y) = n。
  • 變異數 Var(Y)=2nVar(Y) = 2n。
    根據變異數定義 Var(Y)=E(Y2)−[E(Y)]2Var(Y) = E(Y^2) - [E(Y)]^2,我們可以反推第二階動差:
    E(Y2)=Var(Y)+[E(Y)]2=2n+n2E(Y^2) = Var(Y) + [E(Y)]^2 = 2n + n^2
🔒

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

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

免費註冊

第 12 題

Let {(Yi,Xi′)}i=1n\{(Y_i,X_i')\}_{i=1}^n be a sequence of IID random vectors, where Xi:=(Xi1,Xi2,…,Xik)′X_i:=(X_{i1},X_{i2},\ldots,X_{ik})'. Suppose that we have a multiple linear regression:

Yi=∑j=1kβjXi,j+ei,Y_i=\sum_{j=1}^k\beta_jX_{i,j}+e_i,

for i=1,2,…,ni=1,2,\ldots,n. Denote e:=(e1,e2,…,en)′e:=(e_1,e_2,\ldots,e_n)'. Assume that e∣(X1,…,Xn)∼N(0,σ2In)e\mid(X_1,\ldots,X_n)\sim N(0,\sigma^2I_n), where InI_n is the n×nn\times n identity matrix. Let f(⋅∣Xi,β,σ2)f(\cdot\mid X_i,\beta,\sigma^2) be the conditional density function of Yi∣XiY_i\mid X_i implied by this regression, with β:=(β1,β2,…,βk)′\beta:=(\beta_1,\beta_2,\ldots,\beta_k)', and let β^ML\hat{\beta}_{ML} and σ^ML2\hat{\sigma}^2_{ML} be the maximum likelihood estimators for β\beta and σ2\sigma^2, respectively, defined by maximizing the objective function:

1n∑i=1nln⁡f(Yi∣Xi,β,σ2).\frac{1}{n}\sum_{i=1}^n\ln f(Y_i\mid X_i,\beta,\sigma^2).

Which of the following is right?

(A) E(β^ML)=βE(\hat{\beta}_{ML})=\beta and E(σ^ML2)=σ2E(\hat{\sigma}^2_{ML})=\sigma^2

(B) E(β^ML)=βE(\hat{\beta}_{ML})=\beta and E(σ^ML2)=n−knσ2E(\hat{\sigma}^2_{ML})=\frac{n-k}{n}\sigma^2

(C) E(β^ML)=βE(\hat{\beta}_{ML})=\beta and E(σ^ML2)=n+knσ2E(\hat{\sigma}^2_{ML})=\frac{n+k}{n}\sigma^2

(D) E(β^ML)=βE(\hat{\beta}_{ML})=\beta and E(σ^ML2)=nn+kσ2E(\hat{\sigma}^2_{ML})=\frac{n}{n+k}\sigma^2

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

解題方法

圖中第 12 題給的是無截距的多元線性迴歸 Yi=Xi′β+eiY_i=X_i'\beta+e_i,並假設給定所有 XiX_i 後,誤差向量服從 N(0,σ2In)N(0,\sigma^2 I_n)。第 12 題的選項列出 σ^ML2\hat{\sigma}^2_{ML} 的期望值;以下依迴歸模型的標準可估性條件,假設設計矩陣 XX 滿列秩 kk。

令 Y=Xβ+eY=X\beta+e。常態模型的對數概似函數(略去與參數無關的常數)為

ℓ(β,σ2)=−n2ln⁡(σ2)−12σ2(Y−Xβ)′(Y−Xβ).\ell(\beta,\sigma^2) =-\frac{n}{2}\ln(\sigma^2) -\frac{1}{2\sigma^2}(Y-X\beta)'(Y-X\beta).

對 β\beta 最大化概似函數,等同於最小化殘差平方和,因此

β^ML=(X′X)−1X′Y.\hat{\beta}_{ML}=(X'X)^{-1}X'Y.

代入 Y=Xβ+eY=X\beta+e,在給定 XX 下有

β^ML=β+(X′X)−1X′e,\hat{\beta}_{ML} =\beta+(X'X)^{-1}X'e,

所以

E(β^ML∣X)=β.E(\hat{\beta}_{ML}\mid X)=\beta.

再對 σ2\sigma^2 最大化概似函數,可得

σ^ML2=(Y−Xβ^ML)′(Y−Xβ^ML)n=e′MXen,\hat{\sigma}^2_{ML} =\frac{(Y-X\hat{\beta}_{ML})'(Y-X\hat{\beta}_{ML})}{n} =\frac{e'M_Xe}{n},

其中 MX=In−X(X′X)−1X′M_X=I_n-X(X'X)^{-1}X' 是殘差投影矩陣。其秩為 n−kn-k。因為給定 XX 時 e∼N(0,σ2In)e\sim N(0,\sigma^2I_n),

E(e′MXe∣X)=σ2tr⁡(MX)=(n−k)σ2.E(e'M_Xe\mid X) =\sigma^2\operatorname{tr}(M_X) =(n-k)\sigma^2.

因此

E(σ^ML2∣X)=n−knσ2.E(\hat{\sigma}^2_{ML}\mid X) =\frac{n-k}{n}\sigma^2.

取無條件期望後,結果相同:E(σ^ML2)=n−knσ2E(\hat{\sigma}^2_{ML})=\frac{n-k}{n}\sigma^2。

核心觀念

最大概似估計的變異數估計量以樣本數 nn 作分母;在估計 kk 個迴歸係數後,殘差平方和的期望為 (n−k)σ2(n-k)\sigma^2。因此最大概似估計量 σ^ML2\hat{\sigma}^2_{ML} 向下偏誤。

🔒

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

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

免費註冊

第 13 題

Let YY and XX be two random variables with finite variances. Suppose that we have a misspecified regression:

Y=β0+β1X+e,Y=\beta_0+\beta_1X+e,

with E[e∣X]=h(X)E[e\mid X]=h(X) for some h(⋅)≠0h(\cdot)\ne 0. Let g(X)g(X) be a prediction of YY generated from XX, and let E[(Y−g(X))2]E[(Y-g(X))^2] be the mean squared error (MSE) of this prediction. We also let m(X)m(X) be the optimal choice of g(X)g(X) which minimizes the MSE. Which of the following is right?

(A) m(X)=β0+β1X+h(X)m(X)=\beta_0+\beta_1X+h(X)

(B) m(X)=β1Xm(X)=\beta_1X

(C) m(X)=h(X)m(X)=h(X)

(D) m(X)=β0+β1Xm(X)=\beta_0+\beta_1X

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

由 XX 來預測 YY、並以均方誤差 E[(Y−g(X))2]E[(Y-g(X))^2] 衡量預測好壞時,最佳預測函數是條件期望:

m(X)=E[Y∣X].m(X)=E[Y\mid X].

也就是說,給定 XX 後,預測值應取 YY 的條件平均。

解題方法

原卷第 5 頁第 13 題給定 Y=β0+β1X+eY=\beta_0+\beta_1X+e,且 E[e∣X]=h(X)E[e\mid X]=h(X),並要求找出使 MSE 最小的 m(X)m(X)。將平方誤差對 XX 取條件期望,可得

E[(Y−g(X))2∣X]=Var⁡(Y∣X)+(E[Y∣X]−g(X))2.E[(Y-g(X))^2\mid X] = \operatorname{Var}(Y\mid X) + \bigl(E[Y\mid X]-g(X)\bigr)^2.

其中 Var⁡(Y∣X)\operatorname{Var}(Y\mid X) 不會隨 g(X)g(X) 改變,因此要使條件 MSE 最小,必須令 g(X)=E[Y∣X]g(X)=E[Y\mid X]。由題目模型,

E[Y∣X]=E[β0+β1X+e∣X]=β0+β1X+E[e∣X]=β0+β1X+h(X).\begin{aligned} E[Y\mid X] &=E[\beta_0+\beta_1X+e\mid X]\\ &=\beta_0+\beta_1X+E[e\mid X]\\ &=\beta_0+\beta_1X+h(X). \end{aligned}

因此 m(X)=β0+β1X+h(X)m(X)=\beta_0+\beta_1X+h(X)。

選項分析

  • (A) m(X)=β0+β1X+h(X)m(X)=\beta_0+\beta_1X+h(X):正確。 這正是由條件期望 E[Y∣X]E[Y\mid X] 推得的最佳平方誤差預測函數。
🔒

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

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

免費註冊

第 14 題

Let {Xi}i=1n\{X_i\}_{i=1}^n be an IID sequence of normal random variables with μ=E(Xi)\mu=E(X_i) and σ2=var⁡(Xi)\sigma^2=\operatorname{var}(X_i). Denote Xˉ:=n−1∑i=1nXi\bar{X}:=n^{-1}\sum_{i=1}^nX_i, e^i:=Xi−Xˉ\hat{e}_i:=X_i-\bar{X}, and ei:=Xi−μe_i:=X_i-\mu. Which of the following is right?

(A) n−1/2∑i=1ne^i−n−1/2∑i=1nein^{-1/2}\sum_{i=1}^n\hat{e}_i-n^{-1/2}\sum_{i=1}^ne_i degenerates to zero, as n→∞n\to\infty

(B) n(Xˉ−μ)2n(\bar{X}-\mu)^2 degenerates to zero, as n→∞n\to\infty

(C) n−1/2∑i=1ne^i2−n−1/2∑i=1nei2n^{-1/2}\sum_{i=1}^n\hat{e}_i^2-n^{-1/2}\sum_{i=1}^ne_i^2 degenerates to zero, as n→∞n\to\infty

(D) (n−1∑i=1nei2)1/2(Xˉ−μ)(n^{-1}\sum_{i=1}^ne_i^2)^{1/2}(\bar{X}-\mu) degenerates to zero, as n→∞n\to\infty

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

本題考查計量經濟學與數理統計中隨機變數序列之極限性質(Asymptotic Properties)與退化(Degeneracy)。
設 {Xi}i=1n∼iidN(μ,σ2)\{X_i\}_{i=1}^n \overset{\text{iid}}{\sim} N(\mu, \sigma^2)。定義:

  • 樣本平均數:Xˉ=n−1∑i=1nXi\bar{X} = n^{-1}\sum_{i=1}^n X_i,其分佈為 Xˉ∼N(μ,σ2/n)\bar{X} \sim N(\mu, \sigma^2/n)。
  • 母體誤差:ei=Xi−μ∼iidN(0,σ2)e_i = X_i - \mu \overset{\text{iid}}{\sim} N(0, \sigma^2)。
  • 殘差(Residuals):e^i=Xi−Xˉ=(Xi−μ)−(Xˉ−μ)=ei−(Xˉ−μ)\hat{e}_i = X_i - \bar{X} = (X_i - \mu) - (\bar{X} - \mu) = e_i - (\bar{X} - \mu)。
  • 「隨機變數序列 YnY_n 退化至 0(degenerates to zero, as n→∞n\to\infty)」之嚴格統計學定義為:Yn→P0Y_n \xrightarrow{P} 0(依機率收斂至常數 0,即極限分佈的變異數為 0,退化為退化分佈)。若其極限分佈仍為具有正變異數的分佈(例如常態分佈或卡方分佈),則不退化至 0。

選項詳細分析與數學推導

選項 (A):

分析 n−1/2∑i=1ne^i−n−1/2∑i=1nein^{-1/2}\sum_{i=1}^n\hat{e}_i - n^{-1/2}\sum_{i=1}^ne_i:

  • 由於殘差和恆等於零:∑i=1ne^i=∑i=1n(Xi−Xˉ)=0\sum_{i=1}^n \hat{e}_i = \sum_{i=1}^n (X_i - \bar{X}) = 0。
  • 因此第一項 n−1/2∑i=1ne^i=0n^{-1/2}\sum_{i=1}^n\hat{e}_i = 0。
  • 第二項:n−1/2∑i=1nei=n−1/2∑i=1n(Xi−μ)=n1/2(Xˉ−μ)n^{-1/2}\sum_{i=1}^n e_i = n^{-1/2}\sum_{i=1}^n (X_i - \mu) = n^{1/2}(\bar{X} - \mu)。
  • 兩者之差為:
    n−1/2∑i=1ne^i−n−1/2∑i=1nei=−n1/2(Xˉ−μ)∼N(0,σ2)n^{-1/2}\sum_{i=1}^n\hat{e}_i - n^{-1/2}\sum_{i=1}^ne_i = - n^{1/2}(\bar{X} - \mu) \sim N(0, \sigma^2)
    對所有 nn 而言,其精確分佈均為常態分佈 N(0,σ2)N(0, \sigma^2),具有正變異數 σ2>0\sigma^2 > 0。
  • 當 n→∞n\to\infty 時,它收斂至一個非退化的常態分佈,並不會退化為零。故 (A) 錯誤。

選項 (B):

分析 n(Xˉ−μ)2n(\bar{X}-\mu)^2:

  • 因為 n(Xˉ−μ)∼N(0,σ2)\sqrt{n}(\bar{X}-\mu) \sim N(0, \sigma^2),標準化後得 n(Xˉ−μ)σ∼N(0,1)\frac{\sqrt{n}(\bar{X}-\mu)}{\sigma} \sim N(0, 1)。
  • 其平方為:
    n(Xˉ−μ)2σ2∼χ2(1)\frac{n(\bar{X}-\mu)^2}{\sigma^2} \sim \chi^2(1)
    因此 n(Xˉ−μ)2∼σ2χ2(1)n(\bar{X}-\mu)^2 \sim \sigma^2 \chi^2(1)。
  • 其極限分佈為自由度為 1 的卡方分佈乘上 σ2\sigma^2,其變異數為 2σ4>02\sigma^4 > 0,並不會退化為零。故 (B) 錯誤。

選項 (C):

分析 n−1/2∑i=1ne^i2−n−1/2∑i=1nei2n^{-1/2}\sum_{i=1}^n\hat{e}_i^2 - n^{-1/2}\sum_{i=1}^ne_i^2:

  • 展開殘差平方和:
    ∑i=1ne^i2=∑i=1n(Xi−Xˉ)2=∑i=1n[(Xi−μ)−(Xˉ−μ)]2=∑i=1nei2−n(Xˉ−μ)2\sum_{i=1}^n \hat{e}_i^2 = \sum_{i=1}^n (X_i - \bar{X})^2 = \sum_{i=1}^n [ (X_i - \mu) - (\bar{X} - \mu) ]^2 = \sum_{i=1}^n e_i^2 - n(\bar{X} - \mu)^2
  • 將此恆等式代入兩者之差:
🔒

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

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

免費註冊

第 15 題

Let XX be a random variable that has the probability density function:

f(x,κ)=Γ(κ+12)κπ Γ(κ2)(1+x2κ)−κ+12,f(x,\kappa)=\frac{\Gamma\left(\frac{\kappa+1}{2}\right)}{\sqrt{\kappa\pi}\,\Gamma\left(\frac{\kappa}{2}\right)} \left(1+\frac{x^2}{\kappa}\right)^{-\frac{\kappa+1}{2}},

where x∈Rx\in\mathbb{R} and κ>0\kappa>0 is the parameter. In addition, we define Z1:=ddκln⁡f(X,κ)Z_1:=\frac{d}{d\kappa}\ln f(X,\kappa) and Z2:=Z12+d2dκ2ln⁡f(X,κ)Z_2:=Z_1^2+\frac{d^2}{d\kappa^2}\ln f(X,\kappa). Which of the following is right?

(A) E(Z1)=κπE(Z_1)=\kappa\pi and E(Z2)=κ2π2Γ′′(κ+12)E(Z_2)=\kappa^2\pi^2\Gamma''\left(\frac{\kappa+1}{2}\right)

(B) E(Z1)=κΓ′(κ+12)E(Z_1)=\kappa\Gamma'\left(\frac{\kappa+1}{2}\right) and E(Z2)=κ+12π2Γ′′(κ+12)Γ(κ+12)E(Z_2)=\frac{\kappa+1}{2}\pi^2\frac{\Gamma''\left(\frac{\kappa+1}{2}\right)}{\Gamma\left(\frac{\kappa+1}{2}\right)}

(C) E(Z1)=κπΓ(κ+12)E(Z_1)=\kappa\pi\Gamma\left(\frac{\kappa+1}{2}\right) and E(Z2)=κ2π2Γ′′(κ+12)E(Z_2)=\kappa^2\pi^2\Gamma''\left(\frac{\kappa+1}{2}\right)

(D) E(Z1)=0E(Z_1)=0 and E(Z2)=0E(Z_2)=0

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

本題考的是參數化機率密度的分數函數與二階對數概似導數的期望。令 ℓ(X,κ)=ln⁡f(X,κ)\ell(X,\kappa)=\ln f(X,\kappa),則題目定義的 Z1=∂ℓ∂κZ_1=\frac{\partial \ell}{\partial\kappa} 是分數函數,而 Z2=Z12+∂2ℓ∂κ2Z_2=Z_1^2+\frac{\partial^2\ell}{\partial\kappa^2}。

由密度函數的正規化條件 ∫−∞∞f(x,κ) dx=1\int_{-\infty}^{\infty}f(x,\kappa)\,dx=1,對參數微分可得:

E(Z1)=0,E(Z2)=0.E(Z_1)=0,\qquad E(Z_2)=0.

解題方法

原卷給的是自由度參數為 κ>0\kappa>0 的 tt 分配密度,並定義 Z1Z_1 為對數密度的一階參數導數、Z2Z_2 為一階導數平方加上二階導數。由於密度對 κ\kappa 可微,對正規化條件微分即可,不必逐項展開伽瑪函數與冪次項。

先對 κ\kappa 微分:

∂∂κ∫−∞∞f(x,κ) dx=∫−∞∞∂f(x,κ)∂κ dx=0.\frac{\partial}{\partial\kappa} \int_{-\infty}^{\infty} f(x,\kappa)\,dx = \int_{-\infty}^{\infty} \frac{\partial f(x,\kappa)}{\partial\kappa}\,dx =0.

又因為 ∂f∂κ=f∂ln⁡f∂κ=fZ1\frac{\partial f}{\partial\kappa}=f\frac{\partial\ln f}{\partial\kappa}=fZ_1,所以

E(Z1)=∫−∞∞f(x,κ)Z1 dx=0.E(Z_1) = \int_{-\infty}^{\infty} f(x,\kappa)Z_1\,dx =0.

再微分一次。利用

∂2f∂κ2=f[(∂ln⁡f∂κ)2+∂2ln⁡f∂κ2]=fZ2,\frac{\partial^2 f}{\partial\kappa^2} = f\left[ \left(\frac{\partial\ln f}{\partial\kappa}\right)^2 + \frac{\partial^2\ln f}{\partial\kappa^2} \right] =fZ_2,

可得

E(Z2)=∫−∞∞f(x,κ)Z2 dx=∂2∂κ2∫−∞∞f(x,κ) dx=0.E(Z_2) = \int_{-\infty}^{\infty}f(x,\kappa)Z_2\,dx = \frac{\partial^2}{\partial\kappa^2} \int_{-\infty}^{\infty}f(x,\kappa)\,dx =0.

選項分析

  • (A) 錯誤。 原卷列出的 E(Z1)=κπE(Z_1)=\kappa\pi 與
🔒

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

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

免費註冊

第 16 題

Let InI_n be the n×nn\times n identity matrix, and XX be an n×2n\times 2 matrix with n>2n>2:

X:=[x11x12x21x22⋮⋮xn1xn2],X:= \begin{bmatrix} x_{11} & x_{12}\\ x_{21} & x_{22}\\ \vdots & \vdots\\ x_{n1} & x_{n2} \end{bmatrix},

in which the xijx_{ij}'s are independent and N(0,1)N(0,1)-distributed random variables. Note that X′X' is the transpose of XX. Suppose that X′XX'X is positive definite. Denote Y:=X(X′X)−1X′Y:=X(X'X)^{-1}X', Z:=In−YZ:=I_n-Y, M1:=E[trace⁡(YZ)]M_1:=E[\operatorname{trace}(YZ)], and M2:=E[trace⁡(ZZ)]M_2:=E[\operatorname{trace}(ZZ)]. Please calculate M1M_1 and M2M_2.

(A) M1=0M_1=0 and M2=(n−2)M_2=(n-2)

(B) M1=0M_1=0 and M2=(n−2)2M_2=(n-2)^2

(C) M1=0M_1=0 and M2=(n−4)M_2=(n-4)

(D) M1=0M_1=0 and M2=(n−4)2M_2=(n-4)^2

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

Y=X(X′X)−1X′Y=X(X'X)^{-1}X' 是投影到 XX 的欄空間上的投影矩陣;在 X′XX'X 正定時,XX 的欄秩為 22,所以 YY 對稱且冪等,並有 rank⁡(Y)=2\operatorname{rank}(Y)=2。因此 Z=In−YZ=I_n-Y 也是對稱冪等矩陣,投影到 YY 的正交補空間,秩為 n−2n-2。

解題方法

依原卷圖,XX 是 n×2n\times2 矩陣,元素相互獨立且服從 N(0,1)N(0,1),並假設 X′XX'X 正定;題目定義 Y=X(X′X)−1X′Y=X(X'X)^{-1}X'、Z=In−YZ=I_n-Y,要求 M1=E[trace⁡(YZ)]M_1=E[\operatorname{trace}(YZ)] 與 M2=E[trace⁡(ZZ)]M_2=E[\operatorname{trace}(ZZ)]。

由 YY 的冪等性 Y2=YY^2=Y,可得

YZ=Y(In−Y)=Y−Y2=0,YZ=Y(I_n-Y)=Y-Y^2=0,

因此

M1=E[trace⁡(YZ)]=0.M_1=E[\operatorname{trace}(YZ)]=0.

又因 Z=In−YZ=I_n-Y,且 YY、InI_n 都是對稱矩陣,ZZ 也是對稱矩陣。並且

Z2=(In−Y)2=In−2Y+Y2=In−Y=Z.Z^2=(I_n-Y)^2=I_n-2Y+Y^2=I_n-Y=Z.

所以

M2=E[trace⁡(ZZ)]=E[trace⁡(Z2)]=E[trace⁡(Z)].M_2=E[\operatorname{trace}(ZZ)] =E[\operatorname{trace}(Z^2)] =E[\operatorname{trace}(Z)].

ZZ 是秩為 n−2n-2 的投影矩陣,故 trace⁡(Z)=n−2\operatorname{trace}(Z)=n-2,進而

M2=n−2.M_2=n-2.

驗算:投影矩陣的特徵值只有 00 與 11;ZZ 有 n−2n-2 個特徵值為 11,故 trace⁡(Z2)=n−2\operatorname{trace}(Z^2)=n-2,與上式相符。

選項分析

🔒

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

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

免費註冊

第 17 題

Let {Xi}i=1n\{X_i\}_{i=1}^n be an IID sequence of N(0,1)N(0,1) random variables, and let {Zi}i=1n\{Z_i\}_{i=1}^n be another IID sequence of N(0,1)N(0,1) random variables. In addition, {Xi}i=1n\{X_i\}_{i=1}^n is independent of {Zi}i=1n\{Z_i\}_{i=1}^n, and we define Yi:=3Xi2+4Zi3Y_i:=3X_i^2+4Z_i^3. Consider a simple linear regression:

Yi=β0+β1Xi+ei,Y_i=\beta_0+\beta_1X_i+e_i,

where β0\beta_0 and β1\beta_1 are regression coefficients, and eie_i is a zero-mean error. Let β^0\hat{\beta}_0 and β^1\hat{\beta}_1 be the ordinary least squares estimators for β0\beta_0 and β1\beta_1, respectively. Suppose that β^0\hat{\beta}_0 and β^1\hat{\beta}_1 are, respectively, consistent for β0∗\beta_0^* and β1∗\beta_1^* as n→∞n\to\infty. Please calculate β0∗\beta_0^* and β1∗\beta_1^*.

(A) β0∗=6\beta_0^*=6 and β1∗=3\beta_1^*=3

(B) β0∗=5\beta_0^*=5 and β1∗=2\beta_1^*=2

(C) β0∗=4\beta_0^*=4 and β1∗=1\beta_1^*=1

(D) β0∗=3\beta_0^*=3 and β1∗=0\beta_1^*=0

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

這題考的是簡單線性迴歸的母體線性投影係數。在大樣本下,最小平方法估計量收斂至:

β1∗=Cov⁡(X,Y)Var⁡(X),β0∗=E[Y]−β1∗E[X].\beta_1^*=\frac{\operatorname{Cov}(X,Y)}{\operatorname{Var}(X)}, \qquad \beta_0^*=E[Y]-\beta_1^*E[X].

這裡的 β0∗,β1∗\beta_0^*,\beta_1^* 是以 XX 線性預測 YY 時的母體截距與斜率。

解題方法

圖中第 17 題給定 XiX_i 與 ZiZ_i 分別為標準常態 IID 序列,且兩序列相互獨立,並定義 Yi=3Xi2+4Zi3Y_i=3X_i^2+4Z_i^3。因此以母體線性投影公式計算截距與斜率即可。

由標準常態分配的動差,

E[X]=E[Z]=0,E[X2]=1,E[X3]=E[Z3]=0.E[X]=E[Z]=0,\qquad E[X^2]=1,\qquad E[X^3]=E[Z^3]=0.

先求 YY 的期望:

E[Y]=3E[X2]+4E[Z3]=3.E[Y]=3E[X^2]+4E[Z^3]=3.

再求斜率。因為 E[X]=0E[X]=0、Var⁡(X)=1\operatorname{Var}(X)=1,

β1∗=Cov⁡(X,Y)Var⁡(X)=E[XY].\beta_1^* =\frac{\operatorname{Cov}(X,Y)}{\operatorname{Var}(X)} =E[XY].

代入 YY 並利用 X,ZX,Z 獨立:

E[XY]=3E[X3]+4E[XZ3]=3E[X3]+4E[X]E[Z3]=0.E[XY] =3E[X^3]+4E[XZ^3] =3E[X^3]+4E[X]E[Z^3] =0.

所以 β1∗=0\beta_1^*=0,而截距為

β0∗=E[Y]−β1∗E[X]=3.\beta_0^*=E[Y]-\beta_1^*E[X]=3.

代回母體投影條件,預測值為常數 33;殘差 Y−3=3(X2−1)+4Z3Y-3=3(X^2-1)+4Z^3 的期望為 00,且其與 XX 的共變異數為 00,符合截距與斜率的母體投影條件。

選項分析

🔒

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

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

免費註冊

第 18 題

Let {(Yi,X1i,X2i)}i=1n\{(Y_i,X_{1i},X_{2i})\}_{i=1}^n be an IID sequence of trivariate normal random variables. The mean vector and the covariance matrix of (Yi,X1i,X2i)′(Y_i,X_{1i},X_{2i})' are unknown. Consider the following linear regression:

Yi=β0+β1X1i+β2X2i+ei,Y_i=\beta_0+\beta_1X_{1i}+\beta_2X_{2i}+e_i,

where eie_i is a zero-mean error. Let PP be the p-value of the tt statistic for the following hypotheses:

H0: β2=0;H1: β2>0.H_0:\ \beta_2=0;\qquad H_1:\ \beta_2>0.

Please calculate the third and fourth moments of PP under H0H_0.

(A) E(P3)=0.25E(P^3)=0.25 and E(P4)=0.20E(P^4)=0.20

(B) E(P3)=0.45E(P^3)=0.45 and E(P4)=0.30E(P^4)=0.30

(C) E(P3)=0.15E(P^3)=0.15 and E(P4)=0.10E(P^4)=0.10

(D) E(P3)=0.35E(P^3)=0.35 and E(P4)=0.15E(P^4)=0.15

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

本題考查虛無假設成立時,連續檢定統計量所對應的 pp 值服從均勻分配。若 P∼U(0,1)P\sim U(0,1),則其第 kk 階動差為

E(Pk)=∫01pk dp=1k+1.E(P^k)=\int_0^1 p^k\,dp=\frac{1}{k+1}.

解題方法

依原卷圖中第 18 題,資料為三變量常態的獨立同分配樣本,模型含截距與兩個解釋變數,檢定為 H0:β2=0H_0:\beta_2=0 對 H1:β2>0H_1:\beta_2>0。在常態模型及設計矩陣滿秩的條件下,虛無假設成立時,對 β2\beta_2 的 tt 統計量服從中心 tt 分配;設其累積分配函數為 FtF_t,則單尾 pp 值為 P=1−Ft(T)P=1-F_t(T)。

由連續分配的機率積分轉換,Ft(T)∼U(0,1)F_t(T)\sim U(0,1),因此 1−Ft(T)1-F_t(T) 也服從 U(0,1)U(0,1)。代入 k=3k=3 與 k=4k=4:

E(P3)=13+1=14=0.25,E(P4)=14+1=15=0.20.E(P^3)=\frac{1}{3+1}=\frac14=0.25, \qquad E(P^4)=\frac{1}{4+1}=\frac15=0.20.

驗算時,均勻分配的 kk 階動差應為 1/(k+1)1/(k+1);三階與四階分別為 1/41/4、1/51/5,與選項數值相符。

選項分析

🔒

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

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

免費註冊

第 19 題

Let {Xi}i=1n\{X_i\}_{i=1}^n be an IID sequence of random variables with zero mean and variance σ2<∞\sigma^2<\infty. Define Xˉ:=n−1∑i=1nXi\bar{X}:=n^{-1}\sum_{i=1}^nX_i. Let Mn(⋅)M_n(\cdot) be the moment generating function of the statistic n1/2Xˉ/σn^{1/2}\bar{X}/\sigma, and M(⋅)M(\cdot) be the moment generating function of the random variable XiX_i. We also let tt be an arbitrary real number. Which of the following is right?

(A) nMn(t)=1σ2nM(tσn)n−1nM_n(t)=\frac{1}{\sigma^2\sqrt{n}}M\left(\frac{t}{\sigma\sqrt{n}}\right)^{n-1}

(B) Mn(t)=1σ2nM(tσn)n−2M_n(t)=\frac{1}{\sigma^2\sqrt{n}}M\left(\frac{t}{\sigma\sqrt{n}}\right)^{n-2}

(C) Mn(t)=1σnM(tσn)nM_n(t)=\frac{1}{\sigma\sqrt{n}}M\left(\frac{t}{\sigma\sqrt{n}}\right)^n

(D) Mn(t)=M(tσn)nM_n(t)=M\left(\frac{t}{\sigma\sqrt{n}}\right)^n

(E) None of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

本題考的是動差生成函數(MGF)的定義,以及獨立隨機變數和的 MGF 乘積性。若 X1,…,XnX_1,\ldots,X_n 獨立同分布,則

M∑i=1nXi(s)=∏i=1nMXi(s)=[M(s)]n.M_{\sum_{i=1}^n X_i}(s) = \prod_{i=1}^n M_{X_i}(s) = \bigl[M(s)\bigr]^n.

解題方法

依原卷,X1,…,XnX_1,\ldots,X_n 為平均數為 00、變異數為 σ2<∞\sigma^2<\infty 的 IID 隨機變數,Xˉ=n−1∑i=1nXi\bar X=n^{-1}\sum_{i=1}^n X_i;題目要找統計量 n Xˉ/σ\sqrt n\,\bar X/\sigma 的 MGF。先把統計量寫成各 XiX_i 的線性組合:

n Xˉσ=nσ⋅1n∑i=1nXi=∑i=1nXiσn.\frac{\sqrt n\,\bar X}{\sigma} = \frac{\sqrt n}{\sigma}\cdot\frac{1}{n}\sum_{i=1}^n X_i = \sum_{i=1}^n\frac{X_i}{\sigma\sqrt n}.

依 MGF 定義,

Mn(t)=E[exp⁡(tn Xˉσ)]=E[exp⁡(∑i=1ntXiσn)]=E[∏i=1nexp⁡(tXiσn)].\begin{aligned} M_n(t) &=E\left[\exp\left(t\frac{\sqrt n\,\bar X}{\sigma}\right)\right]\\ &=E\left[\exp\left(\sum_{i=1}^n\frac{tX_i}{\sigma\sqrt n}\right)\right]\\ &=E\left[\prod_{i=1}^n\exp\left(\frac{tX_i}{\sigma\sqrt n}\right)\right]. \end{aligned}

由於 XiX_i 相互獨立,期望值可拆成乘積;又每個 XiX_i 的 MGF 都是 M(⋅)M(\cdot),因此

Mn(t)=∏i=1nM(tσn)=M(tσn)n.M_n(t) = \prod_{i=1}^n M\left(\frac{t}{\sigma\sqrt n}\right) = M\left(\frac{t}{\sigma\sqrt n}\right)^n.

選項分析

🔒

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

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

免費註冊

第 20 題

Let {Yi}i=1n\{Y_i\}_{i=1}^n and {Xi}i=1n\{X_i\}_{i=1}^n be two sequences of IID normal random variables. Consider a simple linear regression:

Yi=βXi+ei,Y_i=\beta X_i+e_i,

where eie_i is a zero-mean error. Let β^\hat{\beta} be the ordinary least squares estimator for β\beta. Denote the fitted value Y^i:=β^Xi\hat{Y}_i:=\hat{\beta}X_i, the residual e^i:=Yi−Y^i\hat{e}_i:=Y_i-\hat{Y}_i, and the sample averages:

Yˉ:=n−1∑i=1nYiandY^ˉ:=n−1∑i=1nY^i.\bar{Y}:=n^{-1}\sum_{i=1}^nY_i \qquad\text{and}\qquad \bar{\hat{Y}}:=n^{-1}\sum_{i=1}^n\hat{Y}_i.

We also define

R2:=∑i=1n(Yi−Y^ˉ)2∑i=1n(Yi−Yˉ)2.R^2:=\frac{\sum_{i=1}^n(Y_i-\bar{\hat{Y}})^2}{\sum_{i=1}^n(Y_i-\bar{Y})^2}.

and let ρ^\hat{\rho} be the sample correlation coefficient of {(Yi,Y^i)}i=1n\{(Y_i,\hat{Y}_i)\}_{i=1}^n. Which of the following is right?

(A) n−1∑i=1ne^i=0n^{-1}\sum_{i=1}^n\hat{e}_i=0

(B) 0≤R2≤10\leq R^2\leq 1

(C) n−1∑i=1nXie^i=0n^{-1}\sum_{i=1}^nX_i\hat{e}_i=0

(D) R2=ρ^2R^2=\hat{\rho}^2

(E) All of the above choices (a)-(d).

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

這一題的完整詳解

核心觀念

本題考的是沒有截距項的簡單線性迴歸。模型為 Yi=βXi+eiY_i=\beta X_i+e_i,最小平方法只保證殘差與解釋變數正交:

∑i=1nXie^i=0.\sum_{i=1}^n X_i\hat e_i=0.

因為模型沒有截距,並不保證殘差總和為零;以樣本平均數計算的 R2R^2 也不能直接套用含截距迴歸的常見性質。

解題方法

原卷圖中列出的模型沒有截距項,殘差定義為 e^i=Yi−β^Xi\hat e_i=Y_i-\hat\beta X_i;圖中 R2R^2 的分母是以 Yˉ\bar Y 為中心的總平方和。先由最小平方法的一階條件判斷選項,再檢查其餘敘述是否為此模型必然成立的性質。

最小化殘差平方和

∑i=1n(Yi−βXi)2\sum_{i=1}^n (Y_i-\beta X_i)^2

對 β\beta 微分並令其為零:

−2∑i=1nXi(Yi−β^Xi)=0.-2\sum_{i=1}^n X_i(Y_i-\hat\beta X_i)=0.

因此

∑i=1nXie^i=0,n−1∑i=1nXie^i=0.\sum_{i=1}^n X_i\hat e_i=0, \qquad n^{-1}\sum_{i=1}^n X_i\hat e_i=0.

這正是選項 (C)。

選項分析

(A) 錯。 沒有截距項時,最小平方法不保證殘差平均數為零。以 n=2n=2、(X1,X2)=(1,0.1)(X_1,X_2)=(1,0.1)、(Y1,Y2)=(1,1.1)(Y_1,Y_2)=(1,1.1) 為例,

β^=∑XiYi∑Xi2=1.111.01≠1,\hat\beta=\frac{\sum X_iY_i}{\sum X_i^2} =\frac{1.11}{1.01}\ne 1,

殘差總和不為零。這符合「殘差與 XiX_i 正交」的條件,但不代表殘差與常數向量正交。

(B) 錯。 題目所列的 R2R^2 不保證介於 00 與 11。仍用上述資料,Yˉ=1.05\bar Y=1.05,Y^ˉ≈0.6045\bar{\hat Y}\approx0.6045。依圖中公式計算,分母為

∑i=12(Yi−Yˉ)2=0.005,\sum_{i=1}^2(Y_i-\bar Y)^2=0.005,

分子為

🔒

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

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

免費註冊

其他考古題