110 年 國立政治大學財務管理學系碩士班《統計學》

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

第 Q1 題10 分

Consider two events A and B, prove that if A and B are independent, then so are A and Bº.

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

這一題的完整詳解

此題考驗獨立事件的定義及其性質推導。

證明:
若 A 與 B 為獨立事件,則根據獨立事件的定義, P(A ∩ B) = P(A)P(B)。
我們需要證明 A 與 B 的補集 Bᶜ 也是獨立事件,即 P(A ∩ Bᶜ) = P(A)P(Bᶜ)。

由集合關係可知,事件 A 可以分解為 A ∩ B 與 A ∩ Bᶜ 這兩個互斥事件的聯集,即 A = (A ∩ B) ∪ (A ∩ Bᶜ)。
因此, P(A) = P(A ∩ B) + P(A ∩ Bᶜ)。

🔒

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

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

免費註冊

第 Q2 題25 分

A random variable X has the following pdf.

f(x)={x/500<x<5(20−x)/1505≤x<200otherwisef(x) = \begin{cases} x/50 & 0 < x < 5 \\ (20-x)/150 & 5 \le x < 20 \\ 0 & \text{otherwise} \end{cases}

(a) Find the probability that X lies between 3 and 10.
(b) Find the probability that X is less than 10.
(c) Find the distribution function F(x) of X.
(d) Find E(X) and V(X).

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

這一題的完整詳解

核心觀念

本題考查連續型隨機變數的下列概念:

  1. 機率密度函數 f(x)f(x) 的區間機率:
    P(a<X<b)=∫abf(x) dx.P(a<X<b)=\int_a^b f(x)\,dx.

  2. 累積分配函數:
    F(x)=P(X≤x)=∫−∞xf(t) dt.F(x)=P(X\le x)=\int_{-\infty}^{x}f(t)\,dt.

  3. 期望值與變異數:
    E(X)=∫−∞∞xf(x) dx,E(X)=\int_{-\infty}^{\infty}xf(x)\,dx,
    V(X)=E(X2)−[E(X)]2,V(X)=E(X^2)-[E(X)]^2,
    其中
    E(X2)=∫−∞∞x2f(x) dx.E(X^2)=\int_{-\infty}^{\infty}x^2f(x)\,dx.

題目的密度函數在 x=5x=5 處分段,因此計算跨越 55 時,必須分段積分。


解題方法

先確認密度函數的定義範圍:

f(x)={x50,0<x<5,20−x150,5≤x<20,0,otherwise.f(x)= \begin{cases} \dfrac{x}{50}, & 0<x<5,\\[4pt] \dfrac{20-x}{150}, & 5\le x<20,\\[4pt] 0, & \text{otherwise}. \end{cases}

其總面積為

∫05x50 dx+∫52020−x150 dx=14+34=1,\int_0^5\frac{x}{50}\,dx + \int_5^{20}\frac{20-x}{150}\,dx = \frac14+\frac34=1,

因此確實為合法的機率密度函數。


(a) 求 P(3<X<10)P(3<X<10)

由於區間 [3,10][3,10] 跨越分界點 x=5x=5,須拆成兩段:

P(3<X<10)=∫35x50 dx+∫51020−x150 dx.P(3<X<10) = \int_3^5\frac{x}{50}\,dx + \int_5^{10}\frac{20-x}{150}\,dx.

第一段:

∫35x50 dx=[x2100]35=25−9100=425.\int_3^5\frac{x}{50}\,dx = \left[\frac{x^2}{100}\right]_3^5 = \frac{25-9}{100} = \frac{4}{25}.

第二段:

∫51020−x150 dx=[20x−x22150]510.\int_5^{10}\frac{20-x}{150}\,dx = \left[\frac{20x-\frac{x^2}{2}}{150}\right]_5^{10}.

因此

∫51020−x150 dx=150−87.5150=512.\int_5^{10}\frac{20-x}{150}\,dx = \frac{150-87.5}{150} = \frac{5}{12}.

所以

P(3<X<10)=425+512=48+125300=173300.P(3<X<10) = \frac{4}{25}+\frac{5}{12} = \frac{48+125}{300} = \boxed{\frac{173}{300}}.

(b) 求 P(X<10)P(X<10)

同樣在 x=5x=5 處分段:

P(X<10)=∫05x50 dx+∫51020−x150 dx.P(X<10) = \int_0^5\frac{x}{50}\,dx + \int_5^{10}\frac{20-x}{150}\,dx.

由前面計算,

∫05x50 dx=14,∫51020−x150 dx=512.\int_0^5\frac{x}{50}\,dx=\frac14, \qquad \int_5^{10}\frac{20-x}{150}\,dx=\frac{5}{12}.

所以

P(X<10)=14+512=312+512=23.P(X<10) = \frac14+\frac{5}{12} = \frac{3}{12}+\frac{5}{12} = \boxed{\frac23}.

由於 XX 是連續型隨機變數,單點機率為 00,因此

P(X<10)=P(X≤10).P(X<10)=P(X\le 10).

(c) 求累積分配函數 F(x)F(x)

累積分配函數定義為

F(x)=P(X≤x).F(x)=P(X\le x).

必須依照 xx 所在的區間分段。

當 x≤0x\le 0

因為 XX 不會落在 (−∞,0](-\infty,0],所以

F(x)=0.F(x)=0.

當 0<x<50<x<5

F(x)=∫0xt50 dt=[t2100]0x=x2100.F(x) = \int_0^x\frac{t}{50}\,dt = \left[\frac{t^2}{100}\right]_0^x = \frac{x^2}{100}.

當 5≤x<205\le x<20

此時必須先累積 00 到 55 的機率,再加上 55 到 xx 的機率:

F(x)=∫05t50 dt+∫5x20−t150 dt.F(x) = \int_0^5\frac{t}{50}\,dt + \int_5^x\frac{20-t}{150}\,dt.

因此

F(x)=14+[20t−t22150]5x.F(x) = \frac14+ \left[\frac{20t-\frac{t^2}{2}}{150}\right]_5^x.

整理得

F(x)=14+20x−x22−1752150.F(x) = \frac14+ \frac{20x-\frac{x^2}{2}-\frac{175}{2}}{150}.

通分化簡:

F(x)=−x2+40x−100300.F(x) = \frac{-x^2+40x-100}{300}.

當 x≥20x\ge 20

所有機率皆已累積完畢,因此

F(x)=1.F(x)=1.

故累積分配函數為

🔒

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

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

免費註冊

第 Q3 題20 分

The amount of time spent by Taiwan adults watching TV per day is normally distributed with a mean of 4 hours and a standard deviation of 1.6 hour. Let X be the random variable representing the time spent watching TV per day by a Taiwan adult. Thus, X∼N(μ=4,σ2=1.62)X \sim N(\mu=4, \sigma^2=1.6^2).

(a) What is the probability that a randomly selected Taiwan adult watches TV for more than 5 hours?
(b) What is the number of hours below which only 10% of Taiwan adults watch TV per day?
(c) What is the probability that the average time watching TV by a random sample of 16 Taiwan adults is more than 5 hours?
(d) What is the probability that in a random sample of 10 Taiwan adults, at least one watches TV for more than 5 hours?

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

這一題的完整詳解

此題考驗常態分布的機率計算、反向求解分位數,以及樣本平均數的分布與相關機率計算。

已知 X∼N(μ=4,σ2=1.62)X \sim N(\mu=4, \sigma^2=1.6^2)。

(a) What is the probability that a randomly selected Taiwan adult watches TV for more than 5 hours?
我們需要計算 P(X>5)P(X > 5)。首先將 X 標準化:

Z=X−μσ=X−41.6Z = \frac{X - \mu}{\sigma} = \frac{X - 4}{1.6}

當 X=5X = 5 時,Z=5−41.6=11.6=1016=58=0.625Z = \frac{5 - 4}{1.6} = \frac{1}{1.6} = \frac{10}{16} = \frac{5}{8} = 0.625。
因此,P(X>5)=P(Z>0.625)P(X > 5) = P(Z > 0.625)。
利用標準常態分配表 (或其他統計軟體/計算機),我們查得 P(Z≤0.625)P(Z \le 0.625)。
從提供的標準常態分配表 (Page 3 & 4),我們查到 Z=0.62 的機率約為 0.7324,Z=0.63 的機率約為 0.7357。
線性內插:P(Z≤0.625)≈P(Z≤0.62)+0.5×(P(Z≤0.63)−P(Z≤0.62))P(Z \le 0.625) \approx P(Z \le 0.62) + 0.5 \times (P(Z \le 0.63) - P(Z \le 0.62))
P(Z≤0.625)≈0.7324+0.5×(0.7357−0.7324)=0.7324+0.5×0.0033=0.7324+0.00165=0.73405P(Z \le 0.625) \approx 0.7324 + 0.5 \times (0.7357 - 0.7324) = 0.7324 + 0.5 \times 0.0033 = 0.7324 + 0.00165 = 0.73405。
因此,P(Z>0.625)=1−P(Z≤0.625)≈1−0.73405=0.26595P(Z > 0.625) = 1 - P(Z \le 0.625) \approx 1 - 0.73405 = 0.26595。

【答案】約為 0.2660。

(b) What is the number of hours below which only 10% of Taiwan adults watch TV per day?
我們需要找到一個數值 x0.10x_{0.10},使得 P(X≤x0.10)=0.10P(X \le x_{0.10}) = 0.10。
首先,我們將這個機率轉換為標準常態分配的 Z 值:
P(Z≤z0.10)=0.10P(Z \le z_{0.10}) = 0.10。
從標準常態分配表,我們知道累積機率為 0.10 對應的 Z 值是負的。
查表可知,P(Z≤−1.28)≈0.1003P(Z \le -1.28) \approx 0.1003。
所以,z0.10≈−1.28z_{0.10} \approx -1.28。
現在,我們將 Z 值轉換回 X 的值:
z0.10=x0.10−μσz_{0.10} = \frac{x_{0.10} - \mu}{\sigma}
−1.28=x0.10−41.6-1.28 = \frac{x_{0.10} - 4}{1.6}
x0.10−4=−1.28×1.6=−2.048x_{0.10} - 4 = -1.28 \times 1.6 = -2.048
x0.10=4−2.048=1.952x_{0.10} = 4 - 2.048 = 1.952。

【答案】約為 1.952 小時。

**(c) What is the probability that the average time watching TV by a random sample of 16 Taiwan adu

🔒

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

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

免費註冊

第 Q4 題15 分

A randomized block experiment produced the following statistics.
k=3 (number of treatments)
b=8 (number of blocks)
SST(treatment)=1500
SST(Total)=3500

(a) Given that SSB=500, test at the 5% significance level to determine whether the treatment means differ?
(b) Given that SSB=500, test at the 5% significance level to determine whether the blocking is effective?
(c) Ignore blocking, test at the 5% significance level to determine whether the treatment means differ?

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

這一題的完整詳解

核心觀念

本題使用「隨機集區設計」的變異數分析(Randomized Block Design, RBD)。每一個集區內都有 k=3k=3 個處理,因此總觀測數為

N=kb=3×8=24.N=kb=3\times 8=24.

總平方和可分解為

SSTotal=SSTreatment+SSBlock+SSE.SSTotal=SSTreatment+SSBlock+SSE.

題目給定:

SSTreatment=1500,SSTotal=3500,SSBlock=500.SSTreatment=1500,\qquad SSTotal=3500,\qquad SSBlock=500.

因此誤差平方和為

SSE=3500−1500−500=1500.SSE=3500-1500-500=1500.

自由度如下:

變異來源平方和自由度均方
處理15001500k−1=2k-1=2750750
集區500500b−1=7b-1=7500/7500/7
誤差15001500(k−1)(b−1)=14(k-1)(b-1)=141500/141500/14
總和35003500kb−1=23kb-1=23—

誤差均方為

MSE=150014=7507≈107.143.MSE=\frac{1500}{14}=\frac{750}{7}\approx 107.143.

在顯著水準 α=0.05\alpha=0.05 下,依照所檢定的來源,分別使用不同的 FF 分配臨界值。


(a) 檢定處理平均數是否有差異

假設

令三個處理的母體平均數為 μ1,μ2,μ3\mu_1,\mu_2,\mu_3。

H0:μ1=μ2=μ3H_0:\mu_1=\mu_2=\mu_3 H1:至少有兩個處理平均數不同H_1:\text{至少有兩個處理平均數不同}

檢定統計量

處理均方為

MSTreatment=SSTreatmentk−1=15002=750.MSTreatment=\frac{SSTreatment}{k-1} =\frac{1500}{2}=750.

因此處理效果的 FF 統計量為

F=MSTreatmentMSE=7501500/14=7.F=\frac{MSTreatment}{MSE} =\frac{750}{1500/14} =7.

其自由度為

(df1,df2)=(2,14).(df_1,df_2)=(2,14).

查表得

F0.05;(2,14)≈3.74.F_{0.05;(2,14)}\approx 3.74.

統計決策

因為

F=7>3.74,F=7>3.74,

故拒絕 H0H_0。

結論

在 5% 顯著水準下,有充分證據顯示三個處理的平均數並非全部相同;亦即,處理平均數之間存在顯著差異。


(b) 檢定集區是否有效

集區若有效,表示不同集區之間確實存在差異,使用集區可以解釋部分變異,進而降低誤差變異。

假設

令第 jj 個集區效果為 βj\beta_j。

H0:β1=β2=⋯=β8=0H_0:\beta_1=\beta_2=\cdots=\beta_8=0

亦可理解為各集區平均數沒有差異。

H1:至少有一個集區效果不為零H_1:\text{至少有一個集區效果不為零}

檢定統計量

集區均方為

MSBlock=SSBlockb−1=5007≈71.429.MSBlock=\frac{SSBlock}{b-1} =\frac{500}{7}\approx 71.429.

因此集區效果的 FF 統計量為

F=MSBlockMSE=500/71500/14=23≈0.667.F=\frac{MSBlock}{MSE} =\frac{500/7}{1500/14} =\frac{2}{3} \approx 0.667.

其自由度為

(df1,df2)=(7,14).(df_1,df_2)=(7,14).

查表得

🔒

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

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

免費註冊

第 Q5 題15 分

In simple linear regression, show that the test statistic t=rn−21−r2t = r \sqrt{\frac{n-2}{1-r^2}} for testing ρ=0\rho = 0 is equivalent to the test statistic t=b1−β1sb1t = \frac{b_1 - \beta_1}{s_{b_1}} for testing β1=0\beta_1 = 0, where b1b_1 is the least square estimate of β1\beta_1, rr is the sample correlation coefficient and sb1s_{b_1} is the estimated standard error of b1b_1.

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

這一題的完整詳解

此題考驗簡單線性迴歸中,檢定相關係數 ρ\rho 等於零的 t 檢定統計量與檢定迴歸係數 β1\beta_1 等於零的 t 檢定統計量之間的等價性。

在簡單線性迴歸模型中,我們有:
Y=β0+β1X+ϵY = \beta_0 + \beta_1 X + \epsilon
其中 ϵ∼N(0,σ2)\epsilon \sim N(0, \sigma^2)。
樣本資料為 (Xi,Yi)(X_i, Y_i), i=1,...,ni=1, ..., n。

最小平方法估計的迴歸直線為 Y^=b0+b1X\hat{Y} = b_0 + b_1 X。
其中 b1=∑i=1n(Xi−Xˉ)(Yi−Yˉ)∑i=1n(Xi−Xˉ)2=SXYSXXb_1 = \frac{\sum_{i=1}^n (X_i - \bar{X})(Y_i - \bar{Y})}{\sum_{i=1}^n (X_i - \bar{X})^2} = \frac{S_{XY}}{S_{XX}}。
b0=Yˉ−b1Xˉb_0 = \bar{Y} - b_1 \bar{X}。
誤差項的標準差 σ\sigma 的估計值為 se=SSEn−2s_e = \sqrt{\frac{SSE}{n-2}},其中 SSE=∑i=1n(Yi−Y^i)2=SYY−b1SXYSSE = \sum_{i=1}^n (Y_i - \hat{Y}_i)^2 = S_{YY} - b_1 S_{XY}。
b1b_1 的標準誤 (standard error of b1b_1) 為 sb1=seSXX=SSEn−2SXX=SSE(n−2)SXXs_{b_1} = \frac{s_e}{\sqrt{S_{XX}}} = \frac{\sqrt{\frac{SSE}{n-2}}}{\sqrt{S_{XX}}} = \sqrt{\frac{SSE}{(n-2)S_{XX}}}。

檢定 β1=0\beta_1 = 0 的 t 檢定統計量為:

t=b1−β1sb1=b1sb1(當 β1=0 時)t = \frac{b_1 - \beta_1}{s_{b_1}} = \frac{b_1}{s_{b_1}} \quad (\text{當 } \beta_1 = 0 \text{ 時}) t=b1SSE(n−2)SXX=b1(n−2)SXXSSEt = \frac{b_1}{\sqrt{\frac{SSE}{(n-2)S_{XX}}}} = b_1 \sqrt{\frac{(n-2)S_{XX}}{SSE}}

樣本相關係數 rr 的定義為:

r=SXYSXXSYYr = \frac{S_{XY}}{\sqrt{S_{XX} S_{YY}}}

其中 SXY=∑(Xi−Xˉ)(Yi−Yˉ)S_{XY} = \sum (X_i - \bar{X})(Y_i - \bar{Y}), SXX=∑(Xi−Xˉ)2S_{XX} = \sum (X_i - \bar{X})^2, SYY=∑(Yi−Yˉ)2S_{YY} = \sum (Y_i - \bar{Y})^2。

檢定 ρ=0\rho = 0 的 t 檢定統計量為:

t=rn−21−r2t = r \sqrt{\frac{n-2}{1-r^2}}

我們需要證明這兩個 t 統計量是相等的。

我們知道 b1=SXYSXXb_1 = \frac{S_{XY}}{S_{XX}}。
所以,t=SXYSXX(n−2)SXXSSE=(n−2)SXY2SXXSSEt = \frac{S_{XY}}{S_{XX}} \sqrt{\frac{(n-2)S_{XX}}{SSE}} = \sqrt{\frac{(n-2)S_{XY}^2}{S_{XX} SSE}}。

🔒

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

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

免費註冊

第 Q6 題15 分

Survey has been widely used by politicians around the world as a way of monitoring the opinions of electorate. Three months ago, a survey was undertaken to determine the degree of support for a national party leader. Of a sample of 1100, 56% indicated that they would vote for this politician. This month, another survey of 800 voters revealed that 46% now support the leader.

(a) Estimate with 98% confidence the decrease in percentage support between now and 3 months ago.
(b) At the 5% significance level, can we infer that the national leader's popularity has decreased by more than 5%?

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

這一題的完整詳解

此題考驗比例的信賴區間估計與假設檢定,涉及兩個獨立樣本比例的比較。

我們有兩個樣本:
樣本 1 (三個月前):n1=1100n_1 = 1100, p^1=0.56\hat{p}_1 = 0.56
樣本 2 (這個月):n2=800n_2 = 800, p^2=0.46\hat{p}_2 = 0.46

基本概念:
比例的標準誤 (standard error of proportion):SE(p^)=p^(1−p^)nSE(\hat{p}) = \sqrt{\frac{\hat{p}(1-\hat{p})}{n}}
兩個獨立比例差的標準誤 (standard error of the difference between two proportions):SE(p^1−p^2)=p^1(1−p^1)n1+p^2(1−p^2)n2SE(\hat{p}_1 - \hat{p}_2) = \sqrt{\frac{\hat{p}_1(1-\hat{p}_1)}{n_1} + \frac{\hat{p}_2(1-\hat{p}_2)}{n_2}}

(a) Estimate with 98% confidence the decrease in percentage support between now and 3 months ago.
我們要估計的是「支持率的下降幅度」,即 Δp=p1−p2\Delta p = p_1 - p_2。
樣本估計值為 Δp^=p^1−p^2=0.56−0.46=0.10\Delta \hat{p} = \hat{p}_1 - \hat{p}_2 = 0.56 - 0.46 = 0.10。

計算兩個比例差的標準誤:
SE(p^1−p^2)=0.56(1−0.56)1100+0.46(1−0.46)800SE(\hat{p}_1 - \hat{p}_2) = \sqrt{\frac{0.56(1-0.56)}{1100} + \frac{0.46(1-0.46)}{800}}
SE(p^1−p^2)=0.56×0.441100+0.46×0.54800SE(\hat{p}_1 - \hat{p}_2) = \sqrt{\frac{0.56 \times 0.44}{1100} + \frac{0.46 \times 0.54}{800}}
SE(p^1−p^2)=0.24641100+0.2484800SE(\hat{p}_1 - \hat{p}_2) = \sqrt{\frac{0.2464}{1100} + \frac{0.2484}{800}}
SE(p^1−p^2)=0.000224+0.0003105SE(\hat{p}_1 - \hat{p}_2) = \sqrt{0.000224 + 0.0003105}
SE(p^1−p^2)=0.0005345≈0.02312SE(\hat{p}_1 - \hat{p}_2) = \sqrt{0.0005345} \approx 0.02312。

對於 98% 的信賴區間,我們需要找到對應的 Z 值。
α=1−0.98=0.02\alpha = 1 - 0.98 = 0.02。
α/2=0.01\alpha/2 = 0.01。
查找標準常態分配表,累積機率為 1−0.01=0.991 - 0.01 = 0.99 的 Z 值,約為 z0.01≈2.326z_{0.01} \approx 2.326。

信賴區間為:Δp^±zα/2⋅SE(p^1−p^2)\Delta \hat{p} \pm z_{\alpha/2} \cdot SE(\hat{p}_1 - \hat{p}_2)
信賴區間為:0.10±2.326×0.023120.10 \pm 2.326 \times 0.02312
信賴區間為:0.10±0.053750.10 \pm 0.05375
信賴區間為:[0.10−0.05375,0.10+0.05375]=[0.04625,0.15375][0.10 - 0.05375, 0.10 + 0.05375] = [0.04625, 0.15375]。

因此,我們有 98% 的信心認為,三個月前與現在相比,支持率下降了 4.625% 到 15.375% 之間。

【答案】98% 信賴區間為 [0.04625,0.15375][0.04625, 0.15375],或表示為下降 4.625% 至 15.375%。

🔒

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

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

免費註冊

其他考古題