113 年 國立中央大學工業管理研究所碩士班《統計學》

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

第 1 題

  1. (a) (10 pts) Show: If Y∼Poisson(x)Y \sim \text{Poisson}(x) and X∼Gamma(k,1)X \sim \text{Gamma}(k, 1) with pdf f(x)=xk−1e−xΓ(k)f(x) = \frac{x^{k-1}e^{-x}}{\Gamma(k)}, where kk is a positive integer, then Pr(X>x)=Pr(Y<k)\text{Pr}(X > x) = \text{Pr}(Y < k).

(b) (15 pts) Suppose that Z∼Poisson(μ)Z \sim \text{Poisson}(\mu). Derive the expression for the CDF of ZZ in terms of the CDF of a Gamma distribution using the result from (a).

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

這一題的完整詳解

本題主要在考察機率分佈之間的關聯性,特別是 Poisson 分佈與 Gamma 分佈之間的聯繫,以及如何利用此關聯性推導 CDF。

(a) 證明 Pr(X>x)=Pr(Y<k)\text{Pr}(X > x) = \text{Pr}(Y < k)

此題的關鍵在於理解 Gamma 分佈的累積分佈函數 (CDF) 與 Poisson 分佈的機率質量函數 (PMF) 之間的關係。

首先,我們考慮一個 Gamma 分佈的隨機變數 X∼Gamma(k,1)X \sim \text{Gamma}(k, 1),其機率密度函數 (PDF) 為 f(x)=xk−1e−xΓ(k)f(x) = \frac{x^{k-1}e^{-x}}{\Gamma(k)},其中 kk 為正整數。
我們想計算 Pr(X>x)\text{Pr}(X > x)。根據 Gamma 分佈的定義,其 CDF 為 FX(x)=Pr(X≤x)=∫0xtk−1e−tΓ(k)dtF_X(x) = \text{Pr}(X \le x) = \int_0^x \frac{t^{k-1}e^{-t}}{\Gamma(k)} dt。
因此,Pr(X>x)=1−FX(x)=1−∫0xtk−1e−tΓ(k)dt=∫x∞tk−1e−tΓ(k)dt\text{Pr}(X > x) = 1 - F_X(x) = 1 - \int_0^x \frac{t^{k-1}e^{-t}}{\Gamma(k)} dt = \int_x^\infty \frac{t^{k-1}e^{-t}}{\Gamma(k)} dt。

另一方面,我們考慮一個 Poisson 分佈的隨機變數 Y∼Poisson(x)Y \sim \text{Poisson}(x),其機率質量函數 (PMF) 為 Pr(Y=j)=e−xxjj!\text{Pr}(Y=j) = \frac{e^{-x}x^j}{j!},其中 j=0,1,2,…j = 0, 1, 2, \dots。
我們要計算 Pr(Y<k)=∑j=0k−1Pr(Y=j)=∑j=0k−1e−xxjj!\text{Pr}(Y < k) = \sum_{j=0}^{k-1} \text{Pr}(Y=j) = \sum_{j=0}^{k-1} \frac{e^{-x}x^j}{j!}。

現在,我們需要證明 ∫x∞tk−1e−tΓ(k)dt=∑j=0k−1e−xxjj!\int_x^\infty \frac{t^{k-1}e^{-t}}{\Gamma(k)} dt = \sum_{j=0}^{k-1} \frac{e^{-x}x^j}{j!}。
這個關係式是 Gamma 分佈的 CDF 和 Poisson 分佈的 PMF 之間的一個經典結果。
我們可以利用積分的連續性或透過分部積分來推導。
考慮 Gamma 分佈的 CDF FX(x)=∫0xtk−1e−tΓ(k)dtF_X(x) = \int_0^x \frac{t^{k-1}e^{-t}}{\Gamma(k)} dt。
對其進行分部積分:令 u=tk−1e−tu = t^{k-1}e^{-t},dv=1Γ(k)dtdv = \frac{1}{\Gamma(k)} dt。則 du=((k−1)tk−2−tk−1)e−tdtdu = ((k-1)t^{k-2} - t^{k-1})e^{-t} dt,v=tΓ(k)v = \frac{t}{\Gamma(k)}。
這似乎不是一個直接的方法。

