113 年 國立中央大學工業管理研究所碩士班《統計學》
第 1 題
- (a) (10 pts) Show: If and with pdf , where is a positive integer, then .
(b) (15 pts) Suppose that . Derive the expression for the CDF of in terms of the CDF of a Gamma distribution using the result from (a).
登入後即可作答並保存紀錄。
本題主要在考察機率分佈之間的關聯性,特別是 Poisson 分佈與 Gamma 分佈之間的聯繫,以及如何利用此關聯性推導 CDF。
(a) 證明
此題的關鍵在於理解 Gamma 分佈的累積分佈函數 (CDF) 與 Poisson 分佈的機率質量函數 (PMF) 之間的關係。
首先,我們考慮一個 Gamma 分佈的隨機變數 ,其機率密度函數 (PDF) 為 ,其中 為正整數。
我們想計算 。根據 Gamma 分佈的定義,其 CDF 為 。
因此,。
另一方面,我們考慮一個 Poisson 分佈的隨機變數 ,其機率質量函數 (PMF) 為 ,其中 。
我們要計算 。
現在,我們需要證明 。
這個關係式是 Gamma 分佈的 CDF 和 Poisson 分佈的 PMF 之間的一個經典結果。
我們可以利用積分的連續性或透過分部積分來推導。
考慮 Gamma 分佈的 CDF 。
對其進行分部積分:令 ,。則 ,。
這似乎不是一個直接的方法。
另一種常見的證明方法是利用 Gamma 分佈的累積機率與 Poisson 分佈的累積機率之間的關係。
對於 ,其 CDF 為 ,其中 是不完全 Gamma 函數。
當 時, 。
我們知道,若 ,則 。
這正好是 的 CDF,即 。
所以,。
這裡的 在 Poisson 分佈中是期望值,在 Gamma 分佈中是上界。
題目中的 是指一個具體的值,而 Poisson 分佈的參數是 。
所以,若 ,則 。
而若 ,則 。
因此,。
【答案】證明如上。
第 2 題
- The joint pdf of random variables and is
(a) (10 pts) Verify that is a joint density function. Hint: the integration should be one and .
(b) (10 pts) Let and . Determine the joint pdf of and .
(c) (5 pts) Determine the marginal pdf of .
登入後即可作答並保存紀錄。
本題主要考察多變量機率分佈的性質,包括驗證聯合機率密度函數 (joint PDF) 的有效性,以及進行變數轉換來求得新的聯合 PDF 和邊際 PDF。
(a) 驗證 是一個聯合密度函數
要驗證一個函數 是否為有效的聯合密度函數,需要滿足以下兩個條件:
- 對於所有的 。
- 。
首先,觀察給定的函數 。由於 ,所以 ,因此 對於所有定義域內的 均成立。
接下來,我們需要計算在定義域 上的積分:
定義域 是一個以原點為圓心,半徑為 的圓盤。直接在直角座標系下積分會比較複雜。我們可以使用極座標轉換來簡化積分。
令 ,。則 。
圓盤的邊界 在極座標下變為 ,即 。
由於是整個圓盤,所以 的範圍是 ,而 的範圍是 。
積分變為:
先計算內層關於 的積分:
再計算外層關於 的積分:
積分結果為 1,滿足聯合密度函數的條件。
因此, 在給定的定義域內是一個有效的聯合密度函數。
【答案】驗證過程如上。
(b) 求 和 的聯合 PDF
我們已知變數轉換為 ,。
這是一個極座標轉換。
從這個轉換,我們可以得到 ,,以及 (需要注意象限)。
Jacobian 矩陣為:
第 3 題
- 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 . Let's use a random variable, , to represent the number of your collecting uniform-invoices during the two months period. Assume the distribution of is Poisson with mean 60.
(a) Suppose the winning/bingo rate of any uniform invoice is , what is the probability that none of your collecting uniform invoices during these two months wins any prize? (5 pts)
(b) Given , what is the distribution of the number of winning uniform-invoices? (7 pts)
(c) Given , 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 ? (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 ? (5 pts)
登入後即可作答並保存紀錄。
核心觀念
每張統一發票是否中獎可視為一次成功機率為 的 Bernoulli 試驗,而兩個月蒐集到的發票張數滿足
若以 表示兩個月內中獎的發票張數,則 Poisson 分配的稀疏化性質指出:
因此, 的機率質量函數為
且其期望值為
(a) 兩個月內完全沒有中獎的機率
已知 ,中獎發票數的平均數為
故
完全沒有中獎即為 :
【答案】。
(b) 中獎發票張數的分配
由 Poisson 分配的稀疏化性質,中獎張數 的分配為
代入 :
因此
【答案】中獎統一發票張數服從 分配。
(c) 中獎發票張數的期望值
若
則 Poisson 分配的期望值等於其參數:
代入 :
【答案】期望中獎張數為 張。
(d) 某一期完全沒有中獎時, 的最大概似估計量
觀察到某一期中獎張數為 。由
第 4 題
- Shewhart control chart is one of the statistical process control schemes, which uses "" 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 and the standard deviation is .
(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 管制圖概念,包括管制上下限的計算、判斷製程是否在管制狀態,以及如何進行假設檢定來判斷製程平均數是否發生變動。
已知製程在管制狀態下,平均數 ,標準差 。
(a) 計算管制上下限 (LCL, UCL)
Shewhart 管制圖通常是針對樣本平均數 來設計的。
當樣本大小為 時,樣本平均數 的期望值為 。
樣本平均數 的標準差 (標準誤) 為 。
管制圖的上下限通常設定在中心線 的 處。
中心線 (Center Line, CL) 。
標準誤 。
管制圖的上下限通常是基於 。
UCL 。
LCL 。
然而,題目要求的是 5% 的顯著水準。這通常意味著我們希望在正常情況下,有 95% 的機率樣本平均數落在管制圖內。
對於正態分佈,95% 的機率對應於 個標準差。
所以,如果使用 5% 顯著水準,管制圖的上下限應基於 。
UCL 。
LCL 。
通常 Shewhart 管制圖使用 作為預設的管制界線,對應大約 0.27% 的 Type I 錯誤率。
如果題目明確要求 5% 顯著水準,則應使用 。
我們這裡採用 來計算。
【答案】UCL ,LCL 。
(b) 判斷樣本資料是否在管制狀態
樣本資料為:200.9, 199.3, 199.1, 200.5, 199.9, 201.8。
樣本大小 。
計算樣本平均數 :
。
根據 (a) 計算的管制上下限:
LCL
UCL
觀察樣本平均數 。
由於 落在 LCL 和 UCL 之間 (),
所以,從樣本平均數來看,這個樣本點在管制圖內。
但是,我們還需要檢查是否有其他異常模式。
觀察個別數據點:201.8 超出了 UCL 。
Shewhart 管制圖的規則是,如果任何一個點超出管制界限,則製程被認為失控。
因此,即使樣本平均數在管制範圍內,但由於個別數據點 201.8 超出 UCL,製程被認為失控。
【答案】否,製程失控,因為個別數據點 201.8 超出 UCL。
(c) 判斷下一個樣本點是否在管制狀態
樣本資料為:200.9, 200.5, 200.7, 199.3, 200.1, 198.2。
樣本大小 。
計算樣本平均數 :
。
管制上下限 (基於 5% 顯著水準):
LCL
UCL
觀察樣本平均數 。
落在管制範圍內 ()。
觀察個別數據點:
200.9 落在管制範圍內。
200.5 落在管制範圍內。
200.7 落在管制範圍內。
199.3 落在管制範圍內。
200.1 落在管制範圍內。
198.2 小於 LCL 。
由於個別數據點 198.2 小於 LCL,製程被認為失控。
【答案】否,製程失控,因為個別數據點 198.2 小於 LCL。
(d) 判斷再下一個樣本點是否在管制狀態
樣本資料為:200.7, 200.6, 200.5, 199.2, 200.0, 198.1。
樣本大小 。
計算樣本平均數 :
。
管制上下限 (基於 5% 顯著水準):
LCL
UCL
觀察樣本平均數 。
落在管制範圍內 ()。
觀察個別數據點:
200.7 落在管制範圍內。
200.6 落在管制範圍內。
200.5 落在管制範圍內。
199.2 落在管制範圍內。
200.0 落在管制範圍內。
198.1 小於 LCL 。
由於個別數據點 198.1 小於 LCL,製程被認為失控。
【答案】否,製程失控,因為個別數據點 198.1 小於 LCL。