109 年 國立政治大學國際經營與貿易學系研究所國際經濟、國際財管、國際企管與行銷組《統計學》
第 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 error 的定義。Type I error 是指在虛無假設(null hypothesis)為真時,我們卻錯誤地拒絕了它。題目中給定 Type I error 的機率為 0.05,這表示當虛無假設為真時,我們有 5% 的機率會做出錯誤的決定,即拒絕虛無假設。
選項分析:
A. 描述的是當虛無假設為真時,我們「不拒絕」的機率,這不是 Type I error 的定義。
第 2 題3 分
- (3pt) Suppose we wish to test Ho: vs. H₁: . 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
登入後即可作答並保存紀錄。
此題在於判斷哪個樣本結果最能支持對立假設 。為了支持 ,我們需要觀察到的樣本平均數 () 盡可能地小,並且遠小於虛無假設中的母體平均數 。同時,標準誤(standard error, SE)的大小也會影響我們對樣本結果的信心程度。通常我們會計算一個檢定統計量(例如 z 或 t 統計量),其值越極端(在此情況下,越負),越能支持對立假設。檢定統計量通常是 。
我們計算每個選項對應的檢定統計量,並比較其大小,越小的(越負)越能支持 。
A. ,
檢定統計量
第 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)
登入後即可作答並保存紀錄。
此題要求計算母體比例的 99% 信賴區間。
已知樣本數 ,樣本中限制使用手機的餐廳數量為 。
樣本比例 。
由於樣本數夠大 ( 且 ),我們可以使用常態近似來計算信賴區間。
信賴區間的公式為:
對於 99% 的信賴水準,。
。
查標準常態分配表,與 0.005 對應的 值(右尾機率為 0.005)約為 2.576。
第 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: vs. H₁: , 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 定義的理解。
p-value 的定義是:在虛無假設 () 為真的前提下,觀察到當前樣本結果或比當前樣本結果「更極端」的結果的機率。
題目給定的檢定是:
(這是一個右尾檢定)
樣本平均數
p-value = 0.074
根據 p-value 的定義,這表示:
在母體平均數 的情況下(即虛無假設為真時),觀察到樣本平均數 (或比 105 更支持 的值)的機率是 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」
這句話的意思是:如果母體平均數確實是 100,那麼我們抽樣得到的樣本平均數大於或等於 105 的機率是 0.074。
第 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, ME)不超過某個值 ,且信賴水準為 :
題目給定的資訊:
- (要求樣本平均數在母體平均數 10 個單位之內)
- (母體標準差)
- (計算出的樣本數)
我們需要找出對應於這些值的信賴水準 。
將已知數據代入公式:
解出 :
第 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 |
|---|---|
| 8 | |
| 30 | |
| 17 | |
| 5 |
登入後即可作答並保存紀錄。
核心觀念
這題使用卡方適合度檢定,檢查觀察到的各區間次數,是否與假設母體 所預期的次數有顯著差異。
在虛無假設成立時,各區間的理論機率由標準常態分配計算,期望次數為
檢定統計量為
其中 為觀察次數、 為期望次數, 為區間數。本題沒有從樣本估計常態分配參數,因此自由度為 。
解題方法
設定假設:
- :資料來自平均數為 、變異數為 的常態母體,即 。
- :資料不來自 。
在 下,標準常態分配的累積機率為 、、。因此四個區間的機率依序為
樣本數為 ,所以期望次數如下:
| 區間 | 觀察次數 | 機率 | 期望次數 |
|---|---|---|---|
| 8 | 0.1587 | 9.52 | |
| 30 | 0.3413 | 20.48 |
第 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.
| Average Mile/Gallon | Car A | Car B | Car C |
|---|---|---|---|
| Sample Standard Deviation | 4 | 5 | 3 |
(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) 及獨立樣本 t 檢定(或其對應的信賴區間)。
已知條件:
- 三個車款 (A, B, C),共 3 組。
- 每組樣本數 。
- 樣本平均數(未直接給出,但通常 ANOVA 會用到,或用於計算 t 檢定的差值)。
- 樣本標準差:。
- 假設各組母體變異數相等:。
(a) (10%) Let , and see if the mean gasoline consumption for all three models of cars is the same.
這是典型的單因子變異數分析 (One-Way ANOVA) 問題,用於檢定三個或更多組的母體平均數是否相等。
檢定假設:
(所有車款的平均油耗相同)
: 至少有一個車款的平均油耗不同於其他車款。
ANOVA 的步驟:
-
計算組間變異 (Between-group variability) 和組內變異 (Within-group variability)。
ANOVA 的關鍵是計算組間均方 (Mean Square Between, MSB) 和組內均方 (Mean Square Within, MSW)。
MSB 反映了組間平均數的差異。
MSW 反映了組內的隨機變異。為了計算 MSB 和 MSW,我們需要樣本平均數 ()。題目中沒有直接給出。
然而,題目給出了平均油耗和樣本標準差。Car A Car B Car C Average Mile/Gallon 42 49 44 Sample Standard Deviation 4 5 3 修正: 題目中的「Average Mile/Gallon」應該是樣本平均數 (),而不是平均油耗。
,
,
,
每組樣本數 。
總組數 。
總樣本數 。 -
計算組內均方 (MSW),也稱為誤差均方 (MSE)。
由於假設母體變異數相等 (),MSW 是各組樣本變異數的加權平均。
-
計算組間均方 (MSB)。
首先計算總平均數 :
MSB 的計算公式為:
-
計算 F 統計量。
-
決定決策規則。
顯著水準 。
自由度:組間自由度 。
組內自由度 。
查找 F 分配表,在 , , 下的臨界值 。
查表可知,,。
線性插值或取較保守值(較大值),約為 3.20。
決策規則:如果計算出的 F 統計量大於臨界值,則拒絕 。 -
做出結論。
計算出的 。
臨界值 。
由於 ,我們拒絕虛無假設 。
結論:在 5% 的顯著水準下,我們有足夠的證據證明至少有一個車款的平均油耗與其他車款不同。
第 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 and
be the sample mean and the sample standard deviation of location A, respectively. Similarly, and 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 and 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,...,n and use the least squares method to get the estimated
regression equation. Show that the least squares estimates of intercept and slope parameters are and
XA, respectively.
登入後即可作答並保存紀錄。
核心觀念
本題比較兩個地點家庭年收入的母體平均數與母體變異數,使用的觀念包括:
- **兩母體變異數比較:**使用 檢定。
- **兩獨立母體平均數比較:**在變異數相同的假設下,使用合併變異數的兩樣本 檢定。
- **虛擬變數迴歸:**令地點 A 為 、地點 B 為 ,迴歸截距代表 A 地點平均收入,斜率代表 B、A 兩地平均收入之差。
假設兩地家庭收入皆來自常態母體,且兩地樣本彼此獨立,每地抽取 戶。
(a) 檢定兩地母體變異數是否相等
解題方法
因為兩地樣本皆來自常態母體,且樣本獨立,可使用 檢定比較兩個母體變異數。
令母體變異數分別為 與 。
(i) 虛無假設與對立假設
這是雙尾檢定,顯著水準為 。
(ii) 檢定統計量
使用樣本變異數之比:
在 成立時,
其中分子與分母的自由度皆為 。
(iii) 決策法則
令 表示自由度為 的 分配第 分位數。
拒絕域為:
或
因此:
- 若上述條件之一成立,拒絕 ,認為兩地母體變異數有顯著差異。
- 若
則不拒絕 ,表示沒有足夠證據認為兩地母體變異數不同。
解題技巧
檢定的結論是「是否有足夠證據認為變異數不同」,而不是直接證明兩變異數完全相等。不拒絕 只代表樣本證據不足以否定變異數相等的假設。
(b) 在變異數相同下,檢定兩地母體平均數是否不同
解題方法
由於題目指定兩地母體變異數相同,因此使用合併變異數的兩獨立樣本 檢定。
令兩地母體平均家庭收入分別為 與 。
(i) 虛無假設與對立假設
要檢定兩地平均收入是否有顯著差異:
這是雙尾檢定,顯著水準為 。
(ii) 合併樣本變異數
因為假設兩地母體變異數相同,先計算合併樣本變異數:
因為兩地樣本數相同,可化簡為:
因此:
(iii) 檢定統計量
使用 與 定義地點 A 的樣本統計量,檢定統計量為:
整理分母後:
在 成立時:
自由度為:
(iv) 決策法則
雙尾檢定的臨界值為:
拒絕域為:
或
等價地,也可寫成:
若拒絕 ,表示兩地母體平均家庭收入有顯著差異;若不拒絕 ,表示沒有足夠證據認為兩地平均家庭收入不同。
解題技巧
本題是「是否不同」,因此使用雙尾檢定。若題目改問地點 A 的平均收入是否高於地點 B,才會使用單尾檢定,例如:
此外, 檢定與 檢定的用途不同:
- 檢定比較變異數。
- 合併變異數 檢定比較平均數。
(c) 證明虛擬變數迴歸的最小平方法估計量
解題方法
令:
- 地點 A 的家庭:
- 地點 B 的家庭:
- 家庭收入:
考慮簡單線性迴歸模型:
其中:
- 為截距參數。
- 為斜率參數。
因此估計的迴歸式為:
be the sample mean and the sample standard deviation of location A, respectively. Similarly, and 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 and to define your test statistic); (iii) the decision rule (including the distribution and critical value).
第 15 題20 分
(a) (5%) Suppose that we have no idea whether the variances are equal or not. So how to use a statistical method to determine whether 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 be 1 if it comes from location B and 0 otherwise. Let be the income. We fit a simple linear regression model to this dataset and use the least squares method to get the estimated regression equation. Show that the least squares estimates of intercept and slope parameters are and , respectively.
登入後即可作答並保存紀錄。
核心觀念
本題考查兩個獨立母體的變異數與平均數比較,以及虛擬變數迴歸的最小平方法。
令地點 A、B 的母體平均數分別為 ,母體變異數分別為 ;樣本數分別為 ,樣本平均數為 ,樣本標準差為 。以下假設兩地樣本相互獨立;變異數的 檢定另需母體常態,才能使用精確的 分配。
解題方法
(a) 檢定兩地母體變異數是否相同
以兩個樣本變異數的比值進行雙尾 檢定。
假設
檢定統計量
在 成立且兩地母體為常態的條件下,
決策規則
令 表示自由度為 的 分配第 分位數。當
則拒絕 ,判定兩地母體變異數有顯著差異;否則不拒絕 ,沒有足夠證據認定兩地變異數不同。
(b) 假設兩地變異數相同,檢定母體平均數是否不同
題目指定變異數相同,因此使用合併變異數的兩獨立樣本 檢定。
假設
合併樣本變異數
檢定統計量
在 成立、樣本獨立且母體變異數相同的條件下,
決策規則
若
則拒絕 ,認定兩地母體平均數有顯著差異;否則不拒絕 ,沒有足夠證據認定兩地母體平均數不同。
題目未提供 的數值,因此無法計算數值檢定統計量或作出數值判定;以上公式與臨界值規則即為本題可完成的檢定步驟。