另一種常見的證明方法是利用 Gamma 分佈的累積機率與 Poisson 分佈的累積機率之間的關係。
對於 X∼Gamma(k,λ)X \sim \text{Gamma}(k, \lambda),其 CDF 為 FX(x;k,λ)=γ(k,λx)Γ(k)F_X(x; k, \lambda) = \frac{\gamma(k, \lambda x)}{\Gamma(k)},其中 γ\gamma 是不完全 Gamma 函數。
當 λ=1\lambda=1 時, FX(x;k,1)=γ(k,x)Γ(k)=∫0xtk−1e−tΓ(k)dtF_X(x; k, 1) = \frac{\gamma(k, x)}{\Gamma(k)} = \int_0^x \frac{t^{k-1}e^{-t}}{\Gamma(k)} dt。
我們知道,若 X∼Gamma(k,1)X \sim \text{Gamma}(k, 1),則 Pr(X>x)=∑j=0k−1xje−xj!\text{Pr}(X > x) = \sum_{j=0}^{k-1} \frac{x^j e^{-x}}{j!}。
這正好是 Y∼Poisson(x)Y \sim \text{Poisson}(x) 的 CDF,即 Pr(Y≤k−1)\text{Pr}(Y \le k-1)。
所以,Pr(X>x)=Pr(Y≤k−1)=Pr(Y<k)\text{Pr}(X > x) = \text{Pr}(Y \le k-1) = \text{Pr}(Y < k)。
這裡的 xx 在 Poisson 分佈中是期望值,在 Gamma 分佈中是上界。
題目中的 xx 是指一個具體的值,而 Poisson 分佈的參數是 xx。
所以,若 X∼Gamma(k,1)X \sim \text{Gamma}(k, 1),則 Pr(X>x)=∑j=0k−1xje−xj!\text{Pr}(X > x) = \sum_{j=0}^{k-1} \frac{x^j e^{-x}}{j!}。
而若 Y∼Poisson(x)Y \sim \text{Poisson}(x),則 Pr(Y<k)=∑j=0k−1xje−xj!\text{Pr}(Y < k) = \sum_{j=0}^{k-1} \frac{x^j e^{-x}}{j!}。
因此,Pr(X>x)=Pr(Y<k)\text{Pr}(X > x) = \text{Pr}(Y < k)。

【答案】證明如上。

🔒

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

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

免費註冊

第 2 題

  1. The joint pdf of random variables XX and YY is
    f(x,y)=1πa2,where 0≤x2+y2≤a2 and a>0.f(x, y) = \frac{1}{\pi a^2}, \quad \text{where } 0 \le x^2 + y^2 \le a^2 \text{ and } a > 0.
    (a) (10 pts) Verify that f(x,y)f(x, y) is a joint density function. Hint: the integration should be one and cos⁡2θ=(1+cos⁡2θ)/2\cos^2 \theta = (1 + \cos2\theta)/2.
    (b) (10 pts) Let X=Rcos⁡(Θ)X = R\cos(\Theta) and Y=Rsin⁡(Θ)Y = R\sin(\Theta). Determine the joint pdf of RR and Θ\Theta.
    (c) (5 pts) Determine the marginal pdf of Θ\Theta.

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

這一題的完整詳解

本題主要考察多變量機率分佈的性質,包括驗證聯合機率密度函數 (joint PDF) 的有效性,以及進行變數轉換來求得新的聯合 PDF 和邊際 PDF。

(a) 驗證 f(x,y)f(x, y) 是一個聯合密度函數

要驗證一個函數 f(x,y)f(x, y) 是否為有效的聯合密度函數,需要滿足以下兩個條件:

  1. f(x,y)≥0f(x, y) \ge 0 對於所有的 x,yx, y。
  2. ∬R2f(x,y)dxdy=1\iint_{\mathbb{R}^2} f(x, y) dx dy = 1。

