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
🔒

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

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

免費註冊

第 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 的區間
🔒

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

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

免費註冊

第 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).

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

這一題的完整詳解

本題考驗對固定效果模型 (Fixed Effects Model) 的理解,特別是政策變數的解釋及其與模型參數的關係。

模型為:Yit=μi+τt+δDit+ϵitY_{it} = \mu_i + \tau_t + \delta D_{it} + \epsilon_{it}
其中:

  • YitY_{it}: 城市 ii 在年份 tt 的製造業產出成長率。
  • μi\mu_i: 城市 ii 的固定效果 (city fixed effect),代表城市本身的特徵對產出成長的長期影響,與年份無關。
  • τt\tau_t: 年份 tt 的固定效果 (year fixed effect),代表該年份整體對產出成長的影響,與城市無關。
  • DitD_{it}: 政策變數,定義為:
    • Dit=1D_{it} = 1 如果城市 ii 在年份 tt 受政策影響(即 t≥1965t \ge 1965 且城市 ii 被政策影響)。
    • Dit=0D_{it} = 0 否則。
  • ϵit\epsilon_{it}: 隨機誤差項,服從 N(0,σ2)N(0, \sigma^2),假設獨立同分佈。

我們需要評估每個選項的正確性。

選項 (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 不受政策影響 (city jj is not affected by the policy)。這意味著對於所有年份 tt,城市 jj 的 DjtD_{jt} 都是 0。
  • 年份 T>1965T > 1965。
  • 在這種情況下,DjT=0D_{jT} = 0(因為城市 jj 不受政策影響,即使 T≥1965T \ge 1965)。
  • 模型中的期望值是 E[YjT]=E[μj+τT+δDjT+ϵjT]E[Y_{jT}] = E[\mu_j + \tau_T + \delta D_{jT} + \epsilon_{jT}]。
  • 由於 ϵjT\epsilon_{jT} 的期望值為 0,所以 E[YjT]=μj+τT+δ×0=μj+τTE[Y_{jT}] = \mu_j + \tau_T + \delta \times 0 = \mu_j + \tau_T。
  • 選項 (A) 說期望值是 μ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.」

  • δ\delta 是政策變數 DitD_{it} 的係數。
  • DitD_{it} 的定義是:當城市 ii 在年份 tt 受政策影響時為 1,否則為 0。
🔒

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

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

免費註冊

第 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$
🔒

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

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

免費註冊

第 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}。

🔒

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

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

免費註冊

第 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. 整理成標準形式
🔒

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

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

免費註冊

第 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

🔒

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

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

免費註冊

第 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}
🔒

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

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

免費註冊

第 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),即可構造符合所有條件的機率模型。


選項分析

🔒

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

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

免費註冊

第 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,實際上等於
🔒

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

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

免費註冊

第 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。
🔒

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

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

免費註冊

第 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.

因此

🔒

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

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

免費註冊

第 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]。由題目模型,

🔒

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

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

免費註冊

第 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).

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

這一題的完整詳解
載入中…

第 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.

再微分一次。利用

🔒

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

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

免費註冊

第 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)].
🔒

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

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

免費註冊

第 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 獨立:

🔒

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

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

免費註冊

第 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:

🔒

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

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

免費註冊

第 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}
🔒

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

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

免費註冊

第 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,

殘差總和不為零。

🔒

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

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

免費註冊

其他考古題