108 年 國立中央大學企業管理學系碩士班丙組《統計學》
第 1 題
Suppose there are 3 random variables, , and their expected values are 2, 0, and -1, respectively. We also know their variances are 2, 1, and 2, respectively. The covariance between and is -1, and the covariance between and is 1, while and are independent. Try to find the following:
(a) The expected value and the variance of ? (5 pts)
(b) The expected value and the variance of ? (5 pts)
(c) The covariance between and . (5 pts)
登入後即可作答並保存紀錄。
本題主要在考驗對隨機變數期望值、變異數以及共變異數的基本性質的理解與應用。
已知:
,
,
,
and are independent, which implies .
(a) 求 的期望值與變異數。
期望值性質:
變異數性質:
【答案】(a) ,
(b) 求 的期望值與變異數。
期望值:
變異數:
第 2 題
To test a particular coin fair or not, (i.e. ), we decide to flip the coin times. Let denote the number of heads appearing in flips.
(a) Please provide a M.L.E. of ; (5 points)
(b) Let , try to use to be the test statistics to develop a test on
(1) Show the distribution of . (5 points)
(2) Let's set the significant level, , to be 0.15, show the rejection rule. (5 points)
(3) Based on your rejection rule in (b-2), what is the testing power on ? (5 points)
(4) If only one head appears in 4 flips, what is your conclusion? (5 points)
(5) Please develop a 85% confidence interval of . (5 points)
(c) If , let's use to be the test statistics to test on
(1) Since , we can invoke the Central Limit Theory, show the approximate distribution of . (5 points)
(2) Let's set the significant level, , to be 0.15, show the rejection rule. In other words, what is the critical number of heads appearing to reject . (5 points)
(3) Based on your rejection rule in (c-2), what is the testing power on ? (5 points)
(4) Please develop a 85% confidence interval of . (5 points)
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 二項分配:。
- 最大概似估計法(M.L.E.)。
- 雙尾假設檢定: 對 。
- 顯著水準 、檢定力(power)。
- 中央極限定理(Central Limit Theorem)。
- 二項母體比例的信賴區間。
「硬幣是否公平」表示只要 偏離 ,無論偏大或偏小都應拒絕虛無假設,因此採用雙尾檢定。
(a) 的最大概似估計量
令觀察到 次擲幣中有 次正面,則
概似函數為
取對數概似函數:
對 微分並令其等於 :
因此
所以最大概似估計量為
(b) ,以 為檢定統計量
(b-1) 的分配
因為每次擲幣只有正面或反面,且各次擲幣相互獨立,所以
在虛無假設 下,
因此:
分配具有對稱性,最能支持「硬幣不公平」的結果是 或 ,因為四次全部為反面或全部為正面。
(b-2) 顯著水準 下的拒絕域
由於是雙尾檢定,先選擇兩端最極端的結果:
因為
所以非隨機化檢定的拒絕域為
亦即:
此檢定的實際顯著水準為 ,小於名目顯著水準 。若再納入 或 ,拒絕機率會增加為
超過 ,因此不能納入。
(b-3) 在 下的檢定力
檢定力定義為在替代假設成立時拒絕 的機率。
本題拒絕域為 或 ,所以在 下:
因此檢定力為
(b-4) 若四次擲幣只有一次正面
此時
由於拒絕域為 ,而 不在拒絕域內,因此
統計上的結論是:在此顯著水準下,沒有足夠證據認定硬幣不公平。
必須注意,「不拒絕 」不等於證明硬幣一定公平,只表示目前的樣本證據不足以支持硬幣不公平。
(b-5) 的 85% 信賴區間
承接上一小題,觀察值為 。由於樣本數只有 ,採用二項分配的 Clopper–Pearson 精確信賴區間較合適。
信賴水準為 ,所以
當 時,精確信賴區間為
其中 表示 Beta 分配的第 分位數。
下限可由
求得:
上限由
求得,數值約為
因此,85% 精確信賴區間為
這個區間相當寬,原因是樣本數僅有 次,估計比例的不確定性很高。
(c) ,以 為檢定統計量
令
是樣本中正面出現的比例。
(c-1) 的近似分配
因為
所以
因此
且
第 3 題
An experiment was performed to investigate the effectiveness of three materials. Five samples of each material were tested and the failure times (in seconds) are shown below:
| Material | \multicolumn{5}{|c|}{Failure Time (seconds)} |
|---|---|---|---|---|---|
| A | 52 | 50 | 47 | 65 | 46 |
| B | 44 | 58 | 48 | 60 | 64 |
| C | 70 | 95 | 88 | 86 | 89 |
Assume that the variances for three materials are the same, and the failure times are normally distributed.
(a) Use , do all three materials have the same effect on the mean failure time? (10 pts)
(b) Please develop the 95% confidence intervals of the mean failure times for three materials separately. Construct a graphical display of these three confidence intervals. (10 pts)
(c) When we do pairwise comparison, at , does there exist any significant difference on mean failure time between any pair of materials? (15 pts)
登入後即可作答並保存紀錄。
本題主要考驗單因子變異數分析 (One-way ANOVA) 的應用,包括整體檢定、個別信賴區間以及事後檢定 (pairwise comparison)。
首先,整理資料並計算基本統計量:
樣本數 。總樣本數 。
各組平均數:
各組樣本變異數:
根據題目假設,三個材料的變異數相同,這意味著我們應該使用合併變異數 (pooled variance)。
合併變異數 的計算:
總平均數 。
(a) ,檢定所有三個材料是否對平均失效時間有相同影響。
這是單因子變異數分析的整體檢定。
虛無假設 : (所有材料的平均失效時間相同)。
對立假設 : 至少有一個材料的平均失效時間不同。
檢定統計量為 F 統計量:。
其中 MST (Mean Square Treatment) 是組間均方,MSE (Mean Square Error) 是組內均方 (或稱殘差均方)。
(總平方和)
MST = ,其中 是組數。
MST =
MSE = (這是組內變異數的估計)。