首先,觀察給定的函數 f(x,y)=1πa2f(x, y) = \frac{1}{\pi a^2}。由於 a>0a > 0,所以 πa2>0\pi a^2 > 0,因此 f(x,y)=1πa2>0f(x, y) = \frac{1}{\pi a^2} > 0 對於所有定義域內的 (x,y)(x, y) 均成立。

接下來,我們需要計算在定義域 D={(x,y)∣0≤x2+y2≤a2}D = \{(x, y) | 0 \le x^2 + y^2 \le a^2\} 上的積分:
∬Df(x,y)dxdy=∬D1πa2dxdy\iint_D f(x, y) dx dy = \iint_D \frac{1}{\pi a^2} dx dy
定義域 DD 是一個以原點為圓心,半徑為 aa 的圓盤。直接在直角座標系下積分會比較複雜。我們可以使用極座標轉換來簡化積分。
令 x=rcos⁡θx = r\cos\theta,y=rsin⁡θy = r\sin\theta。則 dxdy=rdrdθdx dy = r dr d\theta。
圓盤的邊界 x2+y2=a2x^2 + y^2 = a^2 在極座標下變為 r2=a2r^2 = a^2,即 r=ar = a。
由於是整個圓盤,所以 rr 的範圍是 0≤r≤a0 \le r \le a,而 θ\theta 的範圍是 0≤θ≤2π0 \le \theta \le 2\pi。

積分變為:
∫02π∫0a1πa2rdrdθ\int_0^{2\pi} \int_0^a \frac{1}{\pi a^2} r dr d\theta
先計算內層關於 rr 的積分:
∫0a1πa2rdr=1πa2[r22]0a=1πa2(a22−0)=12π\int_0^a \frac{1}{\pi a^2} r dr = \frac{1}{\pi a^2} \left[ \frac{r^2}{2} \right]_0^a = \frac{1}{\pi a^2} \left( \frac{a^2}{2} - 0 \right) = \frac{1}{2\pi}
再計算外層關於 θ\theta 的積分:
∫02π12πdθ=12π[θ]02π=12π(2π−0)=1\int_0^{2\pi} \frac{1}{2\pi} d\theta = \frac{1}{2\pi} [\theta]_0^{2\pi} = \frac{1}{2\pi} (2\pi - 0) = 1
積分結果為 1,滿足聯合密度函數的條件。
因此,f(x,y)=1πa2f(x, y) = \frac{1}{\pi a^2} 在給定的定義域內是一個有效的聯合密度函數。

【答案】驗證過程如上。

(b) 求 RR 和 Θ\Theta 的聯合 PDF

我們已知變數轉換為 X=Rcos⁡(Θ)X = R\cos(\Theta),Y=Rsin⁡(Θ)Y = R\sin(\Theta)。
這是一個極座標轉換。
從這個轉換,我們可以得到 R2=X2+Y2R^2 = X^2 + Y^2,R=X2+Y2R = \sqrt{X^2 + Y^2},以及 Θ=arctan⁡(Y/X)\Theta = \arctan(Y/X) (需要注意象限)。
Jacobian 矩陣為:

🔒

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

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

免費註冊

第 3 題

  1. In Taiwan, you will get an uniform invoice after making every purchase. Every two months, there will be an uniform invoice lottery, and you can check your collecting uniform-invoices with the winning numbers to see if you win any prizes. Suppose the winning/bingo rate of any uniform invoice is pp. Let's use a random variable, NN, to represent the number of your collecting uniform-invoices during the two months period. Assume the distribution of NN is Poisson with mean 60.

