114 年 國立成功大學經濟研究所《統計學》
第 1 題30 分
- As the lead researcher of a study comparing two weight-loss techniques—Diet and Exercise—you are investigating their effects on overweight patients. The table below presents the number of obese and severely obese individuals who successfully achieved significant weight loss (successes) and those who did not lose weight (failures) for each method.
| \multicolumn{2}{c | }{Diet} | \multicolumn{2}{c | }{Exercise} | |
|---|---|---|---|---|
| Successes | Failures | Successes | Failures | |
| Obese | 10 | 30 | 22 | 58 |
| Severely obese | 60 | 20 | 35 | 5 |
(a) Calculate the success rates of the two weight-loss techniques for obese and severely obese. What conclusions can be drawn about which technique works better?
(b) Calculate the total success rates for both techniques and compare them. Are there any differences compared to part (a)? If so, explain the reason. If not, indicate which technique performs better.
登入後即可作答並保存紀錄。
這題主要在考驗對機率與比例的計算能力,以及如何從數據中得出初步的統計推論。
(a) 計算各組別的成功率:
成功率的定義為成功人數佔該組別總人數的比例。
對於肥胖 (Obese) 的族群:
- Diet 方法的成功率:
- Exercise 方法的成功率:
對於嚴重肥胖 (Severely obese) 的族群:
- Diet 方法的成功率:
- Exercise 方法的成功率:
結論:
- 對於肥胖族群,Exercise 方法的成功率 (0.275) 略高於 Diet 方法 (0.25)。
- 對於嚴重肥胖族群,Exercise 方法的成功率 (0.875) 明顯高於 Diet 方法 (0.75)。
綜合來看,Exercise 方法在兩個族群中都表現出較高的成功率,特別是在嚴重肥胖族群中差異更為顯著。
【答案】
- 肥胖族群:Diet 成功率 0.25,Exercise 成功率 0.275。
- 嚴重肥胖族群:Diet 成功率 0.75,Exercise 成功率 0.875。
- 結論:Exercise 方法在兩個族群中均表現較佳,尤其在嚴重肥胖族群中效果更為顯著。
(b) 計算總成功率並比較:
總成功率是指所有參與實驗的總成功人數佔總參與人數的比例。
-
Diet 方法的總成功率:
總人數 = (10 + 30) + (60 + 20) = 40 + 80 = 120
總成功人數 = 10 + 60 = 70
Diet 方法的總成功率 = -
Exercise 方法的總成功率:
總人數 = (22 + 58) + (35 + 5) = 80 + 40 = 120
總成功人數 = 22 + 35 = 57
Exercise 方法的總成功率 =
比較與差異:
是的,總成功率的比較結果與 (a) 小題不同。在 (a) 小題中,Exercise 方法在兩個子族群中都優於 Diet 方法,但計算總成功率時,Diet 方法 (0.5833) 反而高於 Exercise 方法 (0.475)。
原因解釋:
這種差異的出現是因為兩個方法的樣本分佈不同。在這個實驗中,「嚴重肥胖」這個子群體在 Diet 方法中佔的比例(80/120 = 2/3)遠大於 Exerc
第 2 題30 分
- You operate a coffee shop where lattes are the primary product. The number of lattes sold each day varies and is independent of sales on other days. The distribution detailing your daily latte sales is shown below.
🖼️【此處有附圖,請對照原卷】
Assume latte sales are recorded over a period of 175 days. What is the approximate probability that the average number of lattes sold per day during this period exceeds 102?
登入後即可作答並保存紀錄。
核心觀念
本題評量離散型隨機變數的期望值與變異數計算,以及中央極限定理(Central Limit Theorem, CLT)在樣本平均數抽樣分配上的應用:
- 母體期望值與變異數:
設每日拿鐵銷售量為離散型隨機變數 ,其機率質量函數(PMF)為 :- 期望值(母體平均數):
- 變異數:
- 期望值(母體平均數):
- 中央極限定理(CLT):
若隨機樣本 為獨立同分配(i.i.d.),具有有限平均數 與變異數 。當樣本數 夠大時(通常 ),樣本平均數 之抽樣分配將近似於常態分配:
其標準誤(Standard Error)為:
標準化統計量為:
解題方法
由原卷附圖的直方圖可讀出:橫軸為每日拿鐵銷售量 ,取值分別為 、、、;縱軸為相對頻率(Fraction,即機率 ),高度依序對齊刻度 、、、。四者機率總和為 。
步驟一:計算母體平均數 與變異數
-
母體平均數 :
(亦可由圖形關於 左右完全對稱直接判定 ) -
母體變異數 :
利用變異數定義 :
步驟二:求樣本平均數 的抽樣分配
題目給定記錄天數 天,且各天銷售量互相獨立。
樣本平均數 的標準差(標準誤)為:
由於樣本數 ,依據中央極限定理:
步驟三:計算平均銷量超過 102 杯的機率
欲求 ,將其標準化:
因此:
第 3 題20 分
- Generating two random variables that are positively correlated is often useful in stochastic simulations. One method for producing such correlated variables, x and y, involves calculating y as follows:
Here, x and are independent random variables, both with means of 0 and variances of 1, while a and b are constants.
(a) Find the mean and variance of y in terms of a and b.
(b) Choose values for a and b such that the variance of y equals 2 and the correlation between x and y is 0.5. Provide all necessary calculations.
登入後即可作答並保存紀錄。
這題主要考驗對隨機變數線性組合的期望值、變異數以及相關係數的計算。
核心觀念:
- 期望值的性質:,
- 變異數的性質:若 X, Y 獨立, ,
- 相關係數的定義:
- 共變異數的性質:
若 X, Y 獨立,則 。
(a) 求 y 的期望值與變異數:
已知 。
x 和 是獨立的隨機變數,且 , , , 。
由於 x 和 獨立,所以 。
期望值:
根據期望值的線性性質:
由於 且 ,
。
變異數:
由於 x 和 是獨立的,ax 和 b 也是獨立的。
根據變異數的性質:
由於 且 ,
。
【答案】
- 期望值:
- 變異數:
(b) 選擇 a 和 b 的值,使 且 。
根據 (a) 小題的結果,我們有:
首先計算 和 :
利用共變異數的分配律:
。
由於 x 和 獨立, 。
所以,。
。
。
第 4 題20 分
- Assume a set of observations that are iid, with a mean of and a known variance . The mean is estimated using the following formula:
(a) Find the bias of this estimator, defined as , in terms of and . How does the bias behave as the sample size approaches infinity?
(b) Find the mean squared error (MSE) for the estimator, given by .
登入後即可作答並保存紀錄。
這題主要考驗對估計量 (estimator) 的性質,包括偏差 (bias) 和均方誤差 (mean squared error, MSE) 的計算。
核心觀念:
- 期望值與變異數的性質:, ,
- iid 隨機變數的性質:若 是 iid 且 , ,則 的期望值為 ,變異數為 。
- 偏差 (Bias) 的定義:。一個一致的估計量 (consistent estimator) 的偏差會趨近於 0。
- 均方誤差 (MSE) 的定義:。
(a) 求估計量 的偏差:
給定的估計量為 。
首先計算 的期望值:
由於 是常數,可以提出期望值運算符:
由於 是 iid 且 ,所以 。
。
偏差的定義為 :
。
偏差行為:
當樣本數 趨近於無窮大時 ():
由於 是常數,分母 趨近於無窮大,所以極限為 0。
。
這表示該估計量是偏差為零 (asymptotically unbiased) 的,也就是一個一致的估計量。
【答案】
- 偏差:
- 當 時,偏差趨近於 0。