114 年 國立成功大學統計學研究所《統計學》
第 A. Multiple Choice 題3 分
A. Multiple Choice (3.5%×20=70%)
- Decide which of the following statements is false
(a) There are no limited number of normal distributions
(b) The inflection points for any normal distribution are one standard deviation on either side of the mean
(c) The x-axis is a horizontal asymptote for all normal distributions
(d) The line of symmetry for all normal distributions is
登入後即可作答並保存紀錄。
這題在考驗對常態分配(Normal Distribution)基本性質的理解。
常態分配的性質:
- 無限多個常態分配:常態分配由平均數 和標準差 決定, 和 可以是任何實數(),因此有無限多個不同的常態分配。選項 (a) 正確。
- 反曲點(Inflection Points):常態分配的圖形在距離平均數 各一個標準差 的位置有反曲點。也就是說,反曲點位於 和 。
第 1 題
- Decide which of the following statements is false
(a) There are no limited number of normal distributions
(b) The inflection points for any normal distribution are one standard deviation on either side of the mean
(c) The x-axis is a horizontal asymptote for all normal distributions
(d) The line of symmetry for all normal distributions is
登入後即可作答並保存紀錄。
這題在考驗對常態分配(Normal Distribution)基本性質的理解。
常態分配的性質:
- 無限多個常態分配:常態分配由平均數 和標準差 決定, 和 可以是任何實數(),因此有無限多個不同的常態分配。選項 (a) 正確。
- 反曲點(Inflection Points):常態分配的圖形在距離平均數 各一個標準差 的位置有反曲點。也就是說,反曲點位於 和 。
第 2 題
- Assume that the population standard deviation is unknown and the population distribution is approximately normal. How will decreasing the level of confidence without changing the sample size affect the width of a confidence interval for a population mean? Decide which of the following statements is false
(a) The margin of error will increase because the critical value will decrease. The increased margin of error will cause the confidence interval to be wider.
(b) The margin of error will decrease because the critical value will decrease. The decreased margin of error will cause the confidence interval to be narrower.
(c) The margin of error will decrease because the critical value will increase. The decreased margin of error will cause the confidence interval to be narrower.
(d) The margin of error will increase because the critical value will increase. The increased margin of error will cause the confidence interval to be wider of error will cause the confidence interval to be wider.
登入後即可作答並保存紀錄。
核心觀念
母體標準差未知,且母體近似常態,因此母體平均數 的信賴區間使用 分配:
其中:
- :樣本平均數
- :樣本標準差
- :樣本數
- :自由度為 的臨界值
- :誤差範圍(margin of error)
信賴區間寬度為:
在樣本數 不變時,若降低信賴水準,例如由 降至 ,則 由 增加至 ,臨界值會下降。因此:
解題方法
本題只需判斷信賴水準與臨界值、誤差範圍及區間寬度之間的關係。
當樣本數固定時,
其中 、 均不因信賴水準改變而改變,所以區間寬度完全取決於臨界值 。
降低信賴水準會使臨界值下降,故信賴區間變窄。選項中只有 (b) 完整正確描述此結果。
選項分析
(a) 錯誤。
選項指出臨界值下降,但誤差範圍會增加。實際上:
第 3 題
- A parent interest group is looking at whether birth order affects scores on the ACT test. It was suggested that, on average, first-born children earn lower ACT scores than second-born children. Let first-born children be Population 1 and let second-born children be Population 2. Is there sufficient evidence at the 10% significance level to say that the mean ACT score of first-born children is lower than that of second-born children? The null and alternative hypotheses for the test are v.s. . Fill in the blank: (a) > (b) ≠ (c) < (d) =
登入後即可作答並保存紀錄。
這題在考驗如何根據敘述設定統計檢定的虛無假設 () 與對立假設 ()。
題目敘述:
- 研究目的:探討出生順序是否影響 ACT 成績。
- 假設:平均而言,第一胎子女的 ACT 成績低於第二胎子女。
- 定義:第一胎子女為母體 1 (),第二胎子女為母體 2 ()。
- 檢定問題:是否有足夠證據顯示第一胎子女的平均 ACT 成績低於第二胎子女?
- 顯著水準:10%。
統計檢定的虛無假設 () 通常是「無差別」或「無關」的陳述,代表現狀或沒有效果。
對立假設 () 則是研究者希望證明或尋找證據支持的陳述。
根據題意,研究者希望證明的是「第一胎子女的平均 ACT 成績低於第二胎子女」。這就是對立假設。
因此,對立假設 () 應該是 。
虛無假設 () 則是與對立假設相對立,或者包含對立假設的邊界情況。在這裡,最直接的虛無假設是兩者平均數相等。
因此,虛無假設 () 應該是 。
題目已經給出了虛無假設和對立假設的設定: v.s. 。
然後要求填空:(a) > (b) ≠ (c) < (d) =。
這個填空題似乎是要求填入代表「虛無假設」或「對立假設」的符號。
從題目給出的 和 來看,虛無假設是 ,對立假設是 。
選項 (a) 是 >
選項 (b) 是 ≠
選項 (c) 是 <
選項 (d) 是 =
題目敘述「The null and alternative hypotheses for the test are v.s. . Fill in the blank: (a) > (b) ≠ (c) < (d) =」
這是一個奇怪的提問方式。它給了 和 ,然後問要填哪個符號。
通常,這種填空題是讓考生自己寫出 或 的符號。
如果題目是問「虛無假設與對立假設的關係」,那可能是在問 的符號是「=」,而 的符號是「<」。
如果題目是問「對立假設的符號是什麼?」,那答案就是 (c) <。
如果題目是問「虛無假設的符號是什麼?」,那答案就是 (d) =。
但題目描述「Fill in the blank:」後面列出了四個符號選項。
並且,它已經給出了 和 的完整敘述。
這表示這個填空題很可能是在考驗:
- 虛無假設的符號。
- 對立假設的符號。
第 4 題
- Refer to 4; after surveying a random sample of 100 first-born children, the parents' group found that they had a mean score of 24.3 on the ACT. A survey of 200 second-born children resulted in a mean ACT score of 24.7. Assume that the population variance for first-born children is 4 and the population variance for second-born children is 10. What is your decision for the hypothesis testing? (a) 0.01 < p-value < 0.025, reject (b) 0.025 < p-value < 0.05, reject (c) 0.05 < p-value < 0.1, reject (d) 0.1 < p-value < 0.2, do not reject
登入後即可作答並保存紀錄。
這題是接著上一題的假設檢定,需要根據樣本數據計算 p-value 並做出決策。
步驟 1:確認檢定參數
- 母體 1 (第一胎):樣本大小 ,樣本平均數 ,母體變異數 (題目給的是變異數,不是標準差)。
- 母體 2 (第二胎):樣本大小 ,樣本平均數 ,母體變異數 。
- 顯著水準 (來自上一題)。
- 檢定類型:單尾檢定 (對立假設 )。
步驟 2:選擇適當的檢定統計量
由於母體變異數已知 ( 和 已知),我們可以使用 Z 檢定來檢定兩個獨立母體平均數的差異。
Z 檢定統計量的公式為:
在虛無假設 下,。
步驟 3:計算檢定統計量
,
,
,
步驟 4:計算 p-value
p-value 是在虛無假設為真的情況下,得到觀察到的檢定統計量或更極端值的機率。
第 5 題
- A study was done on a new drug designed to lower blood pressure. There are individuals involved in the study who have high blood pressure but are not given the drug. Select the term that best describes the above scenario. (a) single-blind experiment (b) placebo effect (c) control group (d) treatment group
登入後即可作答並保存紀錄。
核心觀念
本題測驗實驗設計(Experimental Design)的基本要素與分組名詞:
- 處理組(Treatment Group / Experimental Group):在實驗中接受特定處理(例如施予新開發藥物、特定教學法等介入措施)的受試對象群體。
- 對照組(Control Group):在實驗中不接受該特定處理(例如給予安慰劑、標準現有治療,或不給藥)的受試對象群體,其目的在於提供基線(Baseline),以排除時間趨勢、心理作用或其他外生干擾變數,確保處理效果能被有效歸因。
- 盲性實驗(Blinding Experiment):控制認知偏誤的設計方法,包含單盲(受試者不知受試條件)與雙盲(受試者與研究評估人員皆不知受試條件)。
- 安慰劑效應(Placebo Effect):受試者因「相信自己正在接受治療」而產生的心理或生理客觀改善反應。
解題方法
題目描述的情境為:
「有一項研究正在測試一種旨在降低血壓的新藥。該研究中有部分患有高血壓的個體沒有被給予該藥物(are not given the drug)。」
本題的核心在於辨識這群「參與實驗、具備目標症狀,但未接受實驗藥物處置」的受試者所代表的統計學名詞。由於該組個體未施加研究者主要探討的介入因子(新藥),其角色是作為對比基準,以衡量新藥的真實療效,因此該群體被稱為對照組(control group)。
選項分析
第 6 題
- A research divided subjects into two groups according to gender and then selected members from each group. What sampling method was the researcher using? (a) Cluster (b) Stratified (c) Random (d) Systematic
登入後即可作答並保存紀錄。
這題考驗對抽樣方法的理解。
題目描述的抽樣過程:
- 研究者將所有受試者分成兩組,依據「性別」(Gender)。這表示研究者將母體(所有受試者)按照一個特徵(性別)進行分層。
- 然後,從「每個組別」中選取成員。
這種先將母體分成若干個具有某種共同特徵的子群體(稱為「層」,stratum),然後從每個子群體中獨立抽取樣本的方法,稱為「分層抽樣」(Stratified Sampling)。
各抽樣方法的定義:
- 叢集抽樣(Cluster Sampling):將母體分成若干個叢集(通常是地理區域或群體),然後隨機抽取若干個叢集,並對被選中叢集中的所有成員進行調查,或從中再進
第 7 題
- In linear regression, a good estimator of the standard deviation of the error term is called the (a) standard deviation (b) variance (c) standard error of the estimate (d) sample standard deviation
登入後即可作答並保存紀錄。
核心觀念
線性迴歸模型通常寫成
其中誤差項 的標準差記為 ,代表觀測值偏離迴歸線的典型程度。
由於 通常未知,必須利用殘差估計。簡單線性迴歸中,誤差標準差的估計量為
其中:
- 為殘差平方和;
- 為樣本數;
- 是自由度,因為估計了截距 與斜率 兩個參數。
此 稱為 standard error of the estimate,中文通常譯為「估計標準誤」或「估計值的標準誤」,是誤差項標準差 的良好估計量。
解題方法
題目問的是:「在線性迴歸中,用來良好估計誤差項標準差的量稱為什麼?」
判斷關鍵在於:
- 估計對象是誤差項的標準差 ;
- 線性迴歸使用殘差計算;
- 其估計量為殘差標準差 ;
- 此量的名稱是 standard error of the estimate。
因此正確選項為(c)。
選項分析
(a)standard deviation
「標準差」是描述資料或隨機變數離散程度的一般統計量。誤差項確實有標準差 ,但題目詢問的是「估計誤差項標準差的估計量名稱」,在線性迴歸中該估計量有特定名稱,因此(a)不夠精確,錯誤。
(b)variance
「變異數」是標準差的平方:
第 8 題
- If the two regression lines are given by and . What is the correlation coefficient between variables X and Y? (a) (b) (c) (d)
登入後即可作答並保存紀錄。
這題考驗對簡單線性迴歸和相關係數關係的理解。
假設我們有兩個線性迴歸模型:
- 對 的迴歸線:
- 對 的迴歸線:
在簡單線性迴歸中, 對 的迴歸線斜率 與變數 和 的相關係數 以及它們的標準差 有關:
同理,對於 對 的迴歸線,其斜率 與變數 和 的相關係數 以及它們的標準差 有關:
我們要求的是變數 和 之間的相關係數 。
將上述兩個公式相乘:
第 9 題
- When the level of significance of a hypothesis test is increased, the probability of committing a Type I error (a) is decreased (b) remains the same (c) is increased (d) cannot be determined
登入後即可作答並保存紀錄。
這題考驗對第一類錯誤(Type I Error)與顯著水準(Level of Significance)之間關係的理解。
第一類錯誤(Type I Error):當虛無假設 () 實際上為真時,卻拒絕了它。
顯著水準 ():在假設檢定中,我們預設的犯第一類錯誤的最大機率。
在假設檢定中,顯著水準 的定義就是犯第一類錯誤的機率。
第 10 題
- In a large city, 50% of the people choose a movie, 30% choose a play, and 20% choose shopping as a leisure activity. If a sample of 5 people is randomly selected, find the probability that 3 are planning to go to a movie, 1 to a play, and 1 to the shopping mall. (a) 0.04 (b) 0.15 (c) 0.01 (d) 0.30
登入後即可作答並保存紀錄。
這題考驗的是多項分佈(Multinomial Distribution)的應用。
問題描述:
- 母體分成三類活動:電影 (M)、戲劇 (P)、購物 (S)。
- 各類活動的機率:, , 。
- 總機率:。
- 抽取一個樣本,大小 。
- 要求計算樣本中包含:3 人選擇電影 (M),1 人選擇戲劇 (P),1 人選擇購物 (S)。
多項分佈的機率公式為:
其中:
- 是總試驗次數(樣本大小)。
- 是類別的數量。
- 是第 i 類別的出現次數,且 。
- 是第 i 類別在單次試驗中出現的機率,且 。
第 11 題
- A campaign team plans to conduct a poll to estimate the percentage of Americans who would vote for a presidential candidate in the USA. What sample size is needed to ensure the estimate is accurate within 5 percentage points at a 90% confidence level? (a) 1068 (b) 423 (c) 271 (d) None of the above
登入後即可作答並保存紀錄。
核心觀念
本題考查「母體比例的抽樣樣本數決定」。設民眾支持某候選人的母體比例為 ,樣本比例為 ,要求:
- 誤差不超過 個百分點:
- 信賴水準為
- 母體比例 未知
母體比例估計的樣本數公式為
其中 為標準常態分配的臨界值。
解題方法
1. 決定臨界值
信賴水準表示兩側總共留下 的尾端機率,因此:
查標準常態分配表:
2. 處理未知的母體比例
題目沒有提供先前的比例估計值,因此採用最保守的設定:
此時:
因為 在 時達到最大值,使用此值可確保樣本數足以達到指定精確度。
3. 代入公式
第 12 題
- What is true? (I) Random scatter in the residuals indicates a linear model (II) If two variables are very strongly associated, then the correlation between them will be near +1 or -1 (III) Changing the units of measurement changes the correlation coefficient (a) I only (b) II only (c) I and II only (d) II and III only.
登入後即可作答並保存紀錄。
這題考驗對迴歸診斷、相關係數性質的理解。
逐一分析三個敘述:
(I) Random scatter in the residuals indicates a linear model
- 敘述:殘差的隨機分佈(scatter)表明模型是線性的。
- 分析:在線性迴歸中,殘差應該是隨機分佈的,且沒有明顯的模式(例如曲線、扇形)。如果殘差呈現隨機分佈,這支持了線性模型的假設。然而,殘差的隨機分佈本身並不絕對保證模型是線性的,它只是支持線性模型的假設,並且表明殘差項滿足獨立性、同質性(變異數恆定)等假設。如果殘差呈現非隨機模式(如曲線),則表示線性模型不適合。所以,隨機散佈是線性模型的必要條件之一,也是一個重要跡象。這句話可以理解為:如果殘差是隨機的,那麼線性模型是可能的或被支持的。在實際應用中,這是判斷模型是否合適的重要診斷圖。因此,這個敘述通常被認為是正確的。
(II) If two variables are very strongly associated, then the correlation between them will be near +1 or -1
- 敘述:如果兩個變數關聯性很強,則它們之間的相關係數會接近 +1 或 -1。
- 分析:這是相關係數(Pearson correlation coefficient, )的定義和性質。相關係數的取值範圍是 [-1, 1]。
- 表示完全正線性相關。
- 表示完全負線性相關。
- 表示沒有線性相關。
- 越接近 1,表示線性相關性越強。
因此,如果兩個變數關聯性「非常強」,其相關係數 的絕對值 會非常接近 1,即接近 +1 或 -1。這個敘述是正確的。
第 13 題
- In a multiple regression analysis, if the model provides a poor fit, this indicates that: (a) the sum of squares for error will be large. (b) the standard error of estimate will be large. (c) the coefficient of determination will be close to zero. (d) All of these choices are true.
登入後即可作答並保存紀錄。
這題考驗對多元迴歸模型擬合度(Goodness of Fit)不良時,相關統計量的表現。
當一個迴歸模型擬合度「不良」(poor fit)時,表示模型無法很好地解釋應變數的變異。這會體現在幾個統計量上:
-
Sum of Squares for Error (SSE) 或 Sum of Squared Residuals:
SSE =
如果模型擬合度差,則殘差 的值會普遍較大,因此 SSE 的總和也會較大。 -
Standard Error of the Estimate ():
其中 是樣本數, 是模型參數數量。
如果 SSE 很大,而 相對固定或變化不大,則 也會比較大。 是誤差項標準差 的估計值,大的 表示預測誤差較大。
第 14 題
- ANOVA was used to test the outcomes of three drug treatments. Each drug was given to 4 individuals. The total sum of the squares is 244, and the mean squares between treatments was 50. What is the standard deviation for all 60 individuals sampled for this study? (a) 48 (b) 16 (c) 4 (d) None of the above
登入後即可作答並保存紀錄。
核心觀念
單因子變異數分析(ANOVA)將總平方和分解為:
其中:
- :總平方和
- :組間平方和
- :組內平方和(誤差平方和)
三種藥物、每種藥物 4 人,因此總樣本數為:
組間自由度為:
組內自由度為:
組內均方為:
而 ANOVA 中所求的整體樣本標準差,依本題選項設計,是取組內均方的平方根:
解題方法
已知總平方和:
已知組間均方:
因此組間平方和為:
由平方和分解公式:
接著計算組內均方:
所以標準差為:
第 15 題
- Dimension reduction methods have the goal of using the correlation structure among the predictor variables to accomplish which of the following: (I) To reduce the number of predictor components. (II) To help ensure that these components are dependent. (III) To provide a framework for interpretability of the results. (IV) To help ensure that these components are independent. (V) To increase the number of predictor components. Choose the correct answer from the options given below: (a) I, II, IV and V only (b) I, III and IV only (c) I, II, III and V only (d) II, III, IV and V only
登入後即可作答並保存紀錄。
這題考驗對降維(Dimension Reduction)技術(如主成分分析 PCA, 因子分析 Factor Analysis)目標的理解。
降維技術的核心目的是,利用原始變數之間的相關性(correlation structure),尋找一個新的、維度更低的變數集合(稱為成分或因子),這些新變數能夠盡可能多地保留原始變數所包含的資訊。
讓我們逐一分析每個目標:
(I) To reduce the number of predictor components.
- 解釋:這是降維最直接的目標。原始數據可能有很多變數(高維度),降維技術將這些變數轉換為較少數量的新變數(低維度),從而簡化模型。
- 正確性:正確。
(II) To help ensure that these components are dependent.
- 解釋:希望找到的新成分是相關的。
- 分析:大多數降維技術(如 PCA)的目標是找到一組**新的、不相關的(independent)**變數(主成分),這些變數是原始變數的線性組合,並且按其解釋變異量的多少排序。因子分析也尋求找到不相關的因子。因此,這個目標是錯誤的。
(III) To provide a framework for interpretability of the results.
- 解釋:通過減少變數數量,並將原始變數的資訊濃縮到少數幾個有意義的新成分中,可以更容易地理解和解釋模型的結果。
- 分析:這是降維的一個重要優勢。
第 16 題
- The data in the right scatterplot would have a correlation coefficient that is close to: (a) 0.9 (b) 0.5 (c) 0 (d) -0.5
🖼️【此處有附圖,請對照原卷】
登入後即可作答並保存紀錄。
核心觀念
相關係數 衡量兩個變數之間「線性關係」的方向與強度,取值介於 與 。點雲越接近向右上方的直線, 越接近 ;越接近向右下方的直線, 越接近 。若沒有明顯線性趨勢, 則接近 。
解題方法
散佈圖中,主要點群沿著向右上方的方向分布,表示整體是正相關。不過,左上方另有一群明顯偏離主要趨勢的點。這些點在 值很小時, 值卻偏高,會削弱整體的線性關係,使相關係數低於只看主要點群時的直覺。
因此,相關係數應是中度正相關,較接近 ,而非極強的正相關。
選項分析
第 17 題
- Let's build a regression model with mpg (miles per gallon) as the outcome and wt (weight) as the predictor for the mtcars dataset. Which value from the following output doesn't make sense?
lm(formula = mpg ~ wt, data = mtcars)
Residuals:
Min 1Q Median 3Q Max
-9.3923 -3.0923 -0.2974 3.2439 9.5077
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 37.2851 1.8776 19.858 <2e-16 ***
wt -5.3445 0.5591 -9.559 1.29 e-10 ***
Signif. codes: 0''0.001 '' 0.01 '' 0.05 '.' 0.1'' 1
Residual standard error: 3.046 on 30 degrees of freedom
Multiple R-squared: 3.598, Adjusted R-squared: 3.385
F-statistic: 91.38 on 1 and 30 DF, p-value: 1.294e-10
(a) The coefficient of wt
(b) The p-value of wt
(c) The Multiple R-squared
(d) The minimum value of residuals
🖼️【此處有附圖,請對照原卷】
登入後即可作答並保存紀錄。
這題考驗對迴歸輸出結果的理解,找出其中不合理的數值。
我們逐一檢查選項所對應的輸出值:
(a) The coefficient of wt
- 輸出顯示:
wt的 Estimate (係數) 是 -5.3445。 - 意義:這表示汽車重量 (wt) 每增加一個單位,其每加侖英里數 (mpg) 平均會減少 5.3445。這在實際意義上是合理的(較重的車通常較耗油)。
- 合理性:合理。
(b) The p-value of wt
- 輸出顯示:
wt的 Pr(>|t|) (p-value) 是 。 - 意義:這是一個非常小的 p-value,遠小於常用的顯著水準 (如 0.05 或 0.01)。這表示重量 (wt) 與油耗 (mpg) 之間存在非常顯著的線性關係。
- 合理性:合理。
(c) The Multiple R-squared
- 輸出顯示:Multiple R-squared: 3.598。
- 意義: (決定係數) 是模型解釋的應變數變異的比例,其值範圍應在 0 到 1 之間(或 0% 到 100%)。
- 問題: 的值為 3.598,這遠遠超過了 1 的最大值。
第 18 題
- Refer to 17; The sample size of the mtcars dataset dataset is (a) 30 (b) 31 (c) 32 (d) None of the above
登入後即可作答並保存紀錄。
這題緊接上一題 (問題 17),要求確定 mtcars 資料集的樣本大小。
在問題 17 的輸出中,我們可以看到:
Residual standard error: 3.046 on 30 degrees of freedomF-statistic: 91.38 on 1 and 30 DF
在簡單線性迴歸模型 () 中,殘差自由度 (Residual Degrees of Freedom, ) 的計算方式為:
其中:
第 19 題
- Consider two simple logistic regression models based on the logit link. The logit link is defined as where is the probability corresponding x. The predicted models are shown in the figure on the right. Which statement is true? (a) for model 2 is lower than model 1 (b) for model 2 is higher than model 1 (c) for both models are the same (d) None of the above
🖼️【此處有附圖,請對照原卷】
登入後即可作答並保存紀錄。
這題考驗對邏輯迴歸(Logistic Regression)中 logit 轉換和斜率參數 的理解,以及如何從圖形判斷。
問題背景:
- 模型形式:簡單邏輯迴歸,使用 logit 連結函數。
- 連結函數:。
- 是機率,表示在自變數 值下,應變數為 1 的機率。
- 是截距項, 是斜率項。
- 圖形顯示了兩個模型的預測曲線(S 形曲線)。
模型解讀:
- logit 函數: 是機率 的 Logit 轉換。它將機率 (0, 1) 映射到整個實數線 。
- 的意義:在 Logit 尺度上, 代表了自變數 每增加一個單位時,logit 值的平均變化量。
- 如果 ,logit 值隨 增加而增加。由於 logit 函數是單調遞增的,這意味著 隨 增加而增加。
- 如果 ,logit 值隨 增加而減小。這意味著 隨 增加而減小。
- 的絕對值 越大,表示 logit 值(以及機率 )對 的變化越敏感,S 形曲線在 Logit 尺度上越陡峭。
第 20 題
- Adding additional independent variables in a regression equation will (a) increase the value of the coefficient of multiple determination (b) improve the predictive power of the equation (c) reduce the predictive power of the equation (d) Additional independent variables may not be added to a regression equation
登入後即可作答並保存紀錄。
這題考驗對多元迴歸中加入自變數的影響。
當我們在迴歸模型中加入更多的自變數時,通常會發生以下情況:
-
決定係數 ():
加入一個新的自變數,即使它與應變數的關聯性很弱,也至少不會使 SSE 增加(通常會使 SSE 減少,因為新的變數可能解釋了部分原先屬於誤差的變異)。如果 SSE 減少,那麼 就會增加。因此, 總是會增加或至少保持不變(如果新變數完全無關)。所以,加入額外的自變數總是會增加 的值。
選項 (a) 說「increase the value of the coefficient of multiple determination」,這是正確的。 -
預測能力 (Predictive Power):
預測能力通常透過 或調整決定係數 (Adjusted ) 來衡量。
雖然 總是增加,但加入一個對模型貢獻不大的變數,可能會導致模型過度擬合(overfitting),尤其是在樣本數相對較少時。
調整決定係數 (Adjusted ) 會考慮到加入的變數數量,它在加入無關緊要的變數時,可能會下降。
然而,從「模型包含更多資訊」的角度來看,加入更相關的變數,理論上可以「改善」預測能力。
選項 (b) 說「improve the predictive power of the equation」。這句話比較籠統。如果加入的是有用的變數,預測能力會提高。如果加入的是無用的變數,預測能力可能不會顯著提升,甚至因為過度擬合而下降(在外部數據上)。
第 Problem 1 題7 分
Problems: (30%)
- Given a dataset {}, where the means, standard deviations, and correlation coefficient are , , , , . Determine the regression line of Y on X. (7%)
登入後即可作答並保存紀錄。
這題要求根據樣本統計量(平均數、標準差、相關係數)來求出簡單線性迴歸直線的方程式。
簡單線性迴歸直線的方程式為:
其中 是截距項, 是斜率項。
我們有以下已知資訊:
- 樣本平均數:,
- 樣本標準差:,
- 樣本相關係數:
步驟 1:計算斜率
斜率的計算公式為:
代入已知數值:
第 Problem 2 題8 分
- Consider the linear model for one-way ANOVA
, , .
Show that if a linear function of the treatment parameters is estimable, then . (8%)
登入後即可作答並保存紀錄。
核心觀念
在線性模型
中,若參數的線性函數 可估計,表示存在觀測值的線性組合 ,使其期望值等於該參數函數:
等價地, 可估計的充要條件是存在向量 ,使得
本題模型的參數向量可寫為
欲估計的線性函數為
因此其係數向量為
解題方法:利用可估計性的矩陣條件
令 表示觀測值 在線性估計量中的係數,則一般線性估計量可寫為
代入模型:
得到
整理各參數的係數:
若 可估計,則必須滿足:
- 的係數為 :
- 每一個 的係數為 :
將第二組等式對 加總:
由第一個條件,左側等於 ,因此
第 Problem 3 題5 分
- A researcher designed an experiment to investigate the effects of three different dietary plans (A, B, C) and two levels of exercise intensity (low and high) on weight loss. Assume that weight loss follows a normal distribution and exhibits homogeneity of variance. The experiment involved random assignment of samples to each combination (with equal sample sizes for each group, total sample size N = 60). The researcher conducted a Two-Way ANOVA, and part of the results is as follows:
| Source | Degree of Freedom | Sum of Square | Mean Square | F-Statistic |
|---|---|---|---|---|
| Dietary Plan | 200 | |||
| Exercise Intensity | 180 | |||
| Diet x Exercise | ||||
| Error | 540 | |||
| Total | 1420 |
The researcher further conducted a detailed analysis of the interaction effect and designed a linear contrast to test the interaction between dietary plans and exercise intensity:
which aims to test whether there is a significant linear trend difference between low-intensity and high-intensity levels for the dietary plans. Suppose that the contrast Sum of Squares is calculated as . The significance level is set at .
(a) Is the interaction between dietary plans and exercise intensity significant? (5%)
(b) Test the significance of the linear contrast L. (10%)
登入後即可作答並保存紀錄。
這題是關於二因子變異數分析(Two-Way ANOVA)的應用,包含檢定交互作用以及檢定線性對比。
已知資訊:
- 因子:Dietary Plan (3 levels: A, B, C),Exercise Intensity (2 levels: low, high)。
- 總樣本數 。
- 假設:常態分配,變異數同質。
- ANOVA 表部分數據:
- Total Sum of Square (SST) = 1420
- Mean Square for Dietary Plan () = 200
- Mean Square for Exercise Intensity () = 180
- Sum of Square for Error () = 540
- 線性對比 (Contrast):
- 對比的平方和 () = 35
- 顯著水準
首先,我們需要補齊 ANOVA 表。
-
因子數:Dietary Plan (A, B, C) 有 個水平;Exercise Intensity (low, high) 有 個水平。
-
每組樣本數:由於總樣本數 ,且有 個組合,每組樣本數為 。
-
Degree of Freedom (df):
- 驗證:。
-
Sum of Square (SS):
-
Mean Square (MS):
- (已給)
- (已給)
-
F-Statistic:
補齊的 ANOVA 表:
| Source | Degree of Freedom | Sum of Square | Mean Square | F-Statistic |
|---|---|---|---|---|
| Dietary Plan | 2 | 400 | 200 | 20 |
| Exercise Intensity | 1 | 180 | 180 | 18 |
| Diet x Exercise | 2 | 300 | 150 | 15 |
| Error | 54 | 540 | 10 | |
| Total | 59 | 1420 |
(a) Is the interaction between dietary plans and exercise intensity significant? (5%)
- 檢定假設:
- : 交互作用效應為零 ()。
- : 交互作用效應不為零 ()。