(a) Suppose the winning/bingo rate of any uniform invoice is p=0.005p = 0.005, what is the probability that none of your collecting uniform invoices during these two months wins any prize? (5 pts)
(b) Given p=0.005p = 0.005, what is the distribution of the number of winning uniform-invoices? (7 pts)
(c) Given p=0.005p = 0.005, what is the expected number of winning uniform-invoices. (3 pts)
(d) Suppose none of your collecting uniform-invoices last November and December won any prize, based on this experience, what is the maximal likelihood estimate of pp? (5 pts)
(e) Suppose during the whole year last year (6 times of lottery), the numbers of your winning uniform-invoices were 0, 1, 1, 0, 0, and 0. Based on these 6 lotteries, what is the maximal likelihood estimate of pp? (5 pts)

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

這一題的完整詳解

核心觀念

每張統一發票是否中獎可視為一次成功機率為 pp 的 Bernoulli 試驗,而兩個月蒐集到的發票張數滿足

N∼Poisson⁡(60)。N\sim \operatorname{Poisson}(60)。

若以 YY 表示兩個月內中獎的發票張數,則 Poisson 分配的稀疏化性質指出:

Y∼Poisson⁡(60p)。Y\sim \operatorname{Poisson}(60p)。

因此,YY 的機率質量函數為

P(Y=y)=(60p)ye−60py!,y=0,1,2,…P(Y=y)=\frac{(60p)^y e^{-60p}}{y!},\qquad y=0,1,2,\ldots

且其期望值為

E(Y)=60p。E(Y)=60p。

(a) 兩個月內完全沒有中獎的機率

已知 p=0.005p=0.005,中獎發票數的平均數為

60p=60(0.005)=0.3。60p=60(0.005)=0.3。

故

Y∼Poisson⁡(0.3)。Y\sim \operatorname{Poisson}(0.3)。

完全沒有中獎即為 Y=0Y=0:

P(Y=0)=(0.3)0e−0.30!=e−0.3。P(Y=0)=\frac{(0.3)^0e^{-0.3}}{0!}=e^{-0.3}。 P(Y=0)≈0.7408。P(Y=0)\approx 0.7408。

【答案】e−0.3≈0.7408e^{-0.3}\approx 0.7408。


(b) 中獎發票張數的分配

由 Poisson 分配的稀疏化性質,中獎張數 YY 的分配為

Y∼Poisson⁡(60p)。Y\sim \operatorname{Poisson}(60p)。

代入 p=0.005p=0.005:

Y∼Poisson⁡(0.3)。Y\sim \operatorname{Poisson}(0.3)。

因此

P(Y=y)=(0.3)ye−0.3y!,y=0,1,2,…P(Y=y)=\frac{(0.3)^y e^{-0.3}}{y!}, \qquad y=0,1,2,\ldots

【答案】中獎統一發票張數服從 Poisson⁡(0.3)\operatorname{Poisson}(0.3) 分配。


(c) 中獎發票張數的期望值

若

Y∼Poisson⁡(60p),Y\sim \operatorname{Poisson}(60p),

則 Poisson 分配的期望值等於其參數:

E(Y)=60p。E(Y)=60p。

代入 p=0.005p=0.005:

E(Y)=60(0.005)=0.3。E(Y)=60(0.005)=0.3。

【答案】期望中獎張數為 0.30.3 張。


(d) 某一期完全沒有中獎時,pp 的最大概似估計量

觀察到某一期中獎張數為 Y=0Y=0。由

🔒

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

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

免費註冊

第 4 題

  1. Shewhart control chart is one of the statistical process control schemes, which uses "xx" as an indicator of whether the process is in control or out of control. For example, temperature is used to measure the output of a production process. When the process is in control, the mean of the process is μ=200\mu = 200 and the standard deviation is σ=0.5\sigma= 0.5.

