114 年 國立政治大學金融學系碩士班金融管理組《統計學A》

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

第 1 題20 分

  1. (20%) Suppose you roll a fair 6-sided die 40 times (independently), and you get 5everytimeyourolla2.Let5 every time you roll a 2. Let X_1bethenumberofdollarsyouwinonrolls1through10.Letbe the number of dollars you win on rolls 1 through 10. LetX_2bethenumberofdollarsyouwinonrolls11through20.Letbe the number of dollars you win on rolls 11 through 20. LetX_3bethenumberofdollarsyouwinonrolls21through30.Letbe the number of dollars you win on rolls 21 through 30. LetX_4bethenumberofdollarsyouwinonrolls31through40.Letbe the number of dollars you win on rolls 31 through 40. LetY=X_1 + X_2 + X_3+X_4$ be the total number of dollars you win over all 40 rolls.

(1) Describe the probability mass (density) function of YY. (6%)
(2) Compute the expectation and variance of YY. (7%)
(3) Let Z=4X1Z = 4X_1. Compute the expectation and variance of ZZ. (7%)

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

這一題的完整詳解

此題主要在考察隨機變數的定義、期望值與變異數的計算,以及線性組合的期望值與變異數性質。

首先,我們需要釐清每一個獨立事件的期望值與變異數。
一個公平的六面骰子,出現數字 2 的機率為 p=16p = \frac{1}{6}。
如果出現數字 2,則贏得 5元。因此,每一次獨立的滾動,贏得的金額可以視為一個Bernoulli隨機變數5 元。 因此,每一次獨立的滾動,贏得的金額可以視為一個 Bernoulli 隨機變數 W,其中:,其中: P(W=5) = p = \frac{1}{6} P(W=0) = 1-p = \frac{5}{6}$

期望值 E[W]=5×16+0×56=56E[W] = 5 \times \frac{1}{6} + 0 \times \frac{5}{6} = \frac{5}{6}。
變異數 Var(W)=E[W2]−(E[W])2Var(W) = E[W^2] - (E[W])^2。
E[W2]=52×16+02×56=256E[W^2] = 5^2 \times \frac{1}{6} + 0^2 \times \frac{5}{6} = \frac{25}{6}。
Var(W)=256−(56)2=256−2536=150−2536=12536Var(W) = \frac{25}{6} - (\frac{5}{6})^2 = \frac{25}{6} - \frac{25}{36} = \frac{150-25}{36} = \frac{125}{36}。

X1,X2,X3,X4X_1, X_2, X_3, X_4 分別代表在前 10, 11-20, 21-30, 31-40 次滾動中贏得的總金額。由於每一次滾動都是獨立的,且每次滾動贏得金額的期望值和變異數都相同,所以 X1,X2,X3,X4X_1, X_2, X_3, X_4 實際上是 10 次獨立的 Bernoulli 實驗(每次實驗的成功機率為 1/61/6,成功則贏得 5 元)的總金額。
更精確地說,如果我們定義一個指示變數 IiI_i 表示第 ii 次滾動是否為 2 (Ii=1I_i=1 若為 2, Ii=0I_i=0 若非 2),則每次滾動的贏得金額為 5Ii5 I_i。
X1=∑i=1105IiX_1 = \sum_{i=1}^{10} 5 I_i
X2=∑i=11205IiX_2 = \sum_{i=11}^{20} 5 I_i
X3=∑i=21305IiX_3 = \sum_{i=21}^{30} 5 I_i
X4=∑i=31405IiX_4 = \sum_{i=31}^{40} 5 I_i

因為 IiI_i 是 Bernoulli 隨機變數,具有 P(Ii=1)=1/6P(I_i=1) = 1/6。
E[Ii]=1/6E[I_i] = 1/6
Var(Ii)=(1/6)(1−1/6)=5/36Var(I_i) = (1/6)(1 - 1/6) = 5/36

(1) Describe the probability mass (density) function of YY. (6%)
YY 是 40 次獨立滾動贏得的總金額。由於每次滾動贏得的金額是 5 元或 0 元,且總共有 40 次滾動,因此 YY 的可能值為 5k5k,其中 kk 是 40 次滾動中出現數字 2 的總次數。
這 40 次滾動可以看作是 40 次獨立的 Bernoulli 試驗,每次試驗成功的機率(滾出數字 2)為 p=1/6p = 1/6。
令 NN 為 40 次滾動中出現數字 2 的總次數。則 NN 服從二項分佈 B(n=40,p=1/6)B(n=40, p=1/6)。
P(N=k)=(40k)(16)k(56)40−kP(N=k) = \binom{40}{k} (\frac{1}{6})^k (\frac{5}{6})^{40-k}, for k=0,1,…,40k = 0, 1, \dots, 40.
由於 Y=5NY = 5N,所以 YY 的可能值為 0,5,10,…,2000, 5, 10, \dots, 200。
YY 的機率質量函數 (PMF) 為:
P(Y=y)=P(5N=y)=P(N=y/5)P(Y=y) = P(5N=y) = P(N=y/5)
P(Y=y)=(40y/5)(16)y/5(56)40−y/5P(Y=y) = \binom{40}{y/5} (\frac{1}{6})^{y/5} (\frac{5}{6})^{40-y/5}, for y∈{0,5,10,…,200}y \in \{0, 5, 10, \dots, 200\}.
注意,只有當 yy 是 5 的倍數時,機率才不為零。

【答案】YY 的機率質量函數為 P(Y=y)=(40y/5)(16)y/5(56)40−y/5P(Y=y) = \binom{40}{y/5} (\frac{1}{6})^{y/5} (\frac{5}{6})^{40-y/5},其中 $y \in {0, 5, 10, \dots, 200}

🔒

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

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

免費註冊

第 2 題23 分

  1. (23%) A VP of Consumer Credit of a bank monitors the default rate on personal loans at their member banks. One of her standard's is "no more than 5% of personal loans should be in default." On each Friday, the default rate is calculated for a sample of 500 personal loans.

(1) Last Friday's sample contained 30 defaulted loans. Based on the information, please confirm whether the VP's standard is correct at the 0.01 significance level. (7%)
(2) Compute the power for part (1) when the true default rate on personal loans is 7%. (10%)
(3) At a 95% confidence level, the VP would like to have a margin of error for the loan default estimate being within 1%. Find the required sample size. (6%)

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

這一題的完整詳解

核心觀念

本題考查三個比例推論概念:

  1. 單一母體比例的右尾假設檢定
  2. 檢定力(power)
  3. 母體比例估計的樣本數決定

令個人貸款違約率為 pp,樣本違約比例為 p^\hat p。樣本量為 n=500n=500 時,違約件數可視為:

X∼Binomial⁡(n,p)X\sim \operatorname{Binomial}(n,p)

當 np0np_0 與 n(1−p0)n(1-p_0) 皆足夠大時,可使用常態近似。


(1) 檢定副總裁的標準是否成立

解題方法

副總裁的標準為「違約率不超過 5%5\%」,因此要檢查是否有足夠證據顯示實際違約率超過 5%5\%。

設定假設:

H0:p≤0.05H_0:p\leq 0.05 H1:p>0.05H_1:p>0.05

這是右尾檢定,顯著水準為:

α=0.01\alpha=0.01

在虛無假設邊界 p0=0.05p_0=0.05 下,樣本違約率為:

p^=30500=0.06\hat p=\frac{30}{500}=0.06

比例檢定統計量為:

z=p^−p0p0(1−p0)nz=\frac{\hat p-p_0} {\sqrt{\dfrac{p_0(1-p_0)}{n}}}

代入數值:

z=0.06−0.050.05(0.95)500=0.010.009747≈1.026z= \frac{0.06-0.05} {\sqrt{\dfrac{0.05(0.95)}{500}}} = \frac{0.01}{0.009747} \approx 1.026

右尾檢定在 α=0.01\alpha=0.01 下的臨界值為:

z0.01=2.326z_{0.01}=2.326

拒絕域為:

z>2.326z>2.326

但本題:

1.026<2.3261.026<2.326

因此不拒絕 H0H_0。

亦可用 pp 值判斷:

p-value=P(Z>1.026)≈0.152p\text{-value}=P(Z>1.026)\approx 0.152

由於:

0.152>0.010.152>0.01

同樣得到不拒絕 H0H_0 的結論。

結論

在 1%1\% 顯著水準下,沒有足夠證據顯示實際違約率高於 5%5\%。因此,本次樣本結果與副總裁「違約率不超過 5%5\%」的標準一致。

需注意:不拒絕 H0H_0 並不代表已證明 pp 一定不超過 5%5\%,而是證據不足以判定標準遭到違反。


(2) 當真實違約率為 7%7\% 時的檢定力

解題方法

檢定力定義為:

Power=P(拒絕 H0∣p=0.07)\text{Power} = P(\text{拒絕 }H_0\mid p=0.07)

首先找出本檢定的拒絕門檻。

由右尾檢定:

p^−0.050.05(0.95)500>2.326\frac{\hat p-0.05} {\sqrt{\dfrac{0.05(0.95)}{500}}}>2.326

整理得:

p^>0.05+2.3260.05(0.95)500\hat p> 0.05+ 2.326\sqrt{\frac{0.05(0.95)}{500}} p^>0.05+2.326(0.009747)\hat p>0.05+2.326(0.009747) p^>0.07267\hat p>0.07267

因此,檢定的拒絕域約為:

p^>0.07267\hat p>0.07267

當真實違約率為 p=0.07p=0.07 時:

🔒

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

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

免費註冊

第 3 題17 分

  1. (17%) A bank' policy requires consistent, uniform training of employees at all bank branches. Consequently, the VP of Human Resources orders a survey of mean employee training time in the Southeast region (indicated as population 1) and the Southwest region (indicated as population 2). His staff randomly selected personnel records of 15 employees from each region, and reported the following: xˉ1=30\bar{x}_1 = 30 hours, xˉ2=27\bar{x}_2 = 27 hours, s1=6s_1 = 6, and s2=5s_2 = 5.

(1) Conduct a test to decide whether the population variances for training time in both regions are equal at the 0.05 significance level. (7%)
(2) Conduct a test to decide whether the population mean training time in the Southeast region is greater than that of the Southwest region at the 0.01 significance level. (10%)

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

這一題的完整詳解

此題主要考察兩個獨立樣本的變異數相等檢定(F檢定)以及兩個獨立樣本的平均數相等檢定(t檢定)。

給定數據:
Southeast Region (Population 1): n1=15n_1 = 15, xˉ1=30\bar{x}_1 = 30, s1=6s_1 = 6
Southwest Region (Population 2): n2=15n_2 = 15, xˉ2=27\bar{x}_2 = 27, s2=5s_2 = 5

(1) Conduct a test to decide whether the population variances for training time in both regions are equal at the 0.05 significance level. (7%)

這是檢定兩個獨立樣本變異數是否相等的 F 檢定。
虛無假設 H0:σ12=σ22H_0: \sigma_1^2 = \sigma_2^2
對立假設 H1:σ12≠σ22H_1: \sigma_1^2 \ne \sigma_2^2
顯著水準 α=0.05\alpha = 0.05。

檢定統計量為變異數的比值:
F=s12s22F = \frac{s_1^2}{s_2^2} (通常將較大的樣本變異數放在分子,以進行單尾檢定,但為了對稱性,也可以直接用 s12/s22s_1^2/s_2^2 然後查雙尾臨界值)

這裡,我們直接使用 s1s_1 和 s2s_2 的值。
s12=62=36s_1^2 = 6^2 = 36
s22=52=25s_2^2 = 5^2 = 25

F=3625=1.44F = \frac{36}{25} = 1.44

自由度:
分子自由度 df1=n1−1=15−1=14df_1 = n_1 - 1 = 15 - 1 = 14。
分母自由度 df2=n2−1=15−1=14df_2 = n_2 - 1 = 15 - 1 = 14。

查 F 分配表,在 α=0.05\alpha = 0.05 的顯著水準下,雙尾檢定。
我們需要查找 Fα/2,df1,df2F_{\alpha/2, df_1, df_2} 和 F1−α/2,df1,df2F_{1-\alpha/2, df_1, df_2}。
對於 α=0.05\alpha = 0.05 雙尾檢定,通常我們查找 Fα/2,df1,df2F_{\alpha/2, df_1, df_2}。
在 F 分配表中,尋找 df1=14,df2=14df_1 = 14, df_2 = 14 的欄位。
在 α=0.05\alpha = 0.05 (即 P(F>F0.025,14,14)=0.025P(F > F_{0.025, 14, 14}) = 0.025) 的位置,我們可以找到臨界值。
查表(或使用軟體),F0.025,14,14≈2.99F_{0.025, 14, 14} \approx 2.99。
(如果使用 F=s22/s12=25/36≈0.694F = s_2^2/s_1^2 = 25/36 \approx 0.694,則需要查 F1−α/2,df1,df2=F0.975,14,14F_{1-\alpha/2, df_1, df_2} = F_{0.975, 14, 14},通常這個值是 1/F0.025,14,141/F_{0.025, 14, 14},所以 1/2.99≈0.3341/2.99 \approx 0.334)。

我們比較計算出的 F 值與臨界值。
臨界區域是 F>2.99F > 2.99 或 F<0.334F < 0.334 (如果我們將較小的變異數放分子)。
如果我們將較大的變異數放在分子 (s12/s22=1.44s_1^2/s_2^2 = 1.44),則對立假設是 H1:σ12≠σ22H_1: \sigma_1^2 \ne \sigma_2^2。
臨界值是 Fα/2,14,14F_{\alpha/2, 14, 14} 和 F1−α/2,14,14F_{1-\alpha/2, 14, 14}。
F0.025,14,14≈2.99F_{0.025, 14, 14} \approx 2.99。
F0.975,14,14=1/F0.025,14,14≈1/2.99≈0.334F_{0.975, 14, 14} = 1 / F_{0.025, 14, 14} \approx 1 / 2.99 \approx 0.334。
檢定統計量 F=1.44F = 1.44。
因為 0.334<1.44<2.990.334 < 1.44 < 2.99,所以 FF 值不在拒絕域內。

結論:在 0.05 的顯著水準下,我們無法拒絕虛無假設,認為兩個地區的員工訓練時間的母體變異數是相等的。

【答案】檢定統計量 F=1.44F = 1.44。臨界值 (雙尾) 約為 0.3340.334 和 2.992.99。由於 0.334<1.44<2.990.334 < 1.44 < 2.99,無法拒絕 H0H_0。兩個地區的母體變異數相等。

(2) Conduct a test to decide whether the population mean training time in the Southeast region is greater than that of the Southwest region at the 0.01 significance level. (10%)

這是檢定兩個獨立樣本平均數差異的 t 檢定。
虛無假設 H0:μ1≤μ2H_0: \mu_1 \le \mu_2 (或 μ1−μ2≤0\mu_1 - \mu_2 \le 0)
對立假設 H1:μ1>μ2H_1: \mu_1 > \mu_2 (或 μ1−μ2>0\mu_1 - \mu_2 > 0)
顯著水準 α=0.01\alpha = 0.01。

由於 part (1) 的結果是我們無法拒絕變異數相等的假設,所以我們可以使用合併變異數 (pooled variance) 的 t 檢定。
然而,如果 part (1) 的結果是拒絕變異數相等,我們則應使用 Welch's t-test (不假設變異數相等)。
這裡我們假設 part (1) 的結論可以指導我們做 part (2) 的決策。
由於我們未能拒絕 σ12=σ22\sigma_1^2 = \sigma_2^2,我們使用合併變異數。

🔒

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

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

免費註冊

第 4 題15 分

  1. (15%) A bank manager believes that number of customers arriving at his branch have a Poisson distribution. He collected a random sample and constructed the following frequency distribution to investigate his hypothesis.
Customers per 15 minute interval01234≥5\ge 5
Observed Frequency5151712108

Please conduct the appropriate decision to examine whether the observed data follow a Poisson distribution at the 0.01 significance level. (Note: e−1=2.718e^{-1} = 2.718)

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

這一題的完整詳解

核心觀念

本題考查「卡方適合度檢定」:

  • 虛無假設:H0H_0:顧客數 XX 服從某個 Poisson 分配。
  • 對立假設:H1H_1:顧客數不服從 Poisson 分配。
  • 顯著水準:α=0.01\alpha=0.01。
  • 因為 Poisson 參數 λ\lambda 未知,必須先由樣本估計 λ\lambda,再計算卡方統計量。
  • 由於最後一組為 X≥5X\geq 5,不能直接將該組的每筆資料視為 55;應將其視為合併區間處理。

Poisson 機率為

P(X=x)=e−λλxx!,x=0,1,2,…P(X=x)=\frac{e^{-\lambda}\lambda^x}{x!}, \qquad x=0,1,2,\ldots

卡方適合度統計量為

χ2=∑(Oi−Ei)2Ei,\chi^2=\sum\frac{(O_i-E_i)^2}{E_i},

其中 OiO_i 為觀察次數,EiE_i 為理論期望次數。


解題方法

一、建立假設

H0:X∼Poisson⁡(λ)H_0:X\sim \operatorname{Poisson}(\lambda) H1:X 不服從 Poisson 分配H_1:X\text{ 不服從 Poisson 分配}

總樣本數為

n=5+15+17+12+10+8=67.n=5+15+17+12+10+8=67.

二、估計 Poisson 參數

前五組的觀察值分別為 0,1,2,3,40,1,2,3,4,最後一組只知道 X≥5X\geq5。因此,依分組資料的概似函數估計 λ\lambda。

其估計方程式可寫成

67λ=125+8E(X∣X≥5),67\lambda = 125+8E(X\mid X\geq5),

其中

125=0(5)+1(15)+2(17)+3(12)+4(10).125 = 0(5)+1(15)+2(17)+3(12)+4(10).

以 Poisson 分配計算,解得

λ^≈2.53.\widehat{\lambda}\approx 2.53.

三、計算各組理論機率與期望次數

令 λ=2.53\lambda=2.53,則

P(X=0)=e−2.53≈0.0796,P(X=0)=e^{-2.53}\approx0.0796, P(X=1)=e−2.53(2.53)≈0.2013,P(X=1)=e^{-2.53}(2.53)\approx0.2013, P(X=2)=e−2.53(2.53)22!≈0.2546,P(X=2)=e^{-2.53}\frac{(2.53)^2}{2!}\approx0.2546, P(X=3)=e−2.53(2.53)33!≈0.2148,P(X=3)=e^{-2.53}\frac{(2.53)^3}{3!}\approx0.2148, P(X=4)=e−2.53(2.53)44!≈0.1358.P(X=4)=e^{-2.53}\frac{(2.53)^4}{4!}\approx0.1358.

因此

🔒

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

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

免費註冊

第 5 題25 分

  1. (25%) The following ANOVA table is from a multiple regression analysis with n = 25 and four explanatory variables.
SourcedfSSMSF
Regression(a)700(e)(g)
Error(b)(d)(f)
Total(c)1000

(1) Please compute the values (a) to (g) in details, together with the required formulas. (12%)
(2) Explain the purpose of the F value, and conclude your result at the 0.05 significance level. (6%)
(3) Show the relationship between F and R². (7%)

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

這一題的完整詳解

此題主要考察多元迴歸分析中的 ANOVA 表計算、F 檢定的解釋與應用,以及決定係數 R2R^2 的意義。

給定信息:
樣本數 n=25n = 25。
解釋變數個數 k=4k = 4。
總平方和 SST=1000SST = 1000。
迴歸平方和 SSR=700SSR = 700。

(1) Please compute the values (a) to (g) in details, together with the required formulas. (12%)

ANOVA 表各項的計算公式:
(a) 迴歸自由度 (df Regression) = 解釋變數個數 kk。
a=k=4a = k = 4。

(b) 誤差自由度 (df Error) = 總樣本數 nn - 解釋變數個數 kk - 1 (截距項)。
b=n−k−1=25−4−1=20b = n - k - 1 = 25 - 4 - 1 = 20。

(c) 總自由度 (df Total) = 樣本數 nn - 1。
c=n−1=25−1=24c = n - 1 = 25 - 1 = 24。
驗證:a+b=4+20=24=ca + b = 4 + 20 = 24 = c。

(d) 誤差平方和 (SS Error) = 總平方和 SSTSST - 迴歸平方和 SSRSSR。
d=SST−SSR=1000−700=300d = SST - SSR = 1000 - 700 = 300。

(e) 迴歸均方 (MS Regression) = 迴歸平方和 SSRSSR / 迴歸自由度 dfRegressiondf_{Regression}。
e=SSRa=7004=175e = \frac{SSR}{a} = \frac{700}{4} = 175。

(f) 誤差均方 (MS Error) = 誤差平方和 SSESSE / 誤差自由度 dfErrordf_{Error}。
f=db=30020=15f = \frac{d}{b} = \frac{300}{20} = 15。

(g) F 統計量 (F value) = 迴歸均方 MSRegressionMS_{Regression} / 誤差均方 MSErrorMS_{Error}。
g=ef=17515=353≈11.67g = \frac{e}{f} = \frac{175}{15} = \frac{35}{3} \approx 11.67。

填入 ANOVA 表:

SourcedfSSMSF
Regression470017511.67
Error2030015
Total241000

【答案】(a)=4, (b)=20, (c)=24, (d)=300, (e)=175, (f)=15, (g)≈11.67。

(2) Explain the purpose of the F value, and conclude your result at the 0.05 significance level. (6%)

F 統計量的目的:
在多元迴歸分析中,F 統計量用於檢定所有解釋變數的係數是否同時為零。也就是檢定模型整體是否有顯著的解釋能力。
虛無假設 H0:β1=β2=β3=β4=0H_0: \beta_1 = \beta_2 = \beta_3 = \beta_4 = 0 (所有迴歸係數皆為零)。
對立假設 H1H_1: 至少有一個 βi≠0\beta_i \ne 0。

🔒

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

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

免費註冊

其他考古題