112 年 國立中正大學企業管理學系碩士班丙組《統計學》
第 1 題10 分
There are 3 coins such that if the th coin is flipped, heads will appear with probability , . A coin is randomly selected and flipped, we win dollars if head shows and lose if tail.
(1) What is the expected value of this coin-flipping game? (5%)
(2) What is the relationship of and if this is a fair game (i.e. zero expected value)? (5%)
登入後即可作答並保存紀錄。
這題考驗期望值的計算與公平賽局的定義。
核心觀念:
- 期望值 (Expected Value):在一隨機試驗中,所有可能結果的機率乘以該結果的價值,再加總即為期望值。
- 公平賽局 (Fair Game):期望值為零的賽局。
解題步驟:
首先,我們需要知道隨機選到哪個硬幣的機率。題目說「A coin is randomly selected」,假設三個硬幣被選到的機率是相等的,即各為 。
我們將定義事件:
- : 選到第一個硬幣,機率
- : 選到第二個硬幣,機率
- : 選到第三個硬幣,機率
各硬幣出現「正面」(Heads, H) 的機率分別為:
則出現「反面」(Tails, T) 的機率為:
遊戲的規則是:
- 正面出現,贏 元。
- 反面出現,輸 元(即贏 元)。
(1) 這場硬幣翻轉遊戲的期望值是多少? (5%)
我們需要計算總體出現正反面的機率,然後乘以對應的輸贏金額。
首先計算翻一次硬幣出現正面的總機率 :
第 2 題10 分
Let , be a joint density function of and as shown in the shaded area. Point A is randomly selected from the area.
(1) What is the value of ? (5%)
(2) What is the probability of ? (5%)
🖼️【此處有附圖,請對照原卷】
登入後即可作答並保存紀錄。
此題考驗聯合機率密度函數的性質以及區域內隨機選點的機率計算。
核心觀念:
- 聯合機率密度函數 (Joint Probability Density Function, PDF):對於連續型隨機變數 ,其聯合機率密度函數 必須滿足以下條件:
- 對於所有 。
- ,積分範圍為整個定義域。
- 幾何機率 (Geometric Probability):當機率密度函數是常數時,某事件發生的機率等於該事件發生的區域面積佔總定義域面積的比例。
解題步驟:
題目給定的聯合機率密度函數為 ,且其定義域為 的區域。這個區域是一個圓環,外圓半徑為 ,內圓半徑為 。圖中顯示的陰影區域就是這個圓環。
(1) 的值是多少? (5%)
根據聯合機率密度函數的性質,其在整個定義域上的積分必須等於 1。
其中 是定義域,即 的區域。
由於 是一個常數,積分就是常數 乘以定義域的面積。
定義域 的面積 是外圓面積減去內圓面積:
外圓半徑 ,面積 。
內圓半徑 ,面積 。
所以,定義域的面積 。
現在,我們將積分設為 1:
第 3 題10 分
Sales manager wants to know the market share of the new product. A market survey shows 80 out of 100 customers bought the new product.
(1) Based on the survey, construct a 95% confidence interval for the market share. (5%)
(2) How many more customers should be surveyed if sales manager requires the width of confidence interval is less than 10%? (5%)
登入後即可作答並保存紀錄。
這題考驗比例的信賴區間估計與樣本大小的決定。
核心觀念:
- 比例的信賴區間 (Confidence Interval for Proportion):用於估計母體比例 的範圍。
- 樣本大小決定 (Sample Size Determination):在給定的信賴水準與誤差範圍下,計算所需的最小樣本數。
解題步驟:
題目給定:
- 樣本數
- 樣本中購買新產品的數量
- 信賴水準為 95%
我們首先計算樣本比例 :
同時,樣本中未購買的比例為 。
(1) 根據調查,建構市場佔有率的 95% 信賴區間。 (5%)
對於比例的信賴區間,公式為:
信賴水準為 95%,所以 。
。從標準常態分配表中查得 。
標準誤 (Standard Error, SE) 為:
信賴區間的邊際誤差 (Margin of Error, ME) 為:
95% 信賴區間為:
信賴區間下限:
信賴區間上限:
所以,95% 信賴區間為 。
【答案】市場佔有率的 95% 信賴區間為 。
(2) 如果銷售經理要求信賴區間的寬度小於 10%,還需要調查多少名顧客? (5%)
第 4 題10 分
The score of teaching performance survey is 1 to 5, a teacher with score greater than 3 is considered to be good. A survey of 50 students shows Mr. Yeh gets the score with mean and standard deviation .
(1) Construct the null and alternative hypotheses. (5%)
(2) With , could the performance of Mr. Yeh be concluded to be good? (5%)
登入後即可作答並保存紀錄。
這題考驗假設檢定的建立與進行。
核心觀念:
- 假設檢定 (Hypothesis Testing):一種統計方法,用於判斷樣本資料是否足以支持某個關於母體參數的陳述。
- 虛無假設 (Null Hypothesis, ):通常是「沒有改變」、「沒有影響」或「沒有差異」的陳述,是我們試圖推翻的假設。
- 對立假設 (Alternative Hypothesis, 或 ):與虛無假設相反,是我們希望找到證據支持的假設。
- 顯著水準 (Significance Level, ):在虛無假設為真時,錯誤地拒絕虛無假設 (Type I Error) 的機率上限。
解題步驟:
題目給定:
- 評分範圍:1 到 5
- 「良好」的定義:分數大於 3 (即 )
- 樣本數
- 樣本平均數
- 樣本標準差
- 顯著水準
我們要檢定的是 Mr. Yeh 的教學表現是否「良好」。
(1) 建構虛無假設與對立假設。 (5%)
「良好」的定義是分數大於 3。我們通常將我們希望證實的陳述設定為對立假設。
因此,我們想證明 Mr. Yeh 的平均分數 大於 3。
-
對立假設 ():Mr. Yeh 的平均分數高於 3。
-
虛無假設 ():與對立假設相反,或者表示沒有達到「良好」的標準。由於「良好」是 ,那麼「非良好」就是 。在假設檢定中,虛無假設通常包含等號,且與對立假設的邊界值有關。所以,如果對立假設是 ,那麼虛無假設就是 。然而,在實際檢定時,我們通常將虛無假設設為 ,因為這是邊界情況。如果我們能拒絕 的情況,就支持 。
或者,更常見的寫法是將邊界值設為檢定對象:
為了進行檢定,我們通常將虛無假設設定為等號,並檢定是否能拒絕這個等號的假設。
所以,我們設定:
(Mr. Yeh 的平均教學評分是 3)
(Mr. Yeh 的平均教學評分高於 3)
這是一個右尾檢定 (right-tailed test)。
第 5 題10 分
Consider the hypothesis testing with . A sample of size is taken with the sample mean . Assume the population standard deviation is .
(1) Under what condition should be accepted with ? (5%)
(2) Assume the true mean is , what is the probability of type II error? (5%)
登入後即可作答並保存紀錄。
這題考驗假設檢定的接受域與第二類錯誤的機率計算。
核心觀念:
- 假設檢定 (Hypothesis Testing):判斷樣本證據是否足以拒絕虛無假設。
- 接受域 (Acceptance Region):虛無假設 不被拒絕的樣本結果範圍。
- 第二類錯誤 (Type II Error):當虛無假設 為假時,卻未能拒絕 的錯誤。其機率通常用 表示。
- Z-檢定 (Z-test):當母體標準差 已知時,用於檢定母體平均數的統計方法。
解題步驟:
題目給定:
- 虛無假設
- 對立假設 (這是從 推導出來的)
- 樣本數
- 母體標準差
- 顯著水準
由於母體標準差 已知,我們將使用 Z-檢定。
(1) 在 的情況下,何種條件下應接受 ? (5%)
首先,我們需要確定拒絕域 (Rejection Region) 和接受域 (Acceptance Region)。
虛無假設是 ,對立假設是 。這是一個左尾檢定。
檢定統計量為:
其中 是虛無假設的邊界值,即 200。
對於左尾檢定,在顯著水準 下,拒絕域是 。
(從標準常態分配表中查得)。
所以,拒絕域是 。
也就是說,當 時,我們拒絕 。
第 6 題15 分
The following table shows the results of recent study regarding gender of individuals and their selected field of study.
| Field of study | Male | Female | TOTAL |
|---|---|---|---|
| Business | 60 | 20 | 80 |
| Engineering | 160 | 40 | 200 |
| TOTAL | 220 | 60 | 280 |
We want to determine if the selected field of study is independent of gender.
a. Compute the test statistic. (5%)
b. Using the p-value approach at 90% confidence, test to see if the field of study is independent of gender. (5%)
c. Using the critical method approach at 90% confidence, test for the independence of major and gender. (5%)
登入後即可作答並保存紀錄。
這題考驗獨立性檢定 (Chi-square Test for Independence)。
核心觀念:
- 獨立性檢定 (Chi-square Test for Independence):用於檢定兩個類別變數之間是否獨立。
- 觀察次數 (Observed Frequencies, ):實際調查數據。
- 期望次數 (Expected Frequencies, ):假設兩個變數獨立時,根據邊際機率計算出的理論次數。
- 卡方統計量 (Chi-square Statistic, ):衡量觀察次數與期望次數之間的差異。
- P-value 方法與臨界值方法:兩種判斷統計顯著性的方法。
解題步驟:
題目給定一個列聯表 (Contingency Table),我們要檢定「研究領域」(Field of study) 與「性別」(Gender) 是否獨立。
首先,我們需要計算期望次數 (Expected Frequencies, )。
期望次數的計算公式為:
給定的觀察次數表:
| Field of study | Male (j=1) | Female (j=2) | TOTAL (Row Sum) |
|---|---|---|---|
| Business (i=1) | 60 | 20 | 80 |
| Engineering (i=2) | 160 | 40 | 200 |
| TOTAL (Col Sum) | 220 | 60 | 280 |
總計 (Grand Total) = 280。
計算各格子對應的期望次數:
- (Business, Male):
- (Business, Female):
- (Engineering, Male):
- (Engineering, Female):
驗證: (Business Total)
(Engineering Total)
(Male Total)
(Female Total)
計算正確。
虛無假設 : 研究領域與性別是獨立的。
對立假設 : 研究領域與性別不是獨立的。
顯著水準 (因為題目要求 90% 的信心水準)。
(a) 計算檢定統計量。 (5%)
第 7 題15 分
Information regarding random samples of annual salaries (in thousands of dollars) of doctors in three different specialties is shown below. Test to see if there exist significant differences in annual salaries among the three specialties.
| Specialty | Sample size | Average salary | Sample variance |
|---|---|---|---|
| Pediatrics | 12 | 120 | 16 |
| Radiology | 10 | 186 | 18 |
| Pathology | 11 | 240 | 20 |
a. Compute the overall mean . (5%)
b. State the null and alternative hypotheses to be tested. (5%)
c. The null hypothesis is to be tested at 95% confidence. Determine the critical value for this test. What do you conclude? (5%)
登入後即可作答並保存紀錄。
這題考驗單因子變異數分析 (One-Way ANOVA),用於比較三個或以上獨立樣本的平均數。
核心觀念:
- 單因子變異數分析 (One-Way ANOVA):用於檢定三個或以上獨立群體平均數是否相等。
- 虛無假設 ():所有群體平均數均相等。
- 對立假設 ():至少有一個群體平均數不同。
- 整體平均數 (Overall Mean, ):所有樣本數據的總平均。
- F 檢定統計量 (F-test statistic):用於 ANOVA 的檢定統計量。
- 臨界值 (Critical Value):決定拒絕域的門檻值。
解題步驟:
題目給定三個不同專科的醫生年薪數據,要求檢定他們的平均年薪是否有顯著差異。
專科 (群體) 數量 。
樣本資訊:
- 兒科 (Pediatrics, 群體 1): , ,
- 放射科 (Radiology, 群體 2): , ,
- 病理科 (Pathology, 群體 3): , ,
總樣本數 。
(a) 計算整體平均數 。 (5%)
整體平均數是所有樣本數據的加權平均數,權重為各樣本的大小。
【答案】整體平均數 (千美元)。
(b) 陳述待檢定的虛無假設與對立假設。 (5%)
虛無假設 ():所有群體的平均數相等。
(即,兒科、放射科、病理科醫生的平均年薪沒有顯著差異。)
對立假設 ():至少有一個群體的平均數不同。
: 至少有一個 (對某 )
(即,至少有一個專科醫生的平均年薪與其他專科不同。)
【答案】
: 至少有一個
(c) 虛無假設以 95% 的信心水準進行檢定。確定此檢定的臨界值。你的結論是什麼? (5%)
ANOVA 的檢定統計量是 F 統計量,其分配為 F 分配。
F 統計量的計算涉及組間變異數 (Between-group variance) 和組內變異數 (Within-group
第 8 題20 分
A computer manufacturer has developed a regression model relating Sales ( in 1000), and Type of computer produced (Type = 0 if desktop, Type = 1 if laptop). Part of the regression results are shown below.
ANOVA
| df | SS | MS | |
|---|---|---|---|
| Regression | 4 | 27641631.121 | 6910407.780 |
| Residual | 35 | 42277876.624 | 1207939.332 |
Coefficients
| Standard Error | t Stat | ||
|---|---|---|---|
| Intercept | 2268.233 | 1237.880 | |
| Price | -0.803 | 0.316 | |
| Competitor's Price | 0.859 | 0.281 | |
| Advertising | 0.216 | 0.079 | |
| Type | 567.806 | 373.400 |
a. What has been the sample size? (4%)
b. Determine the multiple coefficient of determination. (4%)
c. Determine the p-values for the four variables. (4%)
d. At the 5% level, which variables are significant? Explain how you arrived at your conclusion. (4%)
e. At , test to see if the regression model is significant. (4%)
登入後即可作答並保存紀錄。
這題考驗複迴歸分析 (Multiple Regression Analysis) 的基本概念與應用,包含樣本數、判定係數、顯著性檢定等。
核心觀念:
- 複迴歸模型 (Multiple Regression Model):一個因變數與多個自變數之間的線性關係模型。
- ANOVA 表:用於評估迴歸模型的整體適配度,包含自由度 (df)、平方和 (SS) 和均方 (MS)。
- 判定係數 ():衡量自變數解釋因變數變異的比例。
- t 檢定 (t-test):用於檢定個別迴歸係數是否顯著不為零。
- F 檢定 (F-test):用於檢定整個迴歸模型是否顯著。
解題步驟:
模型:Sales () =
其中 的單位是 $10,000 美元。
給定的 ANOVA 表:
- Regression df = 4
- Residual df = 35
- Regression SS = 27641631.121
- Residual SS = 42277876.624
- Regression MS = 6910407.780
- Residual MS = 1207939.332
給定的迴歸係數估計值 () 和標準誤 (Standard Error, SE):
- Intercept: (值未直接給出,但 SE = 2268.233)
- Price: , SE = 0.316
- Competitor's Price: , SE = 0.281
- Advertising: , SE = 0.079
- Type: , SE = 373.400
(a) 樣本數是多少? (4%)
在 ANOVA 表中:
- Regression df (迴歸自由度) = 自變數的數量 ()。
- Residual df (殘差自由度) = 樣本數 () - 自變數數量 () - 1 (截距項)。
即,Residual df = 。
根據題目,有四個自變數 (Price, Competitor's Price, Advertising, Type),所以 。
從 ANOVA 表中,Residual df = 35。
因此,
【答案】樣本數 。
(b) 決定多元判定係數。 (4%)
多元判定係數 () 表示迴歸模型解釋了因變數總變異的比例。
其中 SSR 是迴歸平方和 (Regression Sum of Squares),SST 是總平方和 (Total Sum of Squares)。
SST = SSR + SSE (SSE 是殘差平方和,即 Residual SS)。
從 ANOVA 表中:
SSR (Regression SS) = 27641631.121
SSE (Residual SS) = 42277876.624
SST = SSR + SSE = 27641631.121 + 42277876.624 = 69919507.745
【答案】多元判定係數 。
(c) 決定四個變數的 p-values。 (4%)
對於個別迴歸係數的顯著性檢定,我們使用 t 檢定。
t 統計量計算公式為:。
p-value 是在虛無假設 () 為真時,觀察到 的機率。
自由度為 Residual df = 35。
- Price:
, SE = 0.316
p-value = $P(|T_{35}| \ge 2.541)