(a) If samples of size 6 are to be used, to monitor the process, please provide the LCL (lower control limit) and UCL (upper control limit) at 5% significance. (6 pts)
(b) Is the process in control for a sample providing the following data? (2 pts)
200.9, 199.3, 199.1, 200.5, 199.9, 201.8
(c) At the next sample point, the observed data are as following. Is the process still in control? (2 pts)
200.9, 200.5, 200.7, 199.3, 200.1, 198.2
(d) At the next sample point following (c), the observed data are as following. Is the process still in control? (2 pts)
200.7, 200.6, 200.5, 199.2, 200.0, 198.1
(e) Use the observed data in (b) and (c). Please conduct the test and determine whether the mean has changed or not? (4 pts)
(f) Similarly, please conduct the test and determine whether the mean has changed or not between (c) and (d)? (4 pts)
(g) Please provide your explanation about the contradiction (if you find any) for the in-control/out-of-control results in (b), (c), (d) and the mean-changed/mean-not-changed results in (e), (f). (5 pts)

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

這一題的完整詳解

本題主要考察統計製程管制 (Statistical Process Control, SPC) 中的 Shewhart 管制圖概念,包括管制上下限的計算、判斷製程是否在管制狀態,以及如何進行假設檢定來判斷製程平均數是否發生變動。

已知製程在管制狀態下,平均數 μ=200\mu = 200,標準差 σ=0.5\sigma = 0.5。

(a) 計算管制上下限 (LCL, UCL)

Shewhart 管制圖通常是針對樣本平均數 Xˉ\bar{X} 來設計的。
當樣本大小為 n=6n=6 時,樣本平均數 Xˉ\bar{X} 的期望值為 E[Xˉ]=μ=200E[\bar{X}] = \mu = 200。
樣本平均數 Xˉ\bar{X} 的標準差 (標準誤) 為 SE(Xˉ)=σn=0.56\text{SE}(\bar{X}) = \frac{\sigma}{\sqrt{n}} = \frac{0.5}{\sqrt{6}}。

管制圖的上下限通常設定在中心線 μ\mu 的 ±3×SE(Xˉ)\pm 3 \times \text{SE}(\bar{X}) 處。
中心線 (Center Line, CL) =μ=200= \mu = 200。
標準誤 SE(Xˉ)=0.56≈0.52.449≈0.2041\text{SE}(\bar{X}) = \frac{0.5}{\sqrt{6}} \approx \frac{0.5}{2.449} \approx 0.2041。
管制圖的上下限通常是基於 ±3σXˉ\pm 3\sigma_{\bar{X}}。
UCL =μ+3σn=200+3×0.2041≈200+0.6123=200.6123= \mu + 3 \frac{\sigma}{\sqrt{n}} = 200 + 3 \times 0.2041 \approx 200 + 0.6123 = 200.6123。
LCL =μ−3σn=200−3×0.2041≈200−0.6123=199.3877= \mu - 3 \frac{\sigma}{\sqrt{n}} = 200 - 3 \times 0.2041 \approx 200 - 0.6123 = 199.3877。

然而,題目要求的是 5% 的顯著水準。這通常意味著我們希望在正常情況下,有 95% 的機率樣本平均數落在管制圖內。
對於正態分佈,95% 的機率對應於 ±1.96\pm 1.96 個標準差。
所以,如果使用 5% 顯著水準,管制圖的上下限應基於 ±1.96×SE(Xˉ)\pm 1.96 \times \text{SE}(\bar{X})。
UCL =μ+1.96σn=200+1.96×0.2041≈200+0.4000≈200.4000= \mu + 1.96 \frac{\sigma}{\sqrt{n}} = 200 + 1.96 \times 0.2041 \approx 200 + 0.4000 \approx 200.4000。
LCL =μ−1.96σn=200−1.96×0.2041≈200−0.4000≈199.6000= \mu - 1.96 \frac{\sigma}{\sqrt{n}} = 200 - 1.96 \times 0.2041 \approx 200 - 0.4000 \approx 199.6000。

通常 Shewhart 管制圖使用 ±3σ\pm 3\sigma 作為預設的管制界線,對應大約 0.27% 的 Type I 錯誤率。
如果題目明確要求 5% 顯著水準,則應使用 1.961.96。
我們這裡採用 1.961.96 來計算。

【答案】UCL ≈200.4000\approx 200.4000,LCL ≈199.6000\approx 199.6000。

(b) 判斷樣本資料是否在管制狀態

樣本資料為:200.9, 199.3, 199.1, 200.5, 199.9, 201.8。
樣本大小 n=6n=6。
計算樣本平均數 xˉ\bar{x}:
xˉ=200.9+199.3+199.1+200.5+199.9+201.86=1201.56=200.25\bar{x} = \frac{200.9 + 199.3 + 199.1 + 200.5 + 199.9 + 201.8}{6} = \frac{1201.5}{6} = 200.25。

根據 (a) 計算的管制上下限:
LCL ≈199.6000\approx 199.6000
UCL ≈200.4000\approx 200.4000

觀察樣本平均數 xˉ=200.25\bar{x} = 200.25。
由於 xˉ=200.25\bar{x} = 200.25 落在 LCL 和 UCL 之間 (199.6000<200.25<200.4000199.6000 < 200.25 < 200.4000),
所以,從樣本平均數來看,這個樣本點在管制圖內。

但是,我們還需要檢查是否有其他異常模式。
觀察個別數據點:201.8 超出了 UCL ≈200.4000\approx 200.4000。
Shewhart 管制圖的規則是,如果任何一個點超出管制界限,則製程被認為失控。
因此,即使樣本平均數在管制範圍內,但由於個別數據點 201.8 超出 UCL,製程被認為失控。

【答案】否,製程失控,因為個別數據點 201.8 超出 UCL。

(c) 判斷下一個樣本點是否在管制狀態

樣本資料為:200.9, 200.5, 200.7, 199.3, 200.1, 198.2。
樣本大小 n=6n=6。
計算樣本平均數 xˉ\bar{x}:
xˉ=200.9+200.5+200.7+199.3+200.1+198.26=1200.76≈200.1167\bar{x} = \frac{200.9 + 200.5 + 200.7 + 199.3 + 200.1 + 198.2}{6} = \frac{1200.7}{6} \approx 200.1167。

管制上下限 (基於 5% 顯著水準):
LCL ≈199.6000\approx 199.6000
UCL ≈200.4000\approx 200.4000

觀察樣本平均數 xˉ≈200.1167\bar{x} \approx 200.1167。
xˉ\bar{x} 落在管制範圍內 (199.6000<200.1167<200.4000199.6000 < 200.1167 < 200.4000)。

觀察個別數據點:
200.9 落在管制範圍內。
200.5 落在管制範圍內。
200.7 落在管制範圍內。
199.3 落在管制範圍內。
200.1 落在管制範圍內。
198.2 小於 LCL ≈199.6000\approx 199.6000。

由於個別數據點 198.2 小於 LCL,製程被認為失控。

【答案】否,製程失控,因為個別數據點 198.2 小於 LCL。

(d) 判斷再下一個樣本點是否在管制狀態

樣本資料為:200.7, 200.6, 200.5, 199.2, 200.0, 198.1。
樣本大小 n=6n=6。
計算樣本平均數 xˉ\bar{x}:
xˉ=200.7+200.6+200.5+199.2+200.0+198.16=1200.16≈200.0167\bar{x} = \frac{200.7 + 200.6 + 200.5 + 199.2 + 200.0 + 198.1}{6} = \frac{1200.1}{6} \approx 200.0167。

管制上下限 (基於 5% 顯著水準):
LCL ≈199.6000\approx 199.6000
UCL ≈200.4000\approx 200.4000

觀察樣本平均數 xˉ≈200.0167\bar{x} \approx 200.0167。
xˉ\bar{x} 落在管制範圍內 (199.6000<200.0167<200.4000199.6000 < 200.0167 < 200.4000)。

觀察個別數據點:
200.7 落在管制範圍內。
200.6 落在管制範圍內。
200.5 落在管制範圍內。
199.2 落在管制範圍內。
200.0 落在管制範圍內。
198.1 小於 LCL ≈199.6000\approx 199.6000。

由於個別數據點 198.1 小於 LCL,製程被認為失控。

【答案】否,製程失控,因為個別數據點 198.1 小於 LCL。

🔒

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

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

免費註冊

其他考古題