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?
登入後即可作答並保存紀錄。
這題考驗對發生率的理解以及如何將其應用於機率計算。
a. 核心概念是將年發生率視為在一年內發生事件的機率,並利用指數分佈或近似方法計算未來幾年的發生機率。
我們假設年發生率 是固定的,並且事件的發生彼此獨立。對於一個 55 歲的男性,我們需要知道他未來 5 年發生大腸癌的機率。根據 Table 1,55-59 歲男性的年發生率(平均每年每十萬人)為 60.3。我們將此轉換為每人每年的發生率:
假設發生次數服從 Poisson 分佈,則在 年內發生事件的機率為 。
在這裡, 年。
因此,一個 55 歲的男性在未來 5 年內發生大腸癌的機率為:
另一種近似方法是直接將年發生率乘以年數,如果年發生率很小,這個近似是相當準確的。
機率
兩種方法結果非常接近。
【答案】約為 0.003010
b. 這題要求計算一個群體在一段時間內預期會發生的事件數量。
我們有 1000 位 50 歲、從未罹患癌症的男性。我們需要預期他們在 15 年內發生大腸癌的數量。
首先,我們需要確定 50 歲男性的年發生率。根據 Table 1,50-54 歲年齡層的大腸癌發生率為 35.7 / 100,000。
這個發生率是針對 50-54 歲的年齡層。題目要求的是 50 歲男性在 15 年後的預期。
第 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?
登入後即可作答並保存紀錄。
這題主要考驗對二項分佈的應用,以及如何利用期望值來檢定某種現象(在此為群聚)。
首先,我們需要從題目中提取關鍵資訊:
總共有 98 位居民,其中 46 位生病。
房間的配置:
- 13 間房間,每間 2 位住戶。
- 4 間房間,每間 3 位住戶。
- 15 間房間,每間 4 位住戶。
a. 核心概念是將二項分佈應用於房間內的生病人數。
我們需要計算在房間人數為 2 的情況下,生病人數的機率分佈。
首先,我們要估計單一個體感染的機率 。
總共有 98 位居民,46 位生病。所以,生病的比例是 。
這個 是整個護理之家的平均感染機率。我們假設這個機率適用於房間內的任何兩個人。
對於有 2 位住戶的房間,設 為房間內生病的人數。 服從二項分佈 。
我們需要計算 , , 。
驗證:。
【答案】
b. 核心概念是計算一個隨機變數的期望值。
我們需要計算整個護理之家(所有房間)中,有 2 個或更多住戶生病的房間數量的期望值。
首先,我們需要計算不同房間大小下,有 2 個或更多住戶生病的機率。
我們繼續使用 作為感染機率。
對於有 2 位住戶的房間 ():
(由 a 部分計算得到)
對於有 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 到 。
計算積分:
所以,
第 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) 以及中央極限定理。
我們知道母體分數 服從常態分佈 。
當我們抽取一個樣本大小為 的隨機樣本時,樣本均值 的分佈為:
所以,樣本均值 服從 。
我們需要計算 。
為了計算這個機率,我們將 標準化為標準常態分佈 。
對於 :
對於 :
第 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」。
第 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)。
這是單尾檢定 。
查閱標準常態分佈表,對於 的單尾檢定,臨界值 。
由於我們的檢定統計量 遠大於臨界值 ,我們拒絕虛無假設 。
結論:有足夠的證據表明,男性比女性更願意花錢購買豪華車。
第 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) 和檢定能力的理解。
已知:
母體標準差 。
樣本大小 。
顯著水準 。
虛無假設 。
對立假設 (雙尾檢定)。
a. 核心概念是計算在對立假設為真時,未能拒絕錯誤的虛無假設的機率。這就是第二類錯誤的機率,記為 。
題目問的是「NOT rejecting for equal to 26」。這表示我們假設真實的母體平均值是 (這是對立假設為真的一種情況),但我們卻未能拒絕 。
首先,我們需要確定拒絕 的區域 (Rejection Region)。
由於是雙尾檢定,我們需要找到臨界值。
樣本均值 的分佈為 ,其中 是 下的母體均值。
樣本均值的標準誤 。
在 的顯著水準下,雙尾檢定的臨界值是基於標準常態分佈 。
。
拒絕域為 。
這意味著 或 。
所以,拒絕域為 或 。