113 年 國立臺北大學統計學系碩士班《統計學》
第 1 題10 分
A hospital obtains 50% of its flu vaccine from Company A, 40% from Company B, and 10% from Company C. From past experience, it is known that 4% of the vials from A are ineffective, 3% from B are ineffective, and 6% from C are ineffective. The hospital tests five vials from each shipment. If at least one of the five is ineffective, find the conditional probability of that shipment's having come from B.
登入後即可作答並保存紀錄。
此題考驗貝氏定理(Bayes' Theorem)的應用,以及條件機率的計算。
設 A, B, C 為該批疫苗來自公司 A, B, C 的事件,且已知其機率分別為 , , 。
設 為該批疫苗中至少有一劑無效的事件。
已知各公司疫苗無效的機率:
我們需要計算的是在已知至少有一劑無效的條件下,該批疫苗來自公司 B 的機率,即 。
根據貝氏定理:
其中 是全機率公式:
第 2 題10 分
Tiffany and John decide to meet at the train station. If each person independently arrives at a time uniformly distributed between 1 p.m. to 1:30 p.m., calculate the probability that the first to arrive has to wait longer than 10 minutes.
登入後即可作答並保存紀錄。
此題考驗聯合機率分佈的幾何解釋,以及連續隨機變數的機率計算。
設 為 Tiffany 到達的時間,單位為分鐘,以 1 p.m. 為 0。則 服從 上的均勻分佈,即 。
設 為 John 到達的時間,單位為分鐘,以 1 p.m. 為 0。則 服從 上的均勻分佈,即 。
由於兩人的到達時間是獨立的,其聯合機率密度函數為:
此聯合機率密度函數定義在一個邊長為 30 的正方形區域內,面積為 。
我們感興趣的是「第一個到達的人要等待超過 10 分鐘」的機率。
假設 Tiffany 先到,則她等待的時間是 。若 ,則她等待的時間是 。
假設 John 先到,則他等待的時間是 。若 ,則他等待的時間是 。
所以,第一個到達的人等待的時間是 。
我們要計算的機率是 。
這相當於計算聯合機率密度函數在區域 上的積分。
在幾何上,這相當於計算該正方形區域內,滿足 的面積。
不等式 可以分解為兩個不等式:
第 3 題15 分
Let be the order statistics of a random sample of size from the exponential distribution with p.d.f. , .
(1) Find the p.d.f. of the sample median .
(2) Compute the probability that is less than two.
(3) Determine .
登入後即可作答並保存紀錄。
此題考驗次序統計量(Order Statistics)的機率密度函數求法,以及指數分佈的性質。
母體指數分佈的機率密度函數 (p.d.f.) 為 ,累積分布函數 (c.d.f.) 為 ,其中 。
樣本大小 。
(1) 求樣本中位數 的機率密度函數。
次序統計量 的 c.d.f. 為 。
對於樣本中位數 (),其 c.d.f. 為:
將 代入:
現在對 微分以得到 p.d.f. :
第 4 題15 分
A random sample of size is taken from a Poisson distribution with a mean of , . Show that is the minimum-variance unbiased estimator for .
登入後即可作答並保存紀錄。
此題考驗點估計量(Point Estimator)的性質,特別是關於不偏性(Unbiasedness)與最小變異數(Minimum Variance)的證明。要證明 是 的最小變異數不偏估計量 (MVUE),我們需要證明兩件事:
- 是 的不偏估計量。
- 擁有最小變異數。
已知 服從 Poisson() 分佈,其機率質量函數 (p.m.f.) 為 ,其中 。
Poisson 分佈的期望值為 ,變異數為 。
-
證明 是 的不偏估計量。
樣本平均數 。
計算 的期望值:
由於期望值是線性的:
因為 對於所有 都成立:
因此, 是 的一個不偏估計量。 -
證明 擁有最小變異數。
對於一個給定的分佈族,如果我們能找到一個估計量,其 Cramér-Rao lower bound (CRLB) 的變異數等於該估計量的變異數,那麼這個估計量就是 MVUE。
對於 Poisson 分佈,其得分函數 的期望值為 0,並且其 Fisher Information 可以計算得出。
Fisher Information 定義為:
其中 是單個觀測值 的 p.d.f. (或 p.m.f.)。
首先計算對數概似函數 :
第 II.1 (a) 題5 分
Define as the daily change for the value of a portfolio in one day. Suppose that one-day volatility (standard deviation) of is 3 and from one day to the next day are independent. The estimate of 4-day volatility for is _____. (5%)
登入後即可作答並保存紀錄。
此題考驗變異數的性質,特別是獨立隨機變數和的變異數。
設 為第 天的組合價值變動。
已知單日波動度 (標準差) 為 。
則單日的變異數為 。
假設每日的變動 是獨立的。
我們關心的是 4 天的總變動,設為 。
由於 彼此獨立,總變動的變異數是各日變異數的總和:
第 II.1 (b) 題5 分
Suppose that daily changes have first-order correlation with 0.1. The 4-day volatility for will be _____. (5%)
登入後即可作答並保存紀錄。
此題考驗帶有自相關(autocorrelation)的隨機過程的變異數計算。
設 為第 天的組合價值變動。
已知單日變異數 。
已知一階自相關係數 。
我們需要計算 4 天的波動度 (標準差)。
總變動為 。
其變異數為:
由於 (對於一階自相關),且我們假設只有相鄰天的相關性為 0.1,其他天的相關性為 0 (題目只提到 first-order correlation)。
第 II.2 (a) 題5 分
ABC Company sells kiwi fruits. Suppose the weight of a kiwi fruit is normally distributed with mean 21 g and standard deviation of 2 g. There are 16 kiwi fruits packed in a box. The probability that a box of kiwi fruits weights less than 340 g is _____. (5%)
登入後即可作答並保存紀錄。
此題考驗常態分佈(Normal Distribution)的應用,特別是樣本平均數(或樣本總和)的機率計算。
設 為單顆奇異果的重量,則 。
一個盒子有 顆奇異果。
我們關心的是一盒奇異果的總重量 。
由於 是獨立同分佈的,總和 的期望值和變異數為:
g。
第 II.2 (b) 題5 分
Mary buys 5 boxes of kiwi fruits. The probability that there is only one box of kiwi fruits weights less than 340 g is _____. (5%)
登入後即可作答並保存紀錄。
此題考驗二項分佈(Binomial Distribution)的應用。
根據上一題的結果,一盒奇異果重量小於 340 g 的機率為 。
一盒奇異果重量不小於 340 g 的機率為 。
Mary 買了 盒奇異果。
我們關心的是「恰好只有一盒」的重量小於 340 g 的機率。
這符合二項分佈的模式,其中:
- 試驗次數 (每盒奇異果)。
- 成功定義為「一盒的重量小於 340 g」,成功機率 。
- 我們要求恰好有 次成功。
第 II.2 (c) 題5 分
ABC Company claims that the average weight of a kiwi fruit is at least 21 g. Mary buys 5 boxes of kiwi fruits and find the average weight of 20.5 g for a kiwi fruit. Is the test for this hypotheses significant at ?
登入後即可作答並保存紀錄。
此題考驗假設檢定(Hypothesis Testing)的應用,特別是單一樣本平均數檢定。
公司聲稱平均重量至少為 21 g,這表示我們想檢定的虛無假設是 。
但通常檢定時,我們將虛無假設設定為等號,即 。
對立假設為 (因為 Mary 發現的平均值 20.5 g 低於 21 g,我們將朝這個方向檢定)。
這是一個左尾檢定(Left-tailed test)。
Mary 買了 5 盒奇異果,共 顆奇異果。
她發現的平均重量是 g。
根據上一題的資訊,單顆奇異果的重量服從 。
因此,母體標準差 是已知的。
由於母體標準差已知,我們可以使用 Z-檢定。
檢定統計量為:
其中 是虛無假設中的母體平均值。
是樣本平均值。
第 II.3 (a) 題5 分
A multiple regression analysis was performed on a random sample with the model , . If the coefficient of determination is .8 (), the F-value for testing is _____. (5%)
登入後即可作答並保存紀錄。
此題考驗複迴歸分析(Multiple Regression Analysis)中的 F 檢定,用於檢定所有斜率係數是否同時為零。
模型為 。
這是一個包含 4 個預測變數 (自變數) 的複迴歸模型。
樣本大小 。
複迴歸模型中的 F 檢定用於檢定虛無假設 。
對立假設為 至少有一個 (其中 )。
第 II.3 (b) 題5 分
If the correlation between y and x₁ is .2 and a simple linear regression (using x₁ to predict y) was performed, what is the t-value for testing ? (5%)
登入後即可作答並保存紀錄。
此題考驗簡單線性迴歸(Simple Linear Regression)中的 t 檢定,用於檢定單一斜率係數是否顯著。
簡單線性迴歸模型為 。
我們需要檢定虛無假設 。
對立假設為 (通常是雙尾檢定)。
t 統計量的計算公式為:
其中:
- 是樣本估計的斜率。
- 是虛無假設中的斜率值,在此為 0。
- 是 的標準誤。
在簡單線性迴歸中,相關係數 與斜率估計值 之間有關係。
。
。
。
第 II.4 (a) 題5 分
In a completely randomized experimental design, 7 experimental units were used for the first treatment, 9 experimental units for the second treatment, and 14 experimental units for the third treatment. F value for testing any significant differences among the means is 4.5 and MSE=4. The corresponding sum of squares due to treatments (SSTR) is _____. (5%)
登入後即可作答並保存紀錄。
此題考驗單因子變異數分析(One-way ANOVA)的 F 檢定與 Sum of Squares (SS) 的關係。
實驗設計為完全隨機設計,有 3 個處理組。
各組樣本數分別為 , , 。
總樣本數 。
F 值為 4.5。
均方誤差 (MSE, Mean Squared Error) = 4。
虛無假設 各處理組的平均值無顯著差異。
對立假設 至少有一個處理組的平均值與其他不同。
F 統計量的計算公式為:
其中:
- 是處理均方 (Mean Square Treatment)。
- 是誤差均方 (Mean Squared Error)。
第 II.4 (b) 題5 分
In a completely randomized experimental design, 7 experimental units were used for the first treatment, 9 experimental units for the second treatment, and 14 experimental units for the third treatment. F value for testing any significant differences among the means is 4.5 and MSE=4. The corresponding sum of squares due to treatments (SSTR) is (5%), the degree of freedom associated with error is _____, (5%) and the total sum of squares (SST) is _____. (5%)
登入後即可作答並保存紀錄。
此題考驗單因子變異數分析(One-way ANOVA)的自由度與平方和計算。
前面已計算出:
- SSTR = 36
我們需要計算:
-
誤差自由度 ()。
-
總平方和 (SST)。
-
誤差自由度 ():
在單因子變異數分析中,誤差自由度等於總樣本數減去處理組的數量。
其中 是總樣本數, 是處理組數量。