109 年 國立政治大學金融學系碩士班金融管理組《統計學A》
第 1 題3 分
- (3pt) If a test of hypothesis has a Type I error probability of 0.05, this means that:
A. if the null hypothesis is true, we don't reject if 5% of the time
B. if the null hypothesis is true, we reject it 5% of the time
C. if the null hypothesis is false, we don't reject it 5% of the time
D. if the null hypothesis is false, we reject it 5% of the time
登入後即可作答並保存紀錄。
此題考驗對 Type I 錯誤的定義。
Type I 錯誤(Alpha 錯誤)是指當虛無假設 (Null Hypothesis, ) 為真時,卻錯誤地拒絕了 。
題目中給定 Type I 錯誤的機率為 0.05,這表示當 為真時,我們有 5% 的機率會做出拒絕 的決定。
第 2 題3 分
- (3pt) Suppose we wish to test Ho: μ = 23 vs. H₁: μ <23. Which of the following possible sample results gives the most evidence to support H₁?
A. sample mean is 19 and standard error is 5
B. sample mean is 20 and standard error is 8
C. sample mean is 21 and standard error is 6
D. sample mean is 19 and standard error is 11
登入後即可作答並保存紀錄。
此題在考驗如何判斷樣本結果對對立假設 的支持程度。
檢定假設為 對 。
我們希望找到最能支持 的樣本結果,也就是說,樣本平均數 () 應該要顯著小於 23。
支持 的證據越強,表示樣本平均數 越小,且其與虛無假設下的母體平均數 的差距,相較於抽樣變異性(由標準誤 Standard Error, SE, 表示),越大。
我們可以計算統計檢定量 (t-statistic 或 z-statistic) 來衡量這種證據的強度。對於單一樣本平均數的檢定,統計量通常為 或 。
為了支持 ,我們期望 越小越好,且 的值越負(越小)越好。
第 3 題3 分
- (3pt) If a random sample of size n=100 fine-dining restaurants is selected and it is found that 45 restrict the use of the cell phones, give a 99% confidence interval for the true proportion of fine-dining restaurants that restrict the use of cell phone.
A. (0.3219, 0.5781)
B. (0.3525, 0.5475)
C. (0.2378, 0.4222)
D. (0.2526, 0.4073)
登入後即可作答並保存紀錄。
此題考驗關於比例 (proportion) 的信賴區間 (confidence interval) 計算。
我們有一個隨機樣本,樣本大小 。
樣本中,限制使用手機的餐廳數量為 。
因此,樣本比例為 。
我們需要計算 99% 的信賴區間。
信賴區間的公式為:
其中:
是樣本比例。
是對應於所選信賴水準的標準常態分配的臨界值。
是樣本大小。
對於 99% 的信賴水準,。
因此,。
我們需要查找標準常態分配中,尾部機率為 0.005 的 值。查標準常態分配表或使用統計軟體,可以得到 (有時也用 2.58)。
第 4 題3 分
- (3pt) Which of the following does the Central Limit Theorem allow us to disregard when working with the sampling distribution of the sample mean?
A. the standard deviation of the population distribution
B. the shape of the population distribution
C. the mean of the population distribution
D. all of the above can be disregarded when the Central Limit Theorem is used
登入後即可作答並保存紀錄。
核心觀念
本題考查中央極限定理(Central Limit Theorem, CLT)對樣本平均數抽樣分配的影響。
若母體平均數為 、母體標準差為 ,從母體抽取大小為 的隨機樣本,樣本平均數為 ,則:
當樣本數 夠大時,無論母體分配原本是偏態、雙峰或其他形狀,樣本平均數的抽樣分配皆會趨近常態分配:
中央極限定理所能消除的重點,是對母體「分配形狀」的要求;它並不表示母體平均數與標準差可以忽略。
解題方法
判斷各選項是否能被忽略,可直接檢查樣本平均數抽樣分配的兩個核心參數:
- 平均數為 ,決定抽樣分配的中心位置。
- 標準差為 ,決定抽樣分配的離散程度。
- 母體分配形狀在樣本數夠大時,會影響降低,樣本平均數分配趨近常態。
因此,中央極限定理只讓我們不必特別知道母體原本的分配形狀,不能忽略 與 。
選項分析
A. the standard deviation of the population distribution
錯誤。
母體標準差 會直接決定樣本平均數的標準誤:
第 5 題3 分
- (3pt) A man with 10 keys wants to open his door and tries the keys at random. Suppose there is exactly one key will open the door. If unsuccessful keys are eliminated from further selections. Let X be the number of trials to find the right key. What is the distribution of X?
A. Uniform distribution
B. Geometric distribution
C. Binomial distribution
D. Negative binomial distribution
登入後即可作答並保存紀錄。
核心觀念
題目描述的是「不放回抽樣」:
- 一共有 把鑰匙;
- 其中只有 把能開門;
- 每次隨機選取一把鑰匙;
- 錯誤鑰匙不再放回;
- 表示找到正確鑰匙所需的試驗次數。
因此,正確鑰匙在這 把鑰匙的隨機排列中,可能位於第 個位置,而且每個位置出現的機率相同。
所以 的機率質量函數為
故
即「離散均勻分布」。
解題方法
將 把鑰匙隨機排列。正確鑰匙出現在任何一個位置的機率都相同:
也可以直接以逐次抽取驗證。以 為例,代表前 次都抽到錯誤鑰匙,第 次抽到正確鑰匙:
前面的連乘會相互約分,因此
這正是離散均勻分布的特徵。
選項分析
第 6 題3 分
- (3pt) The seasonal output of a new experimental strain of pepper plants was carefully weighed. The mean weight per plant is 15.0 pounds, and the standard deviation of the normally distributed weights is 1.75 pounds. Of the 200 plants in the experiment, how many produced peppers weighing between 13 and 16 pounds?
A. 100
B. 118
C. 197
D. 53
登入後即可作答並保存紀錄。
核心觀念
本題的核心考點為**常態分配的標準化(Standardization)與期望次數(Expected Frequency)**的計算:
- 常態分配標準化公式:
若隨機變數 ,則其標準化變數 定義為: - 區間機率與標準常態累積分布函數():
- 期望株數(Expected Count):
在樣本數為 的獨立試驗或觀測中,落入該重量區間的期望個數為:
解題方法
-
定義變數與參數:
設 為單株辣椒植株的季節產量(單位:磅),由題意知:總株數 。
-
計算端點的標準化 值:
欲求 :- 下限 :
- 上限 :
-
查標準常態分配表求機率:
- 由標準常態分配表查得:
- 落在 13 至 16 磅之間的機率為:
第 7 題3 分
- (3pt) Which of the following tests is appropriate for data if the problem objective is to compare two populations and there are exactly 2 categories?
A. The z-test for the difference of two proportions
B. The chi-squared test of a contingency table
C. Both A and B
D. None of these choices
登入後即可作答並保存紀錄。
核心觀念
題目要比較兩個母體在「兩個類別」上的比例是否相同。例如:
- 母體 1:通過/不通過
- 母體 2:購買/不購買
此時資料可整理成 列聯表:
| 類別 1 | 類別 2 | 合計 | |
|---|---|---|---|
| 母體 1 | |||
| 母體 2 |
欲檢定的假設為:
其中 分別代表兩個母體落在某一指定類別的比例。
對此問題有兩種等價的分析方式:
- 兩母體比例差的 檢定
- 列聯表的卡方獨立性檢定
在適當的大樣本條件下,兩者的檢定結果一致,且具有關係:
解題方法
方法一:兩母體比例差的 檢定
令兩組樣本中落在指定類別的樣本比例為:
在虛無假設 下,應使用合併樣本比例:
檢定統計量為:
當樣本數足夠大,使各格的期望次數不致過小時,即可使用兩母體比例差的 檢定。
方法二: 列聯表卡方檢定
若將資料視為「母體」與「類別」兩個類別變數,則可進行列聯表獨立性檢定。
期望次數為:
卡方統計量為:
第 8 題3 分
- (3pt) In testing the hypothesis Ho: μ = 100 vs. H₁: μ > 100, the p-value is found to be 0.074, and the sample mean is 105. Which of the following statements is true?
A. The probability of observing a sample mean at least as large as 105 from a population whose mean is 100 is 0.074
B. The probability of observing a sample mean smaller than 105 from a population whose mean is 100 is 0.074
C. The probability that the population mean is larger than 100 is 0.074
D. None of these choices
登入後即可作答並保存紀錄。
此題考驗對 p-value 的定義和解釋。
假設檢定: vs. 。
檢定結果:p-value = 0.074,樣本平均數 。
p-value 的定義是:在虛無假設 () 為真的前提下,觀察到比樣本結果更極端(或與樣本結果一樣極端)的統計量的機率。
在這個例子中,檢定是單尾檢定,對立假設是 。樣本平均數是 105。
因此,「比樣本結果更極端」意味著樣本平均數 大於或等於 105。
所以,p-value = 0.074 的正確解釋是:
如果母體平均數 確實等於 100 (即 為真),那麼我們觀察到樣本平均數 (或者更極端的值) 的機率是 0.074。
現在我們來分析選項:
A. "The probability of observing a sample mean at least as large as 105 from a population whose mean is 100 is 0.074"
這個敘述完美符合 p-value 的定義。
第 9 題3 分
- (3pt) The sample size needed to within 10 units of the population mean was found to be 68. If the population standard deviation was 50, then the confidence level used was
A. 99%
B. 95%
C. 90%
D. 98%
登入後即可作答並保存紀錄。
此題考驗樣本大小的計算公式,並反推信賴水準。
樣本大小的計算公式,用於估計母體平均數,使得估計值與真實值之間的誤差(Margin of Error, E)不超過特定值:
其中:
是所需的樣本大小。
是對應於所選信賴水準的標準常態分配臨界值。
是母體標準差。
是允許的最大誤差。
題目給定:
- 樣本大小 。
- 母體標準差 。
- 誤差範圍 (「within 10 units of the population mean」表示 )。
我們需要找出使用的信賴水準,這意味著要找出對應的 值,然後反推出 和信賴水準 。
將已知數值代入公式:
第 10 題3 分
- (3pt) The SAT scores of entering freshmen at a certain university have mean 1215 and standard deviation 110. A random sample of 100 freshmen is taken and X is computed. The probability that X less than 1190 is
A. 0.2272
B. 0.1335
C. 0.4090
D. 0.0116
登入後即可作答並保存紀錄。
核心觀念
本題評量**樣本平均數的抽樣分配(Sampling Distribution of Sample Mean)與中央極限定理(Central Limit Theorem, CLT)**的應用。
-
抽樣分配的性質:
設母體具有平均數 與有限標準差 。自該母體抽取大小為 的隨機樣本 ,其樣本平均數為 (題目中以符號 表示樣本平均數 )。則:- 期望值:
- 變異數:
- 標準誤(Standard Error):
-
中央極限定理(CLT):
不論母體分配為何,當樣本數 夠大時(一般規則 ),樣本平均數 的抽樣分配近似於常態分配: -
標準化(Standardization):
解題方法
-
整理已知參數:
- 母體平均數
- 母體標準差
- 樣本大小
- 欲求機率:
-
計算樣本平均數的標準誤:
-
依據中央極限定理將 標準化為標準常態隨機變數 :
第 11 題15 分
- (15%) The weekly oil demand X (in tons) follows the pdf
.
However, the company can produce at most only 4 tons of the oil per week. Let Y be the oil sold per week.
(a) (3%) Find the probability that the oil will be sold out per week
(b) (7%) Find the cumulative distribution function of Y
(c) (5%) Find E(Y)
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 指數分配的累積分布函數與尾端機率。
- 產能有限下的實際銷售量:
- 具有上限的隨機變數,其分布可能在上限處產生離散機率質量。
- 期望值的計算。
由
可知 服從平均數為 的指數分配。因此
且尾端機率為
解題方法
公司每週最多只能生產並銷售 噸,因此實際銷售量為
當需求量 時,全部需求均可滿足,故 ;當需求量 時,公司只能銷售 噸,故 。
(a) 每週售罄的機率
油品售罄表示需求量至少達到產能上限,即事件
因此
所以
(b) 的累積分布函數
累積分布函數定義為
分三種情況討論。
情況一:
因為 不可能小於 ,所以
情況二:
在此範圍內, 等價於 。因為當 時,,不會被計入。
因此
情況三:
由於 的最大值為 ,必定有 ,所以
因此 的累積分布函數為
特別注意,在 處有跳躍:
這表示 不是純粹的連續型隨機變數,而是:
第 12 題20 分
- (20%) Suppose that a random sample of 60 observations was drawn from a normal population. Suppose that we would like to infer whether or not the observations come from a zero mean and variance one. After drawing observations randomly, the number of observations in each of the intervals below was counted. Can we infer at the 5% significance level that the data were drawn from a hypothesized population? Ps. your answer should include:
(i) the null/alternative hypothesis; (ii) the test statistic; (iii) the decision rule; (iv) the conclusion of the test
| intervals | Frequency |
|---|---|
| (-∞,-1] | 8 |
| (-1,0] | 30 |
| (0,1] | 17 |
| (1,∞) | 5 |
登入後即可作答並保存紀錄。
此題考驗卡方適合度檢定 (Chi-Squared Goodness-of-Fit Test)。
我們有一個樣本,來自一個假設為「標準常態分佈」(平均值為 0,變異數為 1)的母體。
樣本大小 。
數據被分組到四個區間中,並給出了每個區間的觀察頻率 (Observed Frequency, )。
我們需要檢定這些數據是否適合標準常態分佈。
檢定步驟如下:
(i) 虛無假設 () 與對立假設 ()
: 樣本數據來自平均值為 0、變異數為 1 的常態分佈。
: 樣本數據不來自平均值為 0、變異數為 1 的常態分佈。
(ii) 測試統計量 (Test Statistic)
我們使用卡方適合度檢定。首先,我們需要計算在 為真時,每個區間的期望頻率 (Expected Frequency, )。
假設 。
區間 1:
。查標準常態表,。
。
區間 2:
。
。
區間 3:
。
。
區間 4:
。
。
請注意,期望頻率 應該總和為 :。
卡方統計量計算公式為:,其中 是區間的數量。
在這裡 。
,
,
,
,
第 13 題15 分
- (15%) Three different models of automobiles (A, B, and C) were compared for gasoline consumption. For each model of car, 15 cars were randomly selected and subjected to standard driving procedures. The average miles/gallon obtained for each model of car and sample standard deviations are shown below. Suppose that the population variances () are equal.
| Car A | Car B | Car C | |
|---|---|---|---|
| Average Mile/Gallon | 42 | 49 | 44 |
| Sample Standard Deviation | 4 | 5 | 3 |
Suppose that the population variances () are equal.
(a) (10%) Let , and see if the mean gasoline consumption for all three models of cars is the same
(b) (5%) Find a 95% confidence interval for (). Please use to denote the critical value. (you must specify the distribution Q and value of d.f.)
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 單因子變異數分析(one-way ANOVA)。
- 等變異數假設下的組內合併變異數估計。
- 兩母體平均數差的信賴區間。
設三種車款的母體平均每加侖里程分別為 ,且三組母體變異數相同:
每組樣本數皆為 。
(a)檢定三種車款的平均汽油效率是否相同
1. 建立假設
虛無假設:
對立假設:
顯著水準為 。
2. 計算總平均數
由於三組樣本數相同,總平均數為:
3. 計算組間平方和
組間平方和為:
因此:
組間自由度:
組間均方:
4. 計算組內平方和
組內平方和為:
代入各組樣本標準差:
組內自由度:
組內均方,也就是共同母體變異數的合併估計量:
5. 計算檢定統計量
ANOVA 檢定統計量為:
因此:
在虛無假設成立時:
採用上尾臨界值記號 ,其中 服從 分配,則拒絕域為:
查表得:
由於:
故拒絕 。
結論
在 下,有充分證據顯示三種車款的平均汽油效率不全相同;至少有一種車款的母體平均每加侖里程不同。
(b) 的 95% 信賴區間
1. 點估計
平均數差的點估計為:
第 14 題20 分
- (20%) An insurance company is considering opening a new branch in Lansing. The company will choose the final location from two locations within the city. One of the factors in the decision is the annual family income (in thousands of dollars) from the potential locations.
Suppose that they randomly selected n families from each location (so the sample size is 2n). Let XA and S_A be the sample mean and the sample standard deviation of location A, respectively. Similarly, XB and S_B are the corresponding statistics from location B.
Use to answer the following questions. Please state your answer step-by-step, including: (i) the null/alternative hypothesis; (ii) the test statistic(use XA and SA to define your test statistic); (iii) the decision rule(including the distribution and critical value)
(a) (5%) Suppose that we have no idea whether the variances are equal or not. So how to use a statistical method to determine the variances are equal or not?
(b) (5%) Suppose that the variances are the same. Perform a hypothesis testing to determine whether the population means differ significantly.
(c) (10%) Let Z be 1 if it comes from location B and 0 otherwise. And Y be the income. We fit a simple linear regression model to this dataset {(Zi, Yi)}i=1,...,2n and use the least squares method to get the estimated regression equation. Show that the least squares estimates of intercept and slope parameters are XA and XB, respectively.
登入後即可作答並保存紀錄。
核心觀念
本題考查雙母體推論統計學與計量迴歸模型的整合應用,為商管研究所經典題型,涵蓋三大核心觀念:
- 雙母體變異數同質性檢定(Two-Sample -Test for Equality of Variances):當兩獨立常態母體的變異數未知時,利用樣本變異數之比值建構檢定統計量,該統計量服從 分配。
- 等變異數下之雙母體平均數差檢定(Two-Sample Pooled -Test for Means):在母體常態且變異數相等()的假定下,利用共同變異數的合適估計量(合併樣本變異數 )建構 Student's 檢定統計量。
- 虛擬變數迴歸模型與群組平均數(Dummy Variable Regression and Group Means):當自變數為二元虛擬變數(Indicator/Dummy variable)時,最小平方法(OLS)估計的截距項即為對照組()的樣本平均數,而斜率項為實驗組相對於對照組的平均數差值;其迴歸預測值恰好分別對應兩組的樣本平均數。
解題方法
(a) 雙母體變異數同質性檢定
評估兩地點家庭年收入的母體變異數是否相等,採雙尾 檢定:
(i) 虛無假說與對立假說(Hypotheses)
(ii) 檢定統計量(Test Statistic)
以兩組的樣本變異數 與 之比值定義檢定統計量:
(iii) 決策法則(Decision Rule)
在 為真的條件下, 統計量服從分子自由度為 、分母自由度為 的 分配,即 。
給定顯著水準 (雙尾各佔 ):
- 拒絕域(Rejection Region):
其中下尾臨界值滿足倒數關係:
- 決策準則:若計算所得之 或 ,則拒絕 ,推論兩母體變異數顯著不相等;否則不拒絕 。
(b) 等變異數下雙母體平均數差之檢定
在已知或假設 的前提下,進行獨立雙樣本 檢定:
(i) 虛無假說與對立假說(Hypotheses)
(ii) 檢定統計量(Test Statistic)
由於兩組樣本數皆為 ,合併樣本變異數(Pooled Variance) 為:
檢定統計量定義為:
(iii) 決策法則(Decision Rule)
在 為真的條件下, 統計量服從自由度為 的 Student's 分配,即 。
給定顯著水準 :
- 臨界值為 。
- 拒絕域:
- 決策準則:若 ,則拒絕 ,推論兩地點的平均家庭年收入有顯著差異;否則不拒絕 。
(c) 簡單線性迴歸模型之最小平方估計量推導
考慮迴歸模型:
其中 代表地點 A(共 筆觀測值), 代表地點 B(共 筆觀測值)。
令地點 A 與地點 B 的樣本平均數分別為:
步驟 1:計算變數的樣本平均數
- 自變數 的樣本平均數:
- 應變數 的樣本平均數:
步驟 2:計算離均差平方和與交叉乘積和
- 自變數的離均差平方和 :
第 (a) 題5 分
(a) Suppose that we have no idea whether the variances are equal or not. So how to use a statistical method to determine the variances are equal or not?
登入後即可作答並保存紀錄。
此小題要求說明在不知道兩個母體變異數是否相等的情況下,如何判斷它們是否相等。
這是一個關於變異數相等檢定的問題。
統計方法:F 檢定獨立樣本變異數 (F-test for equality of variances)。
步驟如下:
(i) 設定虛無假設 () 與對立假設 ():
: 兩個母體的變異數相等 ()。
: 兩個母體的變異數不相等 ()。
這是一個雙尾檢定。
(ii) 計算測試統計量 (Test Statistic):
F 統計量是兩個樣本變異數的比值。為使 F 值通常大於 1,將較大的樣本變異數放在分子。
假設樣本 A 的變異數為 ,樣本 B 的變異數為 。
若 ,則 。
若 ,則 。
第 (b) 題5 分
(b) Suppose that the variances are the same. Perform a hypothesis testing to determine whether the population means differ significantly.
登入後即可作答並保存紀錄。
此小題要求在假設兩個母體變異數相等的情況下,檢定兩個母體平均數是否顯著不同。
這是一個獨立樣本 t 檢定 (Independent Samples t-test),適用於變異數相等的假設。
步驟如下:
(i) 設定虛無假設 () 與對立假設 ():
: 兩個母體的平均數相等 ()。
: 兩個母體的平均數不相等 ()。
這是一個雙尾檢定。
(ii) 計算測試統計量 (Test Statistic):
由於假設母體變異數相等,我們使用合併變異數 (pooled variance) 。
。
由於兩個樣本大小相等,即 ,則 。
t 統計量為:
在 下,。
標準誤 (Standard Error, SE) 為:
第 (c) 題10 分
(c) Let Z be 1 if it comes from location B and 0 otherwise. And Y be the income. We fit a simple linear regression model to this dataset {(Zi, Yi)}i=1,...,2n and use the least squares method to get the estimated regression equation. Show that the least squares estimates of intercept and slope parameters are XA and XB, respectively.
登入後即可作答並保存紀錄。
此小題要求在給定的簡單線性迴歸模型設定下,證明截距參數和斜率參數的最小平方估計量。
模型設定:。
其中, 是指示變數: 代表地點 A, 代表地點 B。
是年家庭所得。
是截距項, 是斜率項。
是誤差項,期望值為 0。
樣本數據包含 個觀測值,其中 個來自地點 A (), 個來自地點 B ()。
地點 A 的樣本平均所得為 ,地點 B 的樣本平均所得為 。
題目要求證明:
最小平方估計量
最小平方估計量
證明:
首先,我們分析數據的平均值。
總樣本數 。
的平均值:。
的平均值:。
根據最小平方法的公式,迴歸參數的估計量為:
計算分母 :
對於地點 A (),。有 個此類項。
對於地點 B (),。有 個此類項。
。
計算分子 :
。
計算斜率估計量 :
。
計算截距估計量 :
。
結論與討論:
根據標準的最小平方迴歸公式推導,我們得到:
這與題目要求證的結果 和 不符。
分析題目要求與標準模型的差異:
在標準的迴歸模型 中,
代表 時的預期值,。