111 年 國立政治大學財務管理學系碩士班《統計學》
第 1 題15 分
Suppose we have three boxes, the first of which has 1 red ball and 9 white balls, the second of which has 5 red balls and 5 white balls, and the third of which has 9 red balls and 1 white ball. A box is chosen at random and a ball is sampled. Given that the observed ball is red, what is the probability that the third box was chosen? (Hint: 機率以分數表示)
登入後即可作答並保存紀錄。
本題考驗貝氏定理 (Bayes' Theorem) 的應用。
設 分別表示選擇到第一、二、三個箱子的事件,而 表示抽到紅球的事件。
由於箱子是隨機選擇的,所以選擇到每個箱子的機率相等:
各箱子抽到紅球的條件機率如下:
箱子一:1 個紅球,9 個白球,共 10 球。
箱子二:5 個紅球,5 個白球,共 10 球。
箱子三:9 個紅球,1 個白球,共 10 球。
我們要計算的是,在已知抽到紅球的條件下,是第三個箱子被選到的機率,即 。
根據貝氏定理:
首先,我們需要計算抽到紅球的總機率 。根據全機率法則:
第 2 題20 分
The share price of some stock company varies in a random manner, such that the price increase each minute is described by a discrete random variable X (measured in dollars), with the following probability mass:
a. (10%) Calculate and .
b. (10%) Use the Central Limit Theorem to estimate the probability that the price will increase by 1.20 dollars, or more, after 3 hours.
登入後即可作答並保存紀錄。
本題考驗離散型隨機變數的期望值與變異數計算,以及中央極限定理 (Central Limit Theorem, CLT) 的應用。
核心觀念:
- 離散型隨機變數的期望值與變異數計算公式。
- 中央極限定理:當樣本數足夠大時,樣本平均數的分布近似於常態分布。
- 常態分布的機率計算。
a. 計算 and
計算期望值 :
期望值是隨機變數所有可能值的加權平均,權重為其對應的機率。
計算變異數 :
變異數的計算公式為 。
首先,計算 :
接著,計算變異數 :
【答案】 ,
b. 使用中央極限定理估計 3 小時後股價上漲至少 1.20 美元的機率
步驟 1:確定樣本數
題目要求計算 3 小時後股價的變動。由於 是每分鐘的股價變動,所以 3 小時總共有 分鐘。因此,樣本數 。
步驟 2:定義樣本平均數的期望值與變異數
根據中央極限定理,即使原始變數 不是常態分布,當樣本數 足夠大時 (這裡 應足夠大),樣本平均數 的分布會近似於常態分布。
樣本平均數的期望值:
樣本平均數的變異數:
計算 :
樣本標準差:
步驟 3:將問題轉換為樣本平均數的機率問題
我們要估計的是 3 小時 (180 分鐘) 股價總變動至少為 1.20 美元的機率。
總變動可以表示為 180 個獨立的隨機變數 的總和:。
總變動的期望值是 。
總變動的變異數是 。
總變動的標準差是 。
第 3 題15 分
A financial officer for a company wants to estimate the percent of accounts receivable that are more than 30 days overdue. He surveys 500 accounts and finds that 300 are more than 30 days overdue. Compute a 90% confidence interval for the true percent of accounts receivable that are more than 30 days overdue, and interpret the confidence interval.
登入後即可作答並保存紀錄。
本題考驗比例的信賴區間 (Confidence Interval for a Proportion) 的計算與解釋。
核心觀念:
- 點估計 (Point Estimate) 與區間估計 (Interval Estimate)。
- 比例的信賴區間計算公式。
- 信賴區間的解釋。
步驟 1:識別參數與樣本統計量
- 母體參數:true percent of accounts receivable that are more than 30 days overdue (母體比例 )。
- 樣本大小:。
- 樣本中符合條件的數量:。
- 樣本比例:。
步驟 2:確定信賴水準與臨界值
- 信賴水準 (Confidence Level):90%
- 顯著水準 (Significance Level):。
- 由於是比例的信賴區間,我們使用標準常態分布的 值作為臨界值。對於 90% 的信賴水準,我們需要在標準常態分布的兩側各留下 的機率。
- 尋找 使得 ,或 。
- 查標準常態分布表可知,。
步驟 3:計算信賴區間
比例的信賴區間公式為:
第 4 題15 分
The following data provides a recent survey of the youngest online entrepreneurs whose net worth is estimated at one million US dollars or more. Their ages range from 17 to 30. The third column of the table illustrates the number of entrepreneurs who correspond to the specific age group and their net worth. Are the ages and net worth independent? Perform a test of independence at the 5% significance level. (Hint: State the null hypothesis, expected values for the number of entrepreneurs, test statistics, decision rule and conclusion.)
| Age Group | Net Worth Value | Number of Entrepreneurs |
|---|---|---|
| 17-25 | 1-5 | 8 |
| 26-30 | 1-5 | 6 |
| 17-25 | 6-24 | 7 |
| 26-30 | 6-24 | 5 |
| 17-25 | ≥ 25 | 5 |
| 26-30 | ≥ 25 | 9 |
🖼️【此處有附圖,請對照原卷】 (表格內容已轉為文字)
登入後即可作答並保存紀錄。
本題考驗獨立性檢定 (Test of Independence) 的應用,使用卡方檢定 (Chi-Square Test)。
核心觀念:
- 獨立性檢定的假設檢定架構。
- 觀察值 (Observed Values, ) 與期望值 (Expected Values, ) 的計算。
- 卡方統計量 () 的計算公式。
- 卡方分布的自由度與臨界值。
- 決策規則與結論。
步驟 1:建立假設
- 虛無假設 ():年齡組別 (Age Group) 與淨資產價值 (Net Worth Value) 之間是獨立的。
- 對立假設 ():年齡組別與淨資產價值之間不是獨立的 (即存在關聯性)。
步驟 2:整理觀察值與計算邊際總計
首先,將表格資料整理成一個列聯表 (Contingency Table),並計算各列、各欄的總計以及總計。
| Age Group | Net Worth: 1-5 | Net Worth: 6-24 | Net Worth: ≥ 25 | Row Total |
|---|---|---|---|---|
| 17-25 | 8 | 7 | 5 | 20 |
| 26-30 | 6 | 5 | 9 | 20 |
| Column Total | 14 | 12 | 14 | 40 |
觀察值矩陣 :
總樣本數 。
步驟 3:計算期望值
在虛無假設成立的情況下,各儲存格的期望值 可以透過以下公式計算:
- (Age 17-25, NW 1-5):
- (Age 17-25, NW 6-24):
- (Age 17-25, NW ≥ 25):
- (Age 26-30, NW 1-5):
- (Age 26-30, NW 6-24):
- (Age 26-30, NW ≥ 25):
期望值矩陣 :
步驟 4:計算卡方統計量
卡方統計量計算公式為:
第 5 題20 分
A consumer research group is interested in testing an automobile manufacturer's claim that a new economy model will travel at least 25 miles per gallon of gasoline (Ho: μ ≥ 25).
a. (10%) With a .02 level of significance and a sample of 30 cars, what is the decision rule based on the value of x for the test to determine whether the manufacturer's claim should be rejected? Assume that o is 3 miles per gallon.
b. (10%) What is the probability of committing a Type II error if the actual mileage is 23 miles per gallon?
登入後即可作答並保存紀錄。
核心觀念
本題考查:
- 母體平均數的單尾假設檢定
- 母體標準差已知時的 檢定
- 顯著水準 與拒絕域
- 第二類錯誤(Type II error)的計算
製造商宣稱平均油耗「至少」為 25 英里/加侖,因此假設為:
若研究團隊想判定製造商的宣稱是否應被拒絕,對立假設為:
這是左尾檢定。
已知:
其中 為母體標準差。
解題方法
由於母體標準差 已知,使用單一母體平均數的 檢定:
本題在虛無假設的邊界值 下進行檢定,故:
因為是左尾檢定,顯著水準為 ,標準常態分配的臨界值為:
因此拒絕域為:
(a)根據 的決策規則
將 檢定式代入拒絕條件:
兩邊乘以正值 :
因此:
計算標準誤:
所以臨界值為:
決策規則為:
- 若 ,拒絕 ,認為平均油耗低於 25 英里/加侖,製造商的宣稱應予拒絕。
- 若 ,不拒絕 ,沒有足夠證據拒絕製造商的宣稱。
因此:
(b)實際平均油耗為 23 時的第二類錯誤機率
第 6 題15 分
A sales manager collected the following data on annual sales (y) for new customer accounts and the number of years of experience (x) for a sample of 10 salespersons. An estimated regression equation is . Compute the coefficient of determination and interpret.
| Salesperson | Years of Experience (x) | Annual Sales ($1000s) (y) |
|---|---|---|
| 1 | 1 | 80 |
| 2 | 3 | 97 |
| 3 | 4 | 92 |
| 4 | 4 | 102 |
| 5 | 6 | 103 |
| 6 | 8 | 111 |
| 7 | 10 | 119 |
| 8 | 10 | 123 |
| 9 | 11 | 117 |
| 10 | 13 | 136 |
登入後即可作答並保存紀錄。
本題考驗簡單線性迴歸中的判定係數 的計算與解釋。
核心觀念:
- 判定係數 的定義與計算。
- 在迴歸分析中的意義。
- 的解釋。
步驟 1:理解 的意義
判定係數 (Coefficient of Determination) 是衡量迴歸模型解釋依變數 (y) 變異的能力。它表示依變數的總變異中,有多少比例可以被自變數 (x) 的變異所解釋。
的值介於 0 和 1 之間。越接近 1 表示模型的解釋力越強。
計算公式有兩種常見形式:
- ,其中 SSR 是迴歸平方和 (Sum of Squares due to Regression),SST 是總平方和 (Total Sum of Squares)。
- ,其中 SSE 是殘差平方和 (Sum of Squares due to Error)。
步驟 2:計算必要的平方和 (Sum of Squares)
我們需要計算 SST (總平方和) 和 SSR (迴歸平方和) 或 SSE (殘差平方和)。
題目已給出迴歸線方程式:。
計算 SST (總平方和):
SST 衡量了依變數 的總變異。
首先,計算樣本平均數 。
現在計算 SST:
計算 SSE (殘差平方和):
SSE 衡量了迴歸模型未能解釋的變異。
我們需要先計算每個數據點的預測值 。
| Salesperson | x | y | (Residual) | ||
|---|---|---|---|---|---|
| 1 | 1 | 80 | 16 |