111 年 國立臺北大學統計學系碩士班《統計學》
第 1 題
- Table 1 shows the annual incidence rates for colon cancer, lung cancer, and stomach cancer in males ages 50 years and older from the Connecticut Tumor Registry.
Table 1: Average annual incidence per 100,000 males for colon, lung, and stomach cancer from the Connecticut Tumor Registry 1963-1965
| Type of cancer | Ages 50-54 | Ages 55-59 | Ages 60-64 |
|---|---|---|---|
| Colon | 35.7 | 60.3 | 98.9 |
| Lung | 76.1 | 137.5 | 231.7 |
| Stomach | 20.8 | 39.1 | 46.0 |
a. (7%) What is the probability that a 55-year-old, disease-free male will develop colon cancer over the next 5 years?
b. (8%) Suppose there is a cohort of 1000 50-year-old men who have never had cancer. How many colon cancers would be expected to develop in this cohort over a 15-year period?
登入後即可作答並保存紀錄。
第 1 題詳解
核心觀念
本題考查流行病學與生物統計中的「發生率(Incidence Rate)」應用。發生率是指在特定期間內,群體中出現新病例的頻率。在本題中,表中所列為「每 10 萬人的平均年發生率」。處理此類隨時間累積的風險,常用的模型有兩種:
- 線性近似法:假設在短時間或低風險情形下,累積風險 年發生率 年數。
- 指數衰減模型(存活分析基礎):假設發生率為定值,累積存活機率服從指數分佈,未發病機率為 ,故發病機率為 ,其中 為年發生率。
(a) 55 歲男性未來 5 年發展為大腸癌之機率
解題方法:
55 歲男性屬於 55-59 歲之年齡區間。由表 1 可知,該年齡組大腸癌之年發生率為每 10 萬人 60.3 例。
設年發生率 。
-
若採用線性近似法,未來 5 年之累積發生機率為:
-
若採用指數模型,未來 5 年之累積發生機率為:
兩種計算方式在極低發生率下差異甚微,通常以線性近似法作為初步評估,若需嚴謹統計模型則採指數法。
【答案】約 0.003010 至 0.003015
(b) 1000 位 50 歲男性 15 年內預期發生大腸癌之病例數
解題方法:
追蹤期間為 50 歲至 65 歲,跨越三個 5 年區間,每個區間的年發生率不同,必須分段計算累積風險。
-
各年齡區間之總風險:
- 50-54 歲(5 年):
- 55-59 歲(5 年):
- 60-64 歲(5 年):
-
總累積風險(線性加總):
第 2 題
- An outbreak of acute gastroenteritis occurred at a nursing home in Baltimore, Maryland, in December 1980. A total of 46 out of 98 residents of the nursing home became ill. People living in the nursing home shared rooms: 13 rooms contained 2 occupants, 4 rooms contained 3 occupants, and 15 rooms contained 4 occupants. One question that arises is whether or not a geographical clustering of disease occurred for persons living in the same room. A summary of the number of affected people and the total number of people in a room is given in Table 2.
Table 2: Number of affected people and total number of people in a room for an outbreak of acute gastroenteritis in a nursing home in Baltimore, Maryland
| People in room | Total number of rooms | Number of rooms with | 0 affected people | 1 affected person | 2 affected people | 3 affected people | 4 affected people |
|---|---|---|---|---|---|---|---|
| 2 | 13 | 5 | 4 | 4 | 0 | 0 | |
| 3 | 4 | 1 | 2 | 0 | 1 | 0 | |
| 4 | 15 | 2 | 4 | 3 | 5 | 1 |
a. (7%) If the binomial distribution holds, what is the probability distribution of the number of affected people in rooms with 2 occupants? That is, what is the probability of finding zero affected people? One affected person? Two affected people?
b. (10%) One useful summary measure of geographical clustering is the number of rooms with 2 or more affected occupants. If the binomial distribution holds, what is the expected number of rooms with 2 or more affected occupants over the entire nursing home?
c. (3%) Compare the observed number of rooms with 2 or more affected occupants with the expected number of rooms. Does this comparison give any evidence that clustering of disease occurs within rooms?
登入後即可作答並保存紀錄。
【答案】
a. 設居民感染機率為 ,2 人房生病人數 :
b. 全院有 2 名或以上生病住戶的房間總期望數約為 14.28 間。
c. 實際觀察到有 2 名或以上生病住戶的房間數為 14 間。觀察值(14)與二項分佈獨立假設下的期望值(14.28)高度吻合,並無統計證據顯示同房住戶間存在疾病群聚現象。
詳解
本題考查二項分佈(Binomial Distribution)在流行病學群聚現象分析上的應用與期望值檢驗。
由題意可得護理之家背景數據:
- 全院居民總人數 人,發病人數 46 人。
- 全院平均感染機率估計為:
未感染機率為 。
- 房間配置:2 人房 13 間、3 人房 4 間、4 人房 15 間,共 32 間。
a. 2 人房中受感染人數之機率分佈
設 為 2 人房中的生病人數。在二項分佈獨立假設下,。
各生病人數之機率計算如下:
- 0 人發病:
- 1 人發病:
- 2 人發病:
(驗算機率總和:)
b. 全院有 2 名或以上住戶發病的房間期望數
分別針對 2 人房、3 人房、4 人房計算「發病人數 」之機率與期望間數:
- 2 人房(共 13 間):
期望間數為 間。
- 3 人房(共 4 間):設生病人數為 。
第 3 題
- Given , a fixed positive constant, define the following function:
a. (10%) If the probability density function of the random variable X is f(x), find for all possible values of t.
b. (5%) For all possible values of t, find .
登入後即可作答並保存紀錄。
這題考驗對指數分佈機率密度函數的理解,以及如何計算累積分佈函數和絕對值的機率。
a. 核心概念是計算累積分佈函數 (CDF)。
給定的機率密度函數 (PDF) 是 for , and for 。這是一個指數分佈。
累積分佈函數 是 PDF 對 從 積到 的積分。
我們需要分情況討論 的可能值:
情況 1:
如果 小於 0,那麼 意味著 必須是負數。然而,PDF 在 時為 0,所以 。
情況 2:
如果 大於或等於 0,我們需要積分從 到 。由於 PDF 在 時為 0,積分範圍實際上是從 0 到 。
計算積分:
所以,
綜合以上兩種情況,累積分佈函數 (CDF) 為:
【答案】
第 1 題
- The students' statistics scores of a college of business are normally distributed with a mean 70 points and a standard deviation 9 points.
a. (5%) If 9 students are taken as a simple random sample, what is the probability that the mean score will be between 67 and 71.5 points?
b. (5%) How many students must be selected so that the margin of error for the 95% confidence interval of the mean score is within 5 points?
登入後即可作答並保存紀錄。
這題考驗對常態分佈及其樣本均值分佈的理解,以及如何計算信賴區間的邊際誤差。
a. 核心概念是樣本均值的標準誤 (standard error of the mean, SEM) 以及中央極限定理。
我們知道母體分數 服從常態分佈 。
當我們抽取一個樣本大小為 的隨機樣本時,樣本均值 的分佈為:
所以,樣本均值 服從 。
我們需要計算 。
為了計算這個機率,我們將 標準化為標準常態分佈 。
對於 :
對於 :
所以,我們需要計算 。
查閱標準常態分佈表 (Z-table):
因此,
【答案】約為 0.5328。
第 2 題
- Data were collected on 39 seventh-grade students in a Midwest school to determine what factors are related to their academic performance score (AP score). The explanatory variables are IQ (score on an IQ test), SC (overall score on the Piers-Harris Children's Self-Concept Scale), and SEX (1 for male and 0 for female). A multiple regression is conducted and the results are as follows:
ANOVA table
| Regression Results |
|---|---|---|---|---|
| Variable | Estimate | Standard error |
| Intercept | 0.56551 | 1.82882 |
| IQ | 0.04845 | 0.01658 |
| SC | 0.03696 | 0.01741 |
| SEX | -1.08573 | 0.47978 |
| Variable | df | SS |
|---|---|---|
| Regression | 83.81322 | |
| Error | ||
| Total | 125.24930 |
a. (5%) For a male student with IQ 100 and SC score 50 and his AP score is 4. What is the residual?
b. (5%) Conduct a test to determine if IQ score is an important predictor for AP score.
c. (5%) With confidence coefficient .95, how does AP score change for one unit increases in IQ score while holding SC score and SEX constant?
d. (5%) What is the test statistics (numerical value) for testing if NONE of the predictors are significant?
登入後即可作答並保存紀錄。
這題考驗對多元迴歸分析結果的解讀,包含殘差計算、迴歸係數檢定、信賴區間以及整體迴歸模型的顯著性檢定。
首先,我們需要從 ANOVA 表和迴歸結果表中提取資訊。
樣本大小 。
總平方和 。
迴歸平方和 。
誤差平方和 。
誤差自由度 。
迴歸自由度 。
總自由度 。
均方誤差 。
迴歸均方 。
迴歸方程式為:
a. 核心概念是殘差 (residual) 的定義。
殘差 是實際觀測值 與預測值 之間的差異:。
題目給定:
男性學生 (SEX=1),IQ=100,SC=50,實際 AP score (Y) = 4。
首先,計算預測的 AP score ():
然後,計算殘差:
【答案】殘差為 -2.17278。
b. 核心概念是檢定單一迴歸係數的顯著性。
我們要檢定 IQ score 是否為 AP score 的重要預測因子。這相當於檢定 IQ 的迴歸係數 是否顯著不為零。
虛無假設
對立假設
我們可以使用 t 檢定。檢定統計量為:
從表中我們得到:
要判斷是否顯著,我們需要比較這個 t 值與臨界值,或者計算 p-value。
顯著水準 未指定,但題目在開頭提到「Use significant level .05 unless otherwise specified」。所以我們使用 。
自由度為誤差自由度 。
對於雙尾檢定,臨界值 。
查閱 t 分配表,對於 df=35, (雙尾),臨界值約為 2.030。
因為 ,我們拒絕虛無假設 。
結論:IQ score 對 AP score 是一個顯著的預測因子。
【答案】
虛無假設 。
對立假設 。
檢定統計量 。
在 的顯著水準下,臨界值為 。
由於 ,我們拒絕 。IQ score 是 AP score 的一個重要預測因子。
第 3 題
- Are men more willing to spend money on luxury cars than women? A survey took 100 men and 100 women as random sample, it was found that 30 men and 10 women were willing to spend money for luxury cars.
a. (5%) Conduct a test to determine if men are more willing to spend money on luxury cars than women.
b. (5%) Construct a 95% confidence interval for difference in population proportions between men and women who are willing to spend money on luxury cars.
登入後即可作答並保存紀錄。
這題考驗對比例檢定 (hypothesis testing for proportions) 和比例信賴區間 (confidence interval for proportions) 的應用。
我們有兩個獨立樣本:男性和女性。
男性樣本:,成功次數 (願意花錢) 。樣本比例 。
女性樣本:,成功次數 。樣本比例 。
a. 核心概念是進行雙樣本比例的檢定,以判斷男性比例是否顯著大於女性比例。
虛無假設 (男性願意花錢的比例等於女性)
對立假設 (男性願意花錢的比例大於女性)
這是單尾檢定。
為了進行檢定,我們通常合併兩個樣本的比例來估計共同比例 ,尤其是在 為 時。
合併比例 。
合併比例的標準誤為:
檢定統計量 z 值為:
顯著水準 (題目未指定,但通常預設為 0.05)。
這是單尾檢定 。
查閱標準常態分佈表,對於 的單尾檢定,臨界值 。
由於我們的檢定統計量 遠大於臨界值 ,我們拒絕虛無假設 。
結論:有足夠的證據表明,男性比女性更願意花錢購買豪華車。
【答案】
虛無假設
對立假設
檢定統計量 。
在 的顯著水準下,臨界值為 。
由於 ,我們拒絕 。有足夠證據支持男性比女性更願意花錢購買豪華車。
b. 核心概念是構造兩個獨立樣本比例差的 95% 信賴區間。
信賴區間的公式為:
這裡的 是兩個樣本比例差的標準誤,我們不合併比例,而是使用各自的比例來計算標準誤。
第 4 題
- Young Adult magazine states the hypotheses about the mean age of its subscribers.
a. (5%) The population standard deviation is assumed known 6 years and the sample size is 100. With a significant level .05, what is the probability of NOT rejecting for equal to 26?
b. (5%) What is the power at ?
登入後即可作答並保存紀錄。
核心觀念
本題評量雙尾母體平均數 檢定之臨界值推導、第二類錯誤機率(Type II Error Probability, )及檢定力(Power of the Test, )的計算。
- 決策法則與接受域(不拒絕域):
在顯著水準 下,雙尾檢定的拒絕域由臨界值 決定。未能拒絕(接受) 的樣本平均數範圍稱為不拒絕域(Non-rejection Region)。 - 第二類錯誤機率 :
當對立假說成立(即真實母體平均數 )時,檢定卻未能拒絕虛無假說 的機率: - 檢定力(Power):
當對立假說成立時,檢定能正確拒絕虛無假說 的機率,即為第二類錯誤機率的餘事件:
解題方法
第一步:建立檢定架構與找出「不拒絕 」的臨界界限
給定假說:
已知母體標準差 、樣本數 、顯著水準 。
樣本平均數 的抽樣分配標準誤(Standard Error)為:
對於雙尾檢定,顯著水準 對應之標準常態臨界值為 。
當虛無假說 成立時, 的「不拒絕 」區間為:
即當樣本平均數落在 之間時,我們不拒絕 :
第二步:(a) 計算當 時,未能拒絕 的機率()
當真實母體平均數為 時,樣本平均數的分配為 。
未能拒絕 的機率即為 落在不拒絕區間內的機率:
將區間界限標準化為標準常態變數 :
- 下界對應的 值:
- 上界對應的 值:
查標準常態累積分配表 :
- (極右尾機率趨近於 0)
- ;內插或精準值
因此: