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

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

第 1 題30 分

國立政治大學 110 學年度碩士班暨碩士在職專班招生考試試題
考試科目 統計學A 系所別 金融學系 金融管理組 考試時間 2月4日(四) 第四節
第1頁,共4頁

Note: Use the level of significance 0.05 for the test of hypothesis if required.

  1. (30%) Two stocks are being consider to construct a portfolio. Let XX=percent return for an investment in stock X, and YY= percent return for an investment in stock Y. The joint distribution of both stocks is as follows.

🖼️【此處有附圖,請對照原卷】
The table shows the joint distribution of X and Y.

It is known that the expected value and variance of YY are E[Y]=0.8E[Y] = 0.8 and Var(Y)=6.76Var(Y) = 6.76, respectively, and the covariance between XX and YY is Cov(X,Y)=−1.1Cov(X, Y) = -1.1. Answer the following questions.

(a) Find the expected value and variance of XX. (10%)
(b) Find the conditional distribution of XX given Y=0Y=0. (6%)
(c) Find the correlation between XX and YY. (6%)
(d) Let Z=aX+bYZ=aX+bY, where both aa and bb are any positive values. Find the expected value and variance of ZZ. (8%)

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

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

這一題的完整詳解

核心觀念

本題考查:

  • 聯合機率分配求邊際機率分配。
  • 條件機率分配:P(X=x∣Y=0)P(X=x\mid Y=0)。
  • 期望值與變異數:
    E[X]=∑xP(X=x),Var(X)=E[X2]−[E(X)]2.E[X]=\sum xP(X=x),\qquad Var(X)=E[X^2]-[E(X)]^2.
  • 相關係數:
    ρXY=Cov(X,Y)Var(X)Var(Y).\rho_{XY}=\frac{Cov(X,Y)}{\sqrt{Var(X)Var(Y)}}.
  • 線性組合的期望值與變異數:
    E(aX+bY)=aE(X)+bE(Y),E(aX+bY)=aE(X)+bE(Y),
    Var(aX+bY)=a2Var(X)+b2Var(Y)+2abCov(X,Y).Var(aX+bY)=a^2Var(X)+b^2Var(Y)+2abCov(X,Y).

解題方法與計算

聯合分配表為:

X=−4X=0X=5Y=−30.050.050.10Y=00.100.200.15Y=40.100.150.10\begin{array}{c|ccc} &X=-4&X=0&X=5\\ \hline Y=-3&0.05&0.05&0.10\\ Y=0&0.10&0.20&0.15\\ Y=4&0.10&0.15&0.10 \end{array}

(a)求 E[X]E[X] 與 Var(X)Var(X)

先將各欄加總,得到 XX 的邊際分配:

P(X=−4)=0.05+0.10+0.10=0.25,P(X=-4)=0.05+0.10+0.10=0.25,

P(X=0)=0.05+0.20+0.15=0.40,P(X=0)=0.05+0.20+0.15=0.40,

P(X=5)=0.10+0.15+0.10=0.35.P(X=5)=0.10+0.15+0.10=0.35.

因此,

E[X]=(−4)(0.25)+0(0.40)+5(0.35)=0.75.E[X]=(-4)(0.25)+0(0.40)+5(0.35)=0.75.

再求二次動差:

E[X2]=(−4)2(0.25)+02(0.40)+52(0.35)=16(0.25)+25(0.35)=12.75.E[X^2]=(-4)^2(0.25)+0^2(0.40)+5^2(0.35) =16(0.25)+25(0.35)=12.75.

所以,

Var(X)=E[X2]−[E(X)]2=12.75−(0.75)2=12.1875.Var(X)=E[X^2]-[E(X)]^2 =12.75-(0.75)^2 =12.1875.

(b)求 X∣Y=0X\mid Y=0 的條件分配

先求:

P(Y=0)=0.10+0.20+0.15=0.45.P(Y=0)=0.10+0.20+0.15=0.45.

利用條件機率公式:

P(X=x∣Y=0)=P(X=x,Y=0)P(Y=0).P(X=x\mid Y=0)=\frac{P(X=x,Y=0)}{P(Y=0)}.

因此,

P(X=−4∣Y=0)=0.100.45=29,P(X=-4\mid Y=0)=\frac{0.10}{0.45}=\frac{2}{9},

P(X=0∣Y=0)=0.200.45=49,P(X=0\mid Y=0)=\frac{0.20}{0.45}=\frac{4}{9},

🔒

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

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

免費註冊

第 2 題35 分

國立政治大學 110 學年度碩士班暨碩士在職專班招生考試試題
考試科目 統計學A 系所別 金融學系 金融管理組 考試時間 2月4日(四) 第四節
第1頁,共4頁
第2頁,共4頁

  1. (35%) The following table contains a random sample of prices for hotel rooms in Cities X and Y.

🖼️【此處有附圖,請對照原卷】
The table shows hotel room prices in City X and City Y for 20 hotels.

Assume that the prices for hotel rooms in both cities follow a normal distribution.

(a) Test whether the population mean of hotel room prices in City X is greater than 75. (7%)
(b) Find a 99% confidence interval for the difference between the two population means of hotel room prices in both Cities X and Y. (10%)
(c) Can you conclude that the mean price of a hotel room in City X is lower than one in City Y?
(1) Assume that both samples are independent and the population variances of room prices in both cities are equal. (10%)
(2) Assume that the samples from both cities are paired-dependent. (8%)

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

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

這一題的完整詳解

這題主要考驗對統計推論的應用,包含單一樣本假設檢定、雙樣本信賴區間,以及在不同假設條件(獨立樣本 vs. 配對樣本,變異數相等 vs. 不相等)下的假設檢定。

核心觀念:

  1. 單一樣本 tt-檢定: 用於檢定單一樣本的平均數是否等於或大於/小於某特定值。
  2. 雙樣本 tt-檢定與信賴區間: 用於比較兩個獨立樣本的平均數。當母體變異數未知時,常使用 tt-分配。
    • 變異數相等假設 (Pooled Variance tt-test): 合併兩個樣本的變異數估計。
    • 變異數不相等假設 (Welch's tt-test): 不合併變異數,自由度計算較複雜。
  3. 配對樣本 tt-檢定與信賴區間: 用於比較配對資料的平均數差異。將配對資料轉換為差異值,再對差異值進行單一樣本 tt-檢定或信賴區間計算。
  4. 假設檢定步驟:
    • 設定虛無假設 (H0H_0) 與對立假設 (HaH_a)。
    • 選擇檢定統計量並計算其值。
    • 決定檢定法則 (如臨界值法或 pp-值法),並與顯著水準 α\alpha 比較。
    • 做出結論。
  5. 信賴區間: 提供母數可能落入的範圍,具有某個信賴水準。

解題過程:

首先,我們需要根據題目提供的 20 個樣本資料,計算 City X 和 City Y 的樣本平均數、樣本標準差以及樣本數。

City X 的資料: 85, 65, 100, 120, 115, 125, 50, 90, 115, 70, 80, 60, 65, 70, 75, 65, 75, 85, 95, 75
City Y 的資料: 125, 110, 105, 120, 85, 115, 65, 60, 95, 105, 115, 75, 100, 90, 115, 160, 65, 80, 60, 85

計算 City X 的樣本統計量:
nX=20n_X = 20
xˉX=120∑xi=156020=78\bar{x}_X = \frac{1}{20} \sum x_i = \frac{1560}{20} = 78
sX2=1nX−1∑(xi−xˉX)2=119((85−78)2+...+(75−78)2)=1449019≈762.6316s_X^2 = \frac{1}{n_X-1} \sum (x_i - \bar{x}_X)^2 = \frac{1}{19} ( (85-78)^2 + ... + (75-78)^2 ) = \frac{14490}{19} \approx 762.6316
sX=762.6316≈27.6158s_X = \sqrt{762.6316} \approx 27.6158

計算 City Y 的樣本統計量:
nY=20n_Y = 20
yˉY=120∑yi=158020=79\bar{y}_Y = \frac{1}{20} \sum y_i = \frac{1580}{20} = 79
sY2=1nY−1∑(yi−yˉY)2=119((125−79)2+...+(85−79)2)=2399019≈1262.6316s_Y^2 = \frac{1}{n_Y-1} \sum (y_i - \bar{y}_Y)^2 = \frac{1}{19} ( (125-79)^2 + ... + (85-79)^2 ) = \frac{23990}{19} \approx 1262.6316
sY=1262.6316≈35.5335s_Y = \sqrt{1262.6316} \approx 35.5335

(a) Test whether the population mean of hotel room prices in City X is greater than 75. (7%)

這是單一樣本 tt-檢定。
虛無假設 H0:μX≤75H_0: \mu_X \le 75
對立假設 Ha:μX>75H_a: \mu_X > 75
顯著水準 α=0.05\alpha = 0.05 (根據頁首說明)。

檢定統計量:t=xˉX−μ0sX/nXt = \frac{\bar{x}_X - \mu_0}{s_X / \sqrt{n_X}}
其中 μ0=75\mu_0 = 75。
t=78−7527.6158/20=327.6158/4.4721=36.1754≈0.4858t = \frac{78 - 75}{27.6158 / \sqrt{20}} = \frac{3}{27.6158 / 4.4721} = \frac{3}{6.1754} \approx 0.4858

自由度 df=nX−1=20−1=19df = n_X - 1 = 20 - 1 = 19。

查詢 tt-分配表,當 df=19df=19 且 α=0.05\alpha=0.05 時,單尾檢定的臨界值 t0.05,19≈1.729t_{0.05, 19} \approx 1.729。
因為計算出的檢定統計量 t=0.4858t = 0.4858 小於臨界值 1.7291.729 (即 0.4858≯1.7290.4858 \ngtr 1.729),我們無法拒絕虛無假設 H0H_0。

結論: 在顯著水準 0.05 下,沒有足夠的證據顯示 City X 的旅館房間平均價格高於 75。

【答案】無法拒絕 H0H_0,沒有足夠證據顯示 City X 的旅館房間平均價格高於 75。

(b) Find a 99% confidence interval for the difference between the two population means of hotel room prices in both Cities X and Y. (10%)

這是雙樣本信賴區間。由於題目未明確說明變異數是否相等,且 (c) 部分會分別討論這兩種情況,我們在此先假設它們是獨立的,並考慮兩種情況。然而,通常在沒有特別說明時,會先採用獨立樣本且變異數不等的 Welch's tt-interval,或者先計算Pooled variance。
這裡我們計算獨立樣本的信賴區間。
99% 信賴區間,所以 α=1−0.99=0.01\alpha = 1 - 0.99 = 0.01。

情況 1:假設母體變異數相等 (Var(X)=Var(Y)=σ2Var(X) = Var(Y) = \sigma^2)
我們計算合併變異數 sp2s_p^2:
sp2=(nX−1)sX2+(nY−1)sY2nX+nY−2=(20−1)×762.6316+(20−1)×1262.631620+20−2s_p^2 = \frac{(n_X-1)s_X^2 + (n_Y-1)s_Y^2}{n_X+n_Y-2} = \frac{(20-1) \times 762.6316 + (20-1) \times 1262.6316}{20+20-2}
sp2=19×762.6316+19×1262.631638=19×(762.6316+1262.6316)38=762.6316+1262.63162=2025.26322=1012.6316s_p^2 = \frac{19 \times 762.6316 + 19 \times 1262.6316}{38} = \frac{19 \times (762.6316 + 1262.6316)}{38} = \frac{762.6316 + 1262.6316}{2} = \frac{2025.2632}{2} = 1012.6316
sp=1012.6316≈31.8219s_p = \sqrt{1012.6316} \approx 31.8219

自由度 df=nX+nY−2=20+20−2=38df = n_X + n_Y - 2 = 20 + 20 - 2 = 38。
查詢 tt-分配表,當 df=38df=38 且 α/2=0.005\alpha/2 = 0.005 時,臨界值 t0.005,38≈2.712t_{0.005, 38} \approx 2.712 (近似值,可查表或用軟體)。

信賴區間為:(xˉX−yˉY)±tα/2,nX+nY−2×sp1nX+1nY(\bar{x}_X - \bar{y}_Y) \pm t_{\alpha/2, n_X+n_Y-2} \times s_p \sqrt{\frac{1}{n_X} + \frac{1}{n_Y}}
(xˉX−yˉY)=78−79=−1(\bar{x}_X - \bar{y}_Y) = 78 - 79 = -1
信賴區間 =−1±2.712×31.8219120+120= -1 \pm 2.712 \times 31.8219 \sqrt{\frac{1}{20} + \frac{1}{20}}
=−1±2.712×31.8219220=−1±2.712×31.8219×0.1= -1 \pm 2.712 \times 31.8219 \sqrt{\frac{2}{20}} = -1 \pm 2.712 \times 31.8219 \times \sqrt{0.1}
=−1±2.712×31.8219×0.3162= -1 \pm 2.712 \times 31.8219 \times 0.3162
=−1±27.34= -1 \pm 27.34

信賴區間約為 (−28.34,26.34)(-28.34, 26.34)。

情況 2:假設母體變異數不相等 (Var(X)≠Var(Y)Var(X) \ne Var(Y))
這是 Welch's tt-interval。
自由度 dfdf 的計算公式較複雜:
df≈(sX2nX+sY2nY)2(sX2/nX)2nX−1+(sY2/nY)2nY−1df \approx \frac{(\frac{s_X^2}{n_X} + \frac{s_Y^2}{n_Y})^2}{\frac{(s_X^2/n_X)^2}{n_X-1} + \frac{(s_Y^2/n_Y)^2}{n_Y-1}}
sX2nX=762.631620=38.13158\frac{s_X^2}{n_X} = \frac{762.6316}{20} = 38.13158
sY2nY=1262.631620=63.13158\frac{s_Y^2}{n_Y} = \frac{1262.6316}{20} = 63.13158

🔒

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

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

免費註冊

第 3 題35 分

國立政治大學 110 學年度碩士班暨碩士在職專班招生考試試題
考試科目 統計學A 系所別 金融學系 金融管理組 考試時間 2月4日(四) 第四節
第2頁,共4頁
第3頁,共4頁

  1. (35%) A personnel director develops the following estimated regression equation relating employees' scores on a job satisfaction test to their length of service, wage rate, and sales regions (namely A, B, and C):
    y^=12.24−7.68x1+13.25x2−5.80x3+15.32x4\hat{y} = 12.24 - 7.68x_1 + 13.25x_2 - 5.80x_3 + 15.32x_4
    where
    x1x_1 = length of service (years)
    x2x_2 = wage rate (dollars)
    x3={1if sales region B0otherwisex_3 = \begin{cases} 1 & \text{if sales region B} \\ 0 & \text{otherwise} \end{cases}
    x4={1if sales region C0otherwisex_4 = \begin{cases} 1 & \text{if sales region C} \\ 0 & \text{otherwise} \end{cases}
    yy = job satisfaction test score (higher scores indicate greater job satisfaction)

A partial computer output from a regression analysis follows.
Standard error
Constant 8.191
x1x_1 4.105
x2x_2 2.805
x3x_3 4.373
x4x_4 4.373

ANOVA table

Source of VariationSSdfMSF
Regression1620.25
Error28
Total

s=5.5s = 5.5 denotes the estimated standard error for regression.

Please answer the following questions.

(a) Complete the analysis of variance (ANOVA) table and conclude the resulting F test. (12%)
(b) Explain the meanings of the estimated coefficients for x2x_2 and x3x_3. (6%)
(c) Test and conclude which explanatory variable(s) can be dropped. (12%)
(d) What is the value of the adjusted R2R^2? (5%)

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

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

這一題的完整詳解

這題主要考驗對複迴歸分析的理解與應用,包含 ANOVA 表的計算、係數的解釋、變數篩選的假設檢定,以及調整後決定係數的計算。

核心觀念:

  1. 複迴歸模型: y=β0+β1x1+β2x2+⋯+βkxk+ϵy = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \dots + \beta_k x_k + \epsilon。
  2. ANOVA 表: 總平方和 (SST) = 迴歸平方和 (SSR) + 誤差平方和 (SSE)。
    • SST=∑(yi−yˉ)2SST = \sum (y_i - \bar{y})^2
    • SSR=∑(y^i−yˉ)2SSR = \sum (\hat{y}_i - \bar{y})^2
    • SSE=∑(yi−y^i)2SSE = \sum (y_i - \hat{y}_i)^2
    • MSRegression=SSRdfRegressionMS_{Regression} = \frac{SSR}{df_{Regression}}
    • MSError=SSEdfErrorMS_{Error} = \frac{SSE}{df_{Error}}
    • F=MSRegressionMSErrorF = \frac{MS_{Regression}}{MS_{Error}}
  3. 決定係數 (R2R^2) 與調整後決定係數 (Adj.R2Adj. R^2):
    • R2=SSRSST=1−SSESSTR^2 = \frac{SSR}{SST} = 1 - \frac{SSE}{SST}
    • Adj.R2=1−SSE/(n−k−1)SST/(n−1)=1−(1−R2)n−1n−k−1Adj. R^2 = 1 - \frac{SSE/(n-k-1)}{SST/(n-1)} = 1 - (1-R^2)\frac{n-1}{n-k-1}
  4. 迴歸係數的標準誤與 tt-檢定: 用於檢定個別迴歸係數是否顯著不為零。
  5. 迴歸模型的 FF-檢定: 用於檢定整個迴歸模型是否顯著。
  6. 虛擬變數 (Dummy Variables): 用於處理類別型自變數。
  7. 估計標準誤 (ss): s=SSEn−k−1s = \sqrt{\frac{SSE}{n-k-1}}。

解題過程:

首先,我們需要從題目提供的資訊中提取關鍵數據。
迴歸模型:y^=12.24−7.68x1+13.25x2−5.80x3+15.32x4\hat{y} = 12.24 - 7.68x_1 + 13.25x_2 - 5.80x_3 + 15.32x_4
此模型有 4 個自變數 (x1,x2,x3,x4x_1, x_2, x_3, x_4),因此 k=4k=4。
常數項 (Constant) 是一個截距項,不計入 kk 的計算,但會影響自由度。
在 ANOVA 表中,迴歸自由度 dfRegression=k=4df_{Regression} = k = 4。
誤差自由度 dfError=28df_{Error} = 28。
總自由度 dfTotal=dfRegression+dfError=4+28=32df_{Total} = df_{Regression} + df_{Error} = 4 + 28 = 32。
樣本數 n=dfTotal+1=32+1=33n = df_{Total} + 1 = 32 + 1 = 33 (若迴歸模型包含截距項)。
或者 n=dfError+k+1=28+4+1=33n = df_{Error} + k + 1 = 28 + 4 + 1 = 33。

從迴歸輸出中:
SSR=1620.25SSR = 1620.25
dfError=28df_{Error} = 28
估計標準誤 s=5.5s = 5.5。

(a) Complete the analysis of variance (ANOVA) table and conclude the resulting F test. (12%)

計算 ANOVA 表:

  1. dfRegressiondf_{Regression}: 模型中有 4 個自變數 (x1,x2,x3,x4x_1, x_2, x_3, x_4),所以 dfRegression=4df_{Regression} = 4。
  2. MSRegressionMS_{Regression}: MSRegression=SSRdfRegression=1620.254=405.0625MS_{Regression} = \frac{SSR}{df_{Regression}} = \frac{1620.25}{4} = 405.0625。
  3. dfTotaldf_{Total}: dfTotal=dfRegression+dfError=4+28=32df_{Total} = df_{Regression} + df_{Error} = 4 + 28 = 32。
  4. SSTSST: 我們知道 s=SSEn−k−1s = \sqrt{\frac{SSE}{n-k-1}},且 n−k−1=dfError=28n-k-1 = df_{Error} = 28。
    所以 s2=SSE28  ⟹  SSE=s2×28=(5.5)2×28=30.25×28=847s^2 = \frac{SSE}{28} \implies SSE = s^2 \times 28 = (5.5)^2 \times 28 = 30.25 \times 28 = 847。
    SST=SSR+SSE=1620.25+847=2467.25SST = SSR + SSE = 1620.25 + 847 = 2467.25。
    驗證: n=33,k=4n=33, k=4, n−k−1=33−4−1=28n-k-1 = 33-4-1 = 28。
  5. MSErrorMS_{Error}: MSError=SSEdfError=84728=30.25MS_{Error} = \frac{SSE}{df_{Error}} = \frac{847}{28} = 30.25。
    驗證: s2=MSError=30.25s^2 = MS_{Error} = 30.25, s=30.25=5.5s = \sqrt{30.25} = 5.5。這與題目給的 s=5.5s=5.5 相符。
  6. FF 統計量: F=MSRegressionMSError=405.062530.25≈13.389F = \frac{MS_{Regression}}{MS_{Error}} = \frac{405.0625}{30.25} \approx 13.389。

完成的 ANOVA 表:

Source of VariationSSdfMSF
Regression1620.254405.062513.389
Error847.002830.25
Total2467.2532

FF-檢定結論:
虛無假設 H0:β1=β2=β3=β4=0H_0: \beta_1 = \beta_2 = \beta_3 = \beta_4 = 0 (所有自變數對 yy 的迴歸係數均為零)。
對立假設 HaH_a: 至少有一個 βi≠0\beta_i \ne 0。
顯著水準 α=0.05\alpha = 0.05 (通常預設值,若題目未給)。
查詢 FF-分配表,當 df1=dfRegression=4df_1 = df_{Regression} = 4 且 df2=dfError=28df_2 = df_{Error} = 28 時,臨界值 F0.05,4,28≈2.71F_{0.05, 4, 28} \approx 2.71。
計算出的 FF 統計量為 13.389。
因為 13.389>2.7113.389 > 2.71,我們拒絕虛無假設 H0H_0。

結論: 在顯著水準 0.05 下,至少有一個自變數對 yy(工作滿意度)有顯著的迴歸影響。整體迴歸模型是顯著的。

【答案】ANOVA 表如上,F 檢定結論為拒絕 H0H_0。

🔒

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

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

免費註冊

其他考古題