111 年 國立臺北大學財政學系碩士班《統計學》
第 1 題15 分
- [15%] Calculate the interquartile range and standard deviation of the following sample data: 76, 64, 75, 68, 66, 74, 63, 72, 74, 66, 75, 78, 76, 67, 79, 75.
登入後即可作答並保存紀錄。
本題要求計算樣本資料的四分位距(Interquartile Range, IQR)與樣本標準差(Sample Standard Deviation)。
步驟一:整理資料並計算四分位距 (IQR)
首先,將樣本資料由小到大排序:
63, 64, 66, 66, 67, 72, 74, 74, 75, 75, 75, 76, 76, 78, 79
共有 個樣本點。
四分位距 (IQR) = Q3 - Q1,其中 Q1 是第一四分位數,Q3 是第三四分位數。
計算 Q1:
Q1 的位置為 。
表示 Q1 位於第 4 個值與第 5 個值之間,且距離第 4 個值 0.25。
第 4 個值是 66,第 5 個值是 67。
計算 Q3:
Q3 的位置為 。
表示 Q3 位於第 12 個值與第 13 個值之間,且距離第 12 個值 0.75。
第 12 個值是 76,第 13 個值是 76。
四分位距 。
步驟二:計算樣本標準差
樣本標準差的公式為 ,其中 是樣本均值。
計算樣本均值 :
第 2 題15 分
- [15%] A random sample of 60 observations from a normally distributed population possesses a mean equal to 37.2 and a standard deviation equal to 4.3.
(a) Please find a 95% confidence interval for μ.
(b) What do you mean when you say that a confidence coefficient is 0.95?
(c) What happens to the width of a confidence interval as the value of the confidence coefficient is decreased while the sample size is held fixed?
登入後即可作答並保存紀錄。
本題考查常態分佈母體的信賴區間估計。
已知資訊:
樣本大小
樣本均值
樣本標準差
信賴水準為 95%
a) 請計算母體均值 的 95% 信賴區間。
由於樣本大小 ,且我們有樣本標準差,我們可以使用 Z 分配來建構信賴區間。
信賴區間的公式為:
首先,計算 和 :
信賴水準為 95%,所以 ,則 。
。
查閱標準常態分配表(Z-table),找到 的 值,即 。
接著,計算標準誤 (Standard Error, SE):
計算信賴區間的邊際誤差 (Margin of Error, ME):
計算 95% 信賴區間:
信賴區間 =
信賴區間下限 =
信賴區間上限 =
因此,母體均值 的 95% 信賴區間約為 。
b) 當你說信賴係數為 0.95 時,其涵義為何?
第 3 題10 分
- [10%] A statistician reported to a car insurance company a confidence interval for the proportion (p) of convertible cars that had been involved in major accidents during the past year. The 95% confidence interval for p was reported to be the interval from 0.16 to 0.44.
(a) What is the statistician's estimate of p?
(b) Approximately what sample size did the statistician use?
登入後即可作答並保存紀錄。
本題考查比例(proportion)的信賴區間估計。
已知資訊:
95% 信賴區間為 。
a) 統計學家的估計值 是多少?
比例的信賴區間通常是對稱於樣本比例 。
信賴區間的計算公式為:,其中 是邊際誤差。
因此,信賴區間的下限是 ,上限是 。
我們有:
將這兩個方程式相加,可以得到 。
所以,。
統計學家的估計值,也就是樣本比例 ,是 0.30。
b) 統計學家使用了大約多少的樣本大小?
比例信賴區間的邊際誤差 (ME) 公式為:。
從 a) 部份我們知道:
信賴區間為 ,所以 。
信賴水準是 95%,所以 。
現在我們可以將這些值代入 ME 公式來求解 :
第 4 題30 分
- [30%] Based on the following 10 pairs of data:
X
6
-3
4
3
-2
-4
0
-1
-5
2
Y
10
1
8
7
1
2
5
3
2
6
and assuming the following linear regression model, Y = a + BX + ε, where ɛ has zero mean and variance equal to σ².
Please answer the following questions:
(a) Compute the least-squares point estimator of a and ß.
(b) Compute the coefficient of determination.
(c) Calculate the variance estimates for β.
(d) With 10% significance level, test the hypothesis "Ηο: σ² = 1". Explain your answer in details.
登入後即可作答並保存紀錄。
本題考查簡單線性迴歸模型,包含參數估計、模型擬合優度檢定,以及殘差變異數的假設檢定。
已知資料:
共 10 對 資料。
迴歸模型:,其中 且 。
資料如下:
X: 6, -3, 4, 3, -2, -4, 0, -1, -5, 2
Y: 10, 1, 8, 7, 1, 2, 5, 3, 2, 6
步驟一:計算必要的統計量
首先,我們需要計算 。
a) 計算 和 的最小平方法點估計量。
最小平方法估計量公式:
代入計算:
由於 ,計算 變得非常簡單:
因此, 且 。
迴歸直線方程式為 。
b) 計算判定係數 (Coefficient of Determination)。
判定係數 表示自變數 解釋了應變數 變異的比例。
其中:
我們也可以使用以下公式計算 :
由於 ,此公式簡化為:
第 5 題15 分
- [15%] Suppose an employer randomly selects three new employees from a total of ten applicants, six men and four women.
Let X be the number of women who are hired.
(a) Find the mean and variance of X.
(b) Find the probability that no women are hired.
(c) Find the probability that 2 women and 1 man are hired.
登入後即可作答並保存紀錄。
本題考查超幾何分配(Hypergeometric Distribution)的應用。
情境設定:
總申請者人數
男性申請者人數
女性申請者人數
雇主隨機選取 位新員工。
令 為錄取女性員工的數量。
a) 計算 的期望值 (Mean) 和變異數 (Variance)。
服從超幾何分配,參數為 , , 。
超幾何分配的期望值公式為:
超幾何分配的變異數公式為:
計算期望值 :
計算變異數 :
b) 計算沒有女性被錄取的機率。
「沒有女性被錄取」意味著錄取的 3 位員工都是男性。
這相當於從 6 位男性申請者中選出 3 位,且從 4 位女性申請者中選出 0 位。
第 6 題15 分
- [15%] Two groups of people are surveyed. In a sample of 55 drivers who are single people, they drive, on average, 79 miles per week for trips. In a sample of 70 married people, they drive, on average, 67 miles per week for trips. The sample standard deviations are 16 and 8 miles, respectively. At a = 0.01, can it be concluded that single people do more driving for trips than married people? Explain your answer in details.
登入後即可作答並保存紀錄。
本題考查兩個獨立樣本的平均數比較,即獨立樣本 t 檢定 (Independent Samples t-test)。
情境設定:
我們要比較單身族群 (Group 1) 和已婚族群 (Group 2) 的每週平均駕駛里程。
已知資訊:
單身族群 (Group 1):
樣本大小
樣本均值 miles
樣本標準差 miles
已婚族群 (Group 2):
樣本大小
樣本均值 miles
樣本標準差 miles
顯著水準
問題: 單身族群是否比已婚族群開更多的車程?
步驟一:建立假設
我們要檢定的是單身族群的平均里程是否大於已婚族群的平均里程。這是一個單尾檢定。
虛無假設 (單身族群的平均里程不超過已婚族群)
對立假設 (單身族群的平均里程大於已婚族群)
也可以寫成:
步驟二:選擇檢定統計量
由於我們有兩個獨立樣本,並且樣本大小都足夠大 (),我們可以使用 Z 檢定。
檢定統計量為:
在 下,。
步驟三:計算檢定統計量
首先,計算標準誤的分母: