109 年 國立臺北大學統計學系碩士班《統計學》
第 1 題10 分
Identical twins(同卵雙胞胎)form when a single fertilized egg splits into two genetically identical parts. The identical twins share the same DNA set and are thus always of the same sex. Fraternal(異卵雙胞胎)twins develop when two separate eggs are fertilized and implant in the uterus. The genetic connection is the same as siblings(兄弟姐妹)born at separate times.
If percent of all twin pairs are of the same sex, what percentage of twin pairs are identical twins?
登入後即可作答並保存紀錄。
核心觀念
本題考「全機率公式」與混合族群的機率計算。雙胞胎分為同卵與異卵兩類:
- 同卵雙胞胎必為同性,因此同卵雙胞胎中同性的機率為 。
- 題目未明列異卵雙胞胎同性的機率;採用男女出生機率各為 且彼此獨立的假設,異卵雙胞胎同性的機率為 。
解題方法
設 為所有雙胞胎中同卵雙胞胎所占比例。依全機率公式,全體雙胞胎為同性的機率為:
代入題目資料及上述假設:
第 2 題10 分
We are interested in the outcome for rolling dice. Each subquestion is worth .
(a) Find the sampling distribution when a pair of fair dice is rolled (mean and standard deviation).
(b) Determine the variance of the sum obtained when a pair of fair dice is rolled.
登入後即可作答並保存紀錄。
核心觀念
兩顆公平骰子的點數和是離散隨機變數。每顆骰子的點數 等機率出現;兩顆骰子共有 種等可能結果。將每種結果依點數和分類,即可得到點數和的機率分配。
兩顆骰子的點數和彼此獨立,因此
其中 、 分別代表兩顆骰子的點數。
解題方法
令 為兩顆骰子的點數和。依照 36 種等可能結果,逐一計算各點數和出現的次數,可得其分配如下:
| 點數和 | 出現次數 | |
|---|---|---|
| 2 | 1 | |
| 3 | 2 | |
| 4 | 3 | |
| 5 | 4 | |
| 6 | 5 | |
| 7 | 6 | |
| 8 | 5 | |
| 9 | 4 | |
| 10 | 3 | |
| 11 | 2 | |
| 12 | 1 |
各點數和的機率總和為 。
(a) 點數和的平均數與標準差
利用表中的機率計算期望值:
第 3 題10 分
The mean of a Poisson random variable is with standard deviation .
Find .
登入後即可作答並保存紀錄。
核心觀念
若 ,則平均數與變異數皆為 ,因此標準差為 。其機率質量函數為
本題給定平均數 ,須先由卜瓦松分配的性質求出標準差,再依照嚴格不等式判斷哪些整數值符合條件。
解題方法
由 ,可得
因此題目中的區間為
由於卜瓦松隨機變數只取非負整數,且不等式是嚴格不等式,符合條件的值為 。所以
This question is worth , with for each subquestion.
is a binomial random variable with .
第 4-a 題5 分
Find .
登入後即可作答並保存紀錄。
核心觀念
表示 服從參數為 、成功機率 的二項分配。其機率質量函數為
由於 包含 三種互斥情況,因此所求機率是三項機率的總和。
解題方法
直接套用二項分配公式:
第 4-b 題5 分
Find the approximate value of using the normal approximation.
登入後即可作答並保存紀錄。
核心觀念
二項分配 在 與 夠大時,可用常態分配近似:
由於 只取整數值,將離散機率換成連續常態機率時,須使用連續性修正。
解題方法
本題 、,因此平均數與標準差為
因為 、,可用常態分配近似。要求 ,連續性修正後改為 ,其中 。標準化得到
This question is worth , with for each subquestion.
Let , , and be the respective sample means and unbiased estimates of the variances obtained from independent samples of sizes and from the normal distributions and , where , , , are unknown.
The sample sizes and are smaller than .
第 5-a 題5 分
Construct a confidence interval for when two population standard deviations can be assumed equal.
登入後即可作答並保存紀錄。
核心觀念
本題考兩個獨立常態母體平均數差 的信賴區間。由於兩母體變異數未知,但可假設相等,使用合併變異數 信賴區間。
合併變異數估計量為
其自由度為 。在兩母體常態且變異數相等的條件下,標準化後的平均數差服從 分配。
解題方法
令 表示自由度為 的 分配第 分位數。標準誤為
因此,
將中央 的機率範圍轉回 ,得到信賴區間:
等價地寫成
第 5-b 題5 分
Construct a confidence interval for when two population standard deviations cannot be assumed equal.
登入後即可作答並保存紀錄。
核心觀念
兩母體變異數未知,且不能假設相等時,應使用 Welch 兩樣本 信賴區間。由於兩樣本獨立,
以樣本變異數估計母體變異數後,差的標準誤估計為
解題方法
先以樣本平均差 作為 的點估計,並使用上式估計其標準誤。因母體變異數未知,臨界值採用 分配;其自由度以 Welch–Satterthwaite 公式近似:
令 表示自由度為 的 分配之 分位數。則 信賴區間為
第 1 題15 分
Employees of MNM Corporation are about to undergo a retraining program. Management is trying to determine which of three programs is the best. They believe that the effectiveness of the programs may be influenced by sex. A factorial experiment was designed. You are given the following information.
Factor A: Program
Factor B: Sex
| Program | Male observations | Male total | Female observations | Female total | Total () |
|---|---|---|---|---|---|
| Program I | |||||
| Program II | |||||
| Program III | |||||
| Total () |
Calculations:
(a) State the ANOVA model for the experimental design (i.e. full model of the two-factor analysis of variance).
(b) Fit the ANOVA model (i.e. estimate the model parameters).
(c) Set up the ANOVA table and test for the significances of factor A, factor B, and interaction of factors A and B at the level of significance.
登入後即可作答並保存紀錄。
核心觀念
本題考二因子有重複觀測的固定效果變異數分析。因子 A 為訓練方案,共 3 個水準;因子 B 為性別,共 2 個水準;每個「方案 × 性別」組合有 2 筆觀測。分析要分解總變異為因子 A、因子 B、交互作用及誤差四部分,再以各效果的均方除以誤差均方進行 檢定。
解題方法
原卷表格顯示三種方案、男女兩組,每個組合各有 2 筆觀測;總觀測數為 12,總和為 3300,且給定 。以組合平均數估計模型的各格平均,再用平方和分解建立 ANOVA 表。
(a) 二因子 ANOVA 完整模型
令 為第 種方案、第 種性別的第 筆觀測,其中 、、。完整模型為
其中 為總平均, 為方案效果, 為性別效果, 為交互作用效果;誤差項假設彼此獨立且服從 。
為使參數可識別,採用限制條件
(b) 模型估計
各組合平均數為:
| 方案 | 男性平均 | 女性平均 | 方案平均 |
|---|---|---|---|
| I | |||
| II | |||
| III |
總平均為
性別平均為男性 ,女性 。因此效果估計如下:
交互作用估計以「組合平均數 − 總平均 − 方案效果 − 性別效果」計算:
| 方案 | 男性交互作用估計 | 女性交互作用估計 |
|---|---|---|
| I | ||
| II | ||
| III |
This question is worth .
A new brand of chocolate bar is being market tested. Four hundred of the new chocolate bars were given to consumers to taste. The consumers were asked whether they liked or disliked the chocolate bar. You are given their responses below.
| Response | Frequency |
|---|---|
| Liked | |
| Disliked | |
| Total |
第 2-a 題
Construct a confidence interval for the true proportion of people who liked the chocolate bar.
登入後即可作答並保存紀錄。
核心觀念
本題考的是母體比例的信賴區間。以樣本比例 估計真正喜歡巧克力棒的比例 ,在常態近似適用時, 信賴區間為
其中 。
解題方法
原卷第 2 頁的表格顯示:喜歡者 人、不喜歡者 人,合計 人;題目要求建構喜歡巧克力棒之真正比例的 信賴區間。
樣本數 ,樣本比例為
常態近似條件成立,因為 且 ,均大於 。標準誤為
第 2-b 題
With a probability, how large of a sample needs to be taken to provide a margin of error of or less?
登入後即可作答並保存紀錄。
核心觀念
這題考查母體比例的樣本數規劃。信賴水準為 時,臨界值為 ;在容許誤差 下,所需樣本數為
其中 是先前樣本估得的喜好比例。樣本數計算結果須向上取整,才能確保誤差不超過指定上限。
解題方法
圖中題目給出 400 位消費者的回覆,其中 320 人喜歡巧克力棒;本小題要求在 的信心水準下,將誤差控制在 以內。因此以觀察到的喜好比例估計母體比例:
第 3 題10 分
The average starting salary of students who graduated from colleges of Business in 2018 was \38{,}400100$40{,}000$8000$. We want to determine whether or not there has been a significant increase in the starting salaries.
(a) State the null and alternative hypotheses. Test the hypothesis at the level of significance. What do you conclude?
(b) Compute the power of the statistical test when .
登入後即可作答並保存紀錄。
核心觀念
母體標準差 已知,且樣本數 ,因此使用單一母體平均數的右尾 檢定。題目要判斷平均起薪是否增加,所以採右尾檢定。
檢定統計量為
其中 是虛無假設下的母體平均數, 是樣本平均數的標準誤。
解題方法
(a) 假設檢定與結論
令 為 2019 年商學院畢業生的母體平均起薪。假設為
這是顯著水準 的右尾檢定。在虛無假設成立時,檢定統計量服從標準常態分配。右尾臨界值為
樣本標準誤為
代入樣本平均起薪 $40,000:
因為 ,檢定統計量落在拒絕域,故在 顯著水準下拒絕 。資料提供足夠證據支持 2019 年平均起薪高於 2018 年的 $38,400。
此檢定的 值約為 ,小於 ,與臨界值法的結論一致。
(b) 當 時的檢定力
檢定力是當某個指定的真實平均數成立時,正確拒絕虛無假設的機率。
第 4 題15 分
Given below are five observations collected in a regression study on two variables, (independent variable) and (dependent variable).
| Observation | ||
|---|---|---|
(a) Develop the least squares estimated regression equation.
(b) At confidence, perform a test and determine whether or not the slope is significantly different from zero.
(c) Perform an test to determine whether or not the model is significant. Let .
(d) Compute the coefficient of determination. Explain it.
(e) Construct a confidence interval and a prediction interval of with .
登入後即可作答並保存紀錄。
核心觀念
本題考查簡單線性迴歸:以最小平方法估計迴歸直線,利用斜率的 檢定與整體迴歸的 檢定判斷線性關係是否顯著,並計算決定係數、平均反應的信賴區間及個別反應的預測區間。
解題方法
原卷圖中列出五筆觀測值 ,並提供 、、、、。以下依這些數據計算;第 (e) 小題在 時,估計平均反應與預測單一反應,兩者的標準誤不同。
(a) 最小平方法迴歸式
斜率與截距估計值為
因此最小平方法估計迴歸式為
斜率為負,表示 每增加 ,估計的平均 減少 。
(b) 斜率的 檢定
檢定斜率是否顯著異於零:
先計算誤差平方和與均方誤差:
斜率估計值的標準誤為
檢定統計量為
自由度為 。雙尾檢定在 下,臨界值為 。由於 ,拒絕 ;斜率顯著異於零。
同樣可用 95% 斜率信賴區間判斷:
此區間不包含 ,與檢定結論一致。
(c) 整體迴歸的 檢定
簡單線性迴歸的整體模型檢定為
迴歸平方和為
自由度與均方如下:
| 來源 | 平方和 | 自由度 | 均方 |
|---|---|---|---|
| 迴歸 | |||
| 誤差 | |||
| 總計 |
因此