109 年 國立高雄大學金融管理學系碩士班《統計學》
第 1 題12 分
A study of 31,000 hospital admissions in New York State found that 4% of the admissions led to treatment-caused injuries. One-seventh of these treatment-caused injuries resulted in death, and one-fourth were caused by negligence. Malpractice claims were filed in one out of 7.5 cases involving negligence, and payments were made in one out of every two claims.
Let = treatment-caused injury
= death from injury
= injury caused by negligence
= malpractice claim filed
= payment made in claim
(1) What is the probability a person admitted to the hospital will suffer a treatment-caused injury due to negligence?
(2) What is the probability a person admitted to the hospital will die from a treatment-caused injury?
(3) In the case of a negligent treatment-caused injury, what is the probability a malpractice claim will be paid?
登入後即可作答並保存紀錄。
本題主要考驗機率的基本計算與條件機率的應用。題目提供了多個事件發生的比例,需要透過這些比例計算出特定事件發生的機率。
首先,我們將題目中給定的資訊轉換成機率符號:
總體醫院就診人數為 31,000 人。
事件 (treatment-caused injury) 的機率 。
在所有造成傷害的案例中,有 導致死亡,即 。
在所有造成傷害的案例中,有 是由疏忽造成的,即 。
在所有因疏忽造成的傷害案例中,有 提出了醫療疏失訴訟,即 。
在所有提出醫療疏失訴訟的案例中,有 獲得賠償,即 。
我們假設「因疏忽造成的傷害」(N) 是「因治療造成的傷害」(I) 的一個子集,即 。因此,事件 發生代表也同時發生了事件 。
(1) 計算「因疏忽造成的傷害」的機率 。
題目說「one-fourth were caused by negligence」是指在「treatment-caused injuries」中,有四分之一是由疏忽造成的。
所以 。
我們要求的是一個「人 admit to the hospital」會 suffer a treatment-caused injury due to negligence 的機率,這就是 。
根據條件機率定義,。
由於 N 是 I 的一種,所以 。
因此,。
【答案】0.01
(2) 計算「因治療造成的傷害而死亡」的機率 。
題目說「One-seventh of these treatment-caused injuries resulted in death」,這表示 。
我們要求的是一個「人 admit to the hospital」會 die from a treatment-caused injury 的機率,這就是 。
同理,。
第 2 題8 分
A local bank reviewed its credit card policy with the intention of recalling some of its credit cards. In the past approximately 5% of cardholders defaulted, leaving the bank unable to collect the outstanding balance. Hence, management established a prior probability of 0.05 that any particular cardholder will default. The bank also found that the probability of missing a monthly payment is 0.20 for customers who do not default. Of course, the probability of missing a monthly payment for those who default is 1.
(1) Given that a customer missed one or more monthly payments, compute the posterior probability that the customer will default.
(2) The bank would like to recall its card if the probability that a customer will default is greater than 0.20. Should the bank recall its card if the customer misses a monthly payment? Why or why not?
登入後即可作答並保存紀錄。
本題主要考驗貝氏定理 (Bayes' Theorem) 的應用,以及如何利用它來更新機率。
首先,我們定義事件:
: cardholder will default (違約)
: cardholder will not default (不違約)
: customer missed one or more monthly payments (錯過至少一次月付款)
題目給定的資訊:
先驗機率 (prior probability) 。
因此,不違約的先驗機率 。
「不違約」的條件下,錯過月付款的機率 。
「違約」的條件下,錯過月付款的機率 。
(1) 計算後驗機率 。
我們想知道,在已知客戶錯過月付款的情況下,該客戶違約的機率。這可以使用貝氏定理來計算:
首先,我們需要計算 ,即客戶錯過月付款的總機率。根據全機率法則:
第 3 題8 分
The U.S. Energy Information Administration (US EIA) reported that the average price for a gallon of regular gasoline is 0.25 for the price of a gallon of regular gasoline and recommend the appropriate sample size for the US EIA to use if they wish to report each of the following margins of error at 95% confidence.
(1) The desired margin of error is 0.07.
登入後即可作答並保存紀錄。
核心觀念
本題考查母體平均數區間估計中「樣本數大小的決定」(Sample Size Determination for Estimating Population Mean)。
- 估計母體平均數的信賴區間型態:
當母體標準差 已知時,母體平均數 之 信賴區間為: - 邊際誤差(Margin of Error, ):
邊際誤差代表點估計值與母體參數之間允許的最大抽樣誤差,其計算公式為: - 樣本數決定公式:
將上述邊際誤差公式兩邊進行代數移項,即可解出所需之最小樣本數 : - 無條件進位原則(Rounding-Up Rule):
為確保實際估計的邊際誤差不超過預期的最大容許誤差 ,若計算出的樣本數 包含小數,一律採取無條件進位(Ceiling Function,)取下一個整數,不可採用四捨五入。
解題方法
已知參數整理
- 母體標準差 (元)
- 信賴水準
- 標準常態分配臨界值
- 題目提及之平均油價 $3.94 為背景點估計值,與決定樣本數無直接關聯。
(1) 當期望邊際誤差為 $0.10 時()
將已知數據代入樣本數公式:
第 4 題12 分
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 (). Assume that is 3 miles per gallon.
(1) With a 0.02 level of significance and a sample of 30 cars, what is the rejection rule based on the value of for the test to determine whether the manufacturer's claim should be rejected?
(2) What is the probability of committing a Type II error if the actual mileage is 23 miles per gallon?
(3) What is the probability of committing a Type II error if the actual mileage is 25.5 miles per gallon?
登入後即可作答並保存紀錄。
核心觀念
本題評量單一母體平均數的單尾假設檢定與第二類型錯誤(Type II error, )之計算:
- 假設設定與拒絕域(Rejection Rule):
- 虛無假設 ,對立假設 (左尾檢定)。
- 樣本數 屬於大樣本(或依中央極限定理),且題目給定標準差為 。在商管統計實務大樣本檢定下,檢定統計量服從標準常態分配 (若依嚴格常態母體未知 且題意未提供 表,通常依大樣本以標準常態近似;本題標準常態臨界值 或一般查表取 ;若以 分配 ,詳解以標準常態 計算為主流標準解法,並附註 值對照)。
- 拒絕法則以樣本平均數 表示時,決策臨界點為: 當 時拒絕 。
- 第二類型錯誤的機率():
- 定義:當 為真(即實際母體平均數 )時,未拒絕 (即落在不拒絕域 )的機率:
- 當實際母體平均數落在虛無假設的範圍內(即 )時, 本身為真,此時不可能發生第二類型錯誤,因此 (或依定義第二類型錯誤不存在)。
解題方法
(1) 求解以 為基準的拒絕法則(Rejection Rule)
- 檢定假設:
- 顯著水準 ,樣本數 ,標準差以 近似代入。
- 查標準常態分配表,累積機率為 之左尾臨界值為:
- 標準化統計量形式之拒絕域為:
- 換算為以 表示之拒絕臨界值 : 取 : (若使用二位小數臨界值 ,則 )。
- 因此,以 為基準的拒絕法則為:當 (或 )時,拒絕 。
第 5 題10 分
Bank of America's Consumer Spending Survey collected data on annual credit card charges in seven different categories of expenditures: transportation, groceries, dining out, household expenses, home furnishings, apparel, and entertainment. Using data from a sample of 42 credit card accounts, assume that each account was used to identify the annual credit card charges for groceries (population 1) and the annual credit card charges for dining out (population 2). Using the difference data, the sample mean difference was $850, and the sample standard deviation was $1123. (, )
(1) Use a 0.05 level of significance. Can you conclude that the population means differ?
(2) What is the 95% confidence interval estimate of the difference between the population means?
登入後即可作答並保存紀錄。
核心觀念
本題評量**配對樣本(Paired Samples / Matched Samples)**之母體平均數差異的統計推論。
-
配對樣本設計:
由於每筆觀測值來自「同一個信用卡帳戶」在兩種不同消費類別(食品雜貨 vs. 外食餐飲)的支出,兩組資料彼此相關(相依)。因此應將兩母體的比較轉化為單一變數——配對差異值:
其中 代表兩類別母體平均數之差。 -
檢定統計量(Paired -test):
在母體標準差未知且樣本為配對結構下,檢定統計量服從自由度 的 分配:
-
母體平均數差之信賴區間(Confidence Interval):
信賴區間公式為:
解題方法
題目給定條件:
- 樣本數 (自由度 )
- 樣本平均差異
- 樣本差異標準差
- 顯著水準 (雙尾臨界值 )
(1) 假設檢定(Hypothesis Testing)
步驟一:建立虛無假說與對立假說
- 虛無假說 (即兩母體平均數無差異,)
- 對立假說 (即兩母體平均數有差異,)
步驟二:計算標準誤(Standard Error)
步驟三:計算檢定統計量之值
步驟四:決策法則(Decision Rule)與結論
- 雙尾檢定拒絕域為:。
第 6 題8 分
A survey asked the following question: do you favor or oppose providing tax-funded vouchers or tax deductions to parents who send their children to private schools? Of the 2010 individuals surveyed, 905 favored the proposal, 1045 opposed the proposal, and 60 offered no opinion. Do the data indicate a significant difference in the preferences for the financial support of parents who send their children to private schools? Use a nonparametric method and a 0.05 level of significance.
登入後即可作答並保存紀錄。
本題考驗卡方檢定 (Chi-squared test) 在分析類別資料上的應用,特別是針對三個或以上類別的獨立性檢定,或者在此情況下,檢定觀察到的比例是否與預期比例有顯著差異。題目要求使用「非參數方法」,這通常是指卡方檢定。
題目給定的資訊:
總樣本數 。
贊成 (Favor) 的人數 。
反對 (Oppose) 的人數 。
無意見 (No Opinion) 的人數 。
顯著水準 。
問題是:「Do the data indicate a significant difference in the preferences?」這句話可以理解為,這三種偏好(贊成、反對、無意見)的比例是否顯著不同。如果沒有顯著差異,我們可能會期望它們的比例大致相等,或者基於某些先驗資訊。然而,題目並沒有提供任何預期的比例。
在這種情況下,最合理的解釋是進行一個「適合度檢定」(Goodness-of-Fit Test),檢定觀察到的比例是否與「均勻分佈」(uniform distribution) 的比例有顯著差異。也就是說,我們檢定這三種選項的受歡迎程度是否大致相等。
虛無假設 : 這三種偏好的比例是相等的 (即 )。
對立假設 : 這三種偏好的比例不全相等。
若依據 假設,預期人數為:
預期贊成 。
第 7 題12 分
Market betas for individual stocks are determined by simple linear regression. For each stock, the dependent variable is its quarterly percentage return (capital appreciation plus dividends) minus the percentage return that could be obtained from a risk-free investment (the Treasury Bill rate is used as the risk-free rate). The independent variable is the quarterly percentage return (capital appreciation plus dividends) for the stock market (S&P 500) minus the percentage return from a risk-free investment. An estimated regression equation is developed with quarterly data; the market beta for the stock is the slope of the estimated regression equation (). The value of the market beta is often interpreted as a measure of the risk associated with the stock. Market betas greater than 1 indicate that the stock is more volatile than the market average; market betas less than 1 indicate that the stock is less volatile than the market average. Suppose that the following figures are the differences between the percentage return and the risk-free return for 10 quarters for the S&P 500 and Horizon Technology.
(1) What is Horizon Technology's market beta?
(2) Test for a significant relationship at the 0.05 level of significance.
| S&P 500 | Horizon |
|---|---|
| 1.2 | -0.7 |
| -2.5 | -2.0 |
| -3.0 | -5.5 |
| 2.0 | 4.7 |
| 5.0 | 1.8 |
| 1.2 | 4.1 |
| 3.0 | 2.6 |
| -1.0 | 2.0 |
| 0.5 | -1.3 |
| 2.5 | 5.5 |
登入後即可作答並保存紀錄。
本題考驗簡單線性迴歸的應用,特別是如何計算迴歸係數(市場 Beta 值)以及進行迴歸關係的顯著性檢定。
題目中的「 dependent variable 」是 Horizon Technology 的超額報酬 (excess return),「 independent variable 」是 S&P 500 的超額報酬 (excess return)。市場 Beta 值 () 就是迴歸模型中自變數 (S&P 500 超額報酬) 的迴歸係數。
迴歸模型為:
其中, 是 Horizon Technology 的超額報酬, 是 S&P 500 的超額報酬, 是市場 Beta 值。
我們有 10 個觀察值 (n=10)。
S&P 500 (X): 1.2, -2.5, -3.0, 2.0, 5.0, 1.2, 3.0, -1.0, 0.5, 2.5
Horizon (Y): -0.7, -2.0, -5.5, 4.7, 1.8, 4.1, 2.6, 2.0, -1.3, 5.5
(1) 計算 Horizon Technology 的市場 Beta 值 ()。
Beta 值 是迴歸線的斜率,可以使用以下公式計算:
首先,計算 X 和 Y 的平均值:
接下來,計算 和 。
我們也可以使用另一種計算 beta 的公式:
計算各項總和:
第 8 題10 分
The regression model is , , , , . is a non-stochastic variable. We have 20 observations and list them in order: . Now we have
Let and .
We have .
(1) Is an unbiased estimator of ?
(2) According to Gauss-Markov Theorem, is a BLUE (Best Linear Unbiased Estimator) of ? Please explain.
登入後即可作答並保存紀錄。
本題考驗迴歸分析中的估計量性質,特別是對於最小平方法 (OLS) 估計量 的不偏性 (unbiasedness) 和最佳線性不偏性 (BLUE) 的判斷。
題目給定的迴歸模型為 ,且滿足標準的 OLS 假設:
- (誤差項期望值為 0)。
- (誤差項變異數恆定,同質性 Homoscedasticity)。
- for (誤差項之間不相關,無序列相關)。
- 是非隨機的 (non-stochastic) 或對於 是獨立的。
- 樣本大小 。
估計量 是斜率係數 的 OLS 估計量。
(1) 是否為 的不偏估計量?
我們需要證明 。
將 代入 :
將 代入 的分子:
注意到 。
所以,。
因此,。
現在將此代入 的公式:
現在計算 :
第 9 題10 分
Suppose there is a true regression as follow:
(1) If one omits the variable in the regression model, what will the estimated coefficient and be affected?
(2) If one includes one more unnecessary variable into the true model, what will the estimated coefficient , , and be affected?
登入後即可作答並保存紀錄。
本題考驗迴歸分析中,變數選擇(省略或加入)對迴歸係數估計量的影響。
假設真實模型為:
其中 , , 且 都是非隨機變數,且與 不相關。
(1) 省略變數 的影響。
當我們省略 時,模型變為:
我們使用 OLS 來估計這個簡化的模型,得到 和 。
OLS 估計量 是:
(在此簡化模型下)
代入真實模型中的 :
由於 非隨機, 與 不相關,且 。
令 和 的相關係數為 ,標準差為 。
。
。
。
影響:
-
(估計的 ):
- 如果 和 不相關 ( 或 ),那麼 。此時,省略 並不會影響 的估計。
- 如果 和 相關 (),那麼 。此時,省略 會導致 的估計量產生偏差 (biased)。這個偏差的大小取決於 的值以及 和 之間的相關性。這稱為「省略變數偏差」(omitted variable bias)。
-
(估計的 ):
同樣地,省略 會使截距項的估計量 產生偏差。
除非 或 (這通常不成立),否則 會產生偏差。
總結 (1):
- 估計的 () 會產生偏差,除非 和 不相關,或者 。
- 估計的 () 通常也會產生偏差,除非 或 的平均值與 的平均值以特定方式相關。
第 10 題10 分
There are some red and white balls in a basket. Now we randomly select one ball from the basket with replacement until we obtain a red ball. Let be the number of balls we select from the basket before we get the red ball. The whole process is repeated for times, which means that we can have as a sample. Please use MLE to find out the estimator of the ratio , where .
登入後即可作答並保存紀錄。
本題考驗最大概似估計法 (Maximum Likelihood Estimation, MLE) 的應用,以及如何應用於機率分佈和參數估計。
首先,我們需要確定隨機變數 所服從的機率分佈。
題目描述:從籃子中隨機抽取一個球,有放回,直到抽到紅球為止。 是「抽到紅球之前」抽取的球數。
這是一個幾何分佈 (Geometric Distribution) 的情境。
設籃子中有 個球,其中 個紅球, 個白球。。
抽到紅球的機率為 。
抽到白球的機率為 。
幾何分佈定義:在伯努利試驗中,第一次成功(抽到紅球)所需的試驗次數。
如果 是「第一次成功所需的試驗次數」,則 ,其中 。
但是,題目定義 是「抽到紅球之前」抽取的球數。這意味著:
- 如果第一次就抽到紅球,則 。
- 如果第一次抽到白球,第二次抽到紅球,則 。
- 如果前兩次抽到白球,第三次抽到紅球,則 。
所以,這是幾何分佈的一個變體,其中 是「失敗的次數」,直到第一次成功。
其機率質量函數 (PMF) 為:,其中 。
這個分佈也稱為「零起始」的幾何分佈。
我們需要估計的參數是 。
我們知道 。
。
。
我們需要將 與 聯繫起來。
。
所以,。
反之,。
這是我們要估計的參數 與成功機率 的關係。
現在,我們使用 MLE 來估計 。
給定樣本 ,其概似函數 (Likelihood Function) 為: