108 年 國立中正大學心理學系臨床心理學碩士班《心理與教育統計學》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題

In answering questions 1 - 3, refer to the following information.
A psychology professor gave a quiz with 12 questions to a class of 14 students. The scores were:
12, 3, 10, 9, 1, 8, 7, 10, 10, 6, 3, 9, 9, 11

  1. The median equals a _____. The mean is b _____. (4分)

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗計算資料的眾數(median)與平均數(mean)的能力。

首先,將給定的14位學生的測驗分數由小至大排列:
1, 3, 3, 6, 7, 8, 9, 9, 9, 10, 10, 11, 12

計算眾數 (Median):
由於有 N=14 個分數(偶數),眾數為中間兩個分數的平均。
中間兩個分數是第 (14/2) = 7 個和第 (14/2 + 1) = 8 個分數。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題

  1. Based on the mean and median of the data set above, what can you say about the shape of the
    distribution of those data? a _____. After converting the scores above to z scores, what the
    shape of the distribution will be? _____. The mean of the set of z scores will equal _____.
    The standard deviation of the set of z scores will equal _____. (12分)

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗對資料分配形狀(skewness)、標準化分數(z-scores)的理解及其性質。

首先,回顧第1題的結果:
原始數據的眾數 (Median) = 9
原始數據的平均數 (Mean) ≈ 7.714

(a) 根據平均數與眾數判斷分配的形狀:
當平均數 < 眾數 (7.714 < 9) 時,表示資料的分布呈現負偏態(left-skewed),即尾巴較長的部分在左側,大部分數據集中在右側。

(b) 將原始分數轉換為 z 分數後,分配的形狀:
標準化(轉換為 z 分數)並不會改變資料的相對位置關係,因此資料的分配形狀(例如偏態)不會改變。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題

  1. Suppose that in previous classes the median had always been 7.5 and you are interested in
    whether the median value has changed, what statistical test would you use? Explain your
    answer. (5分)

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗在特定情境下選擇合適的統計檢定方法,並說明理由。

情境分析:
我們有一個關於「測驗分數中位數是否改變」的研究問題。
我們有一個基準值(過去班級的中位數為 7.5)。
我們對單一樣本(當前班級的測驗分數)的中位數是否與此基準值不同感興趣。

合適的統計檢定:
由於我們關心的是中位數 (median),且我們只有一個樣本,因此適合使用「單一樣本中位數檢定」(One-sample median test)。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題

In answering questions 4 - 5, refer to the following information.
The owner of a local bookstore wanted to find out how many books are purchased each year by the
average people in Chiayi. The data for a random sample are as follows:
7, 1, 5, 3, 10, 0, 6, 9, 12, 5

  1. What statistical method would you recommend? a _____. Describe the assumptions
    underlying the use of the statistical method you recommend: b _____. (10分)

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗在特定研究情境下選擇合適的統計方法,並說明該方法的假設條件。

研究情境:
一位書店老闆想了解「嘉義地區民眾每年平均購買多少本書」。
他收集了一個隨機樣本的資料:7, 1, 5, 3, 10, 0, 6, 9, 12, 5。
樣本大小 N = 10。

(a) 推薦的統計方法:
這個研究問題是要估計或推論「每年平均購買的書本數量」。由於資料是連續的(雖然是整數,但可以視為連續變數的離散化),且我們想了解「平均數」,最直接且常用的方法是計算樣本平均數,並可能進一步建構信賴區間來推論母體的平均數。
因此,推薦的方法是:

  1. 計算樣本平均數 (Xˉ\bar{X}) 作為點估計。
  2. 若要推論母體平均數,可以建構母體平均數的信賴區間 (Confidence Interval for the Population Mean)。

(b) 統計方法的假設:
計算樣本平均數本身沒有特別的假設。
然而,若要建構母體平均數的信賴區間,標準的參數方法(例如使用 t 分配)需要以下假設:

  1. 隨機抽樣 (Random Sampling):樣本必須是從目標母體中隨機抽取的,以確保樣本能代表母體。題目中已說明是「隨機樣本」,此假設已滿足。
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 5 題

  1. What would happen if the sample size increases? (4分)

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗對樣本大小 (sample size) 影響統計推論(特別是信賴區間)的理解。

當樣本大小 (N) 增加時,對於估計母體平均數的信賴區間,會有以下影響:

  1. 信賴區間的寬度會變窄:
    • 建構母體平均數的信賴區間的標準公式(當母體標準差未知時)為:
      Xˉ±tα/2,df×(s/N)\bar{X} \pm t_{\alpha/2, df} \times (s / \sqrt{N})
    • 其中 ss 是樣本標準差,NN 是樣本大小, tα/2,dft_{\alpha/2, df} 是 t 分配的臨界值。
    • 當 NN 增加時, N\sqrt{N} 會增加,因此標準誤 (s/N)(s / \sqrt{N}) 會減小。
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 6 題

In answering questions 6 – 8, refer to the following information.
A training program to enhance typing speed was carried out in 8 trainees. All the trainees typed
the same material before the start and after the end of the program. The scores (in words per
minute) were as follows:

Trainee12345678
Before6058506367495564
After6862596972526064
  1. To determine if the training program improves typing speed, what parametric test would you
    use? Explain your answer. (5分)

登入後即可作答並保存紀錄。

這一題的完整詳解

此題考驗在特定研究情境下選擇合適的參數檢定方法,並說明理由。

研究情境:
我們要評估一個「打字速度提升訓練計畫」的效果。
我們有 8 位受試者 (trainees)。
我們在訓練「之前」和「之後」測量了他們的打字速度(以 words per minute, WPM 為單位)。
我們想要知道這個訓練計畫是否「提升」了打字速度。

資料特性:

  • 我們有兩組配對的測量值:同一位受試者在「訓練前」和「訓練後」的得分。這表示這兩組分數是「相依」或「配對」的。
  • 我們關心的是「平均速度的提升」,因此是關於平均數的比較。
  • 我們使用的是參數檢定。

合適的參數檢定:
由於我們有兩個配對的樣本(訓練前 vs 訓練後),且我們想比較這兩個配對樣本的平均數是否有顯著差異(在此情境下是提升),最適合的參數檢定是「配對樣本 t 檢定」(Paired-samples t-test),也稱為「相依樣本 t 檢定」(Dependent-sam

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 7 題

  1. The degrees of freedom for the appropriate test statistic are _____. (3分)

登入後即可作答並保存紀錄。

這一題的完整詳解

此題要求計算適用於第6題配對樣本 t 檢定的自由度 (degrees of freedom, df)。

配對樣本 t 檢定的自由度計算:
對於配對樣本 t 檢定,我們實際上是在檢定兩次配對測量分數的「差值」(difference scores) 的平均數。
假設有 N 組配對數據,則差值向量的維度是 N。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 8 題

  1. The obtained value of the appropriate test statistic is _____. Please show your calculations. (7分)

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題要求計算「適當檢定統計量」(appropriate test statistic)。檢定統計量的選擇必須依據:

  • 虛無假設與研究問題;
  • 依變項的測量尺度;
  • 單一樣本、兩獨立樣本或相依樣本設計;
  • 母體變異數是否已知;
  • 題目提供的樣本數、平均數、標準差、次數或相關係數等資料。

僅憑「The obtained value of the appropriate test statistic is _____」這一句,無法判定應使用 tt 檢定、zz 檢定、卡方檢定、相關檢定或變異數分析,也沒有足夠數值進行計算。

解題方法

完整題幹至少必須提供下列資料中的相關項目:

  1. 研究假設或欲檢定的統計問題;
  2. 樣本資料或摘要統計量;
  3. 樣本數 nn;
  4. 平均數 Xˉ\bar{X}、標準差 ss、母體平均數 μ0\mu_0 等;
  5. 若為比例或類別資料,則需提供觀察次數與期望次數;
  6. 若為相關或迴歸問題,則需提供 rr、nn 或其他必要統計量。

例如,若完整題幹是單一樣本平均數與假設值的比較,且母體變異數未知,才可使用:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 1. (a) 題

  1. According to the following data, perform hypothesis tests applied to means of two groups. Please
    include hypothesis, test statistics, degree of freedom, critical value/ p-value/confidence interval, and
    conclusion when A and B are two independent samples. (a=.05) (10分)

Group A scores: 8 4 6 3 1 4 4 6 4 2 2 1 1 4 3 3 2 6 3 4
Group B scores: 2 1 1 3 2 7 2 1 3 1 0 2 4 2 3 3 0 1 2 2

A-B scores: 6 3 5 0 -1 -3 2 5 1 1 2 -1 -3 2 0 0 2 5 1 2

ΣX_A = 71, ΣX_A^2 = 319
ΣX_B = 42, ΣX_B^2 = 134
Σ(A-B) = 29, Σ(A-B)^2 = 163

登入後即可作答並保存紀錄。

這一題的完整詳解

此題要求對兩獨立樣本進行假設檢定,以比較其平均數是否有顯著差異。我們需要執行完整的假設檢定流程,包括設定假設、計算檢定統計量、決定自由度、找出臨界值或計算 p 值,並得出結論。

1. 設定假設 (Hypotheses)
由於題目要求檢定平均數是否有差異,且未指定方向,我們使用雙尾檢定。
原假設 (H0H_0): 兩組樣本的母體平均數相等 (μA=μB\mu_A = \mu_B)。
對立假設 (H1H_1): 兩組樣本的母體平均數不相等 (μA≠μB\mu_A \neq \mu_B)。
顯著水準 (α\alpha) = 0.05。

2. 選擇檢定方法
這是兩個獨立樣本的比較,且樣本量不大,我們需要先判斷是否可以進行獨立樣本 t 檢定。獨立樣本 t 檢定的假設是兩母體的變異數相等 (homogeneity of variances)。通常會先做 Levene's test 或 F-test 來檢驗此假設。但題目直接給了 A-B 的分數差值,暗示我們也可以用配對樣本 t 檢定的方式來處理,如果 A 和 B 的資料是配對的。然而,題目明確說明「A and B are two independent samples」,這表示我們應該將 A 和 B 分別視為兩個獨立的樣本。

我們需要計算 A 和 B 的樣本平均數、樣本變異數。
樣本數 NA=20N_A = 20, NB=20N_B = 20。

計算樣本平均數 (Xˉ\bar{X})
XˉA=∑XANA=7120=3.55\bar{X}_A = \frac{\sum X_A}{N_A} = \frac{71}{20} = 3.55
XˉB=∑XBNB=4220=2.10\bar{X}_B = \frac{\sum X_B}{N_B} = \frac{42}{20} = 2.10

計算樣本變異數 (s2s^2)
樣本變異數公式:s2=∑X2−(∑X)2NN−1s^2 = \frac{\sum X^2 - \frac{(\sum X)^2}{N}}{N-1}

sA2=319−(71)22020−1=319−50412019=319−252.0519=66.9519≈3.5237s_A^2 = \frac{319 - \frac{(71)^2}{20}}{20-1} = \frac{319 - \frac{5041}{20}}{19} = \frac{319 - 252.05}{19} = \frac{66.95}{19} \approx 3.5237
sB2=134−(42)22020−1=134−17642019=134−88.219=45.819≈2.4105s_B^2 = \frac{134 - \frac{(42)^2}{20}}{20-1} = \frac{134 - \frac{1764}{20}}{19} = \frac{134 - 88.2}{19} = \frac{45.8}{19} \approx 2.4105

檢驗變異數同質性 (Homogeneity of Variances)
我們可以使用 F 檢定來比較兩個樣本變異數。
Fratio=slarger2ssmaller2=sA2sB2=3.52372.4105≈1.4618F_{ratio} = \frac{s_{larger}^2}{s_{smaller}^2} = \frac{s_A^2}{s_B^2} = \frac{3.5237}{2.4105} \approx 1.4618
自由度為 (df1, df2) = (19, 19)。
查 F 分配表,在 α=0.05\alpha = 0.05 下,雙尾檢定的臨界值大約是 2.17。
由於 1.4618<2.171.4618 < 2.17,我們無法拒絕變異數同質性的假設。因此,我們可以使用合併變異數的獨立樣本 t 檢定 (pooled variance t-test)。

計算合併變異數 (sp2s_p^2)
sp2=(NA−1)sA2+(NB−1)sB2NA+NB−2=(19)(3.5237)+(19)(2.4105)20+20−2=66.95+45.838=112.7538≈2.9671s_p^2 = \frac{(N_A-1)s_A^2 + (N_B-1)s_B^2}{N_A + N_B - 2} = \frac{(19)(3.5237) + (19)(2.4105)}{20 + 20 - 2} = \frac{66.95 + 45.8}{38} = \frac{112.75}{38} \approx 2.9671

3. 計算檢定統計量 (Test Statistic)
獨立樣本 t 檢定公式 (合併變異數):
t=(XˉA−XˉB)−(μA−μB)sp2(1NA+1NB)t = \frac{(\bar{X}_A - \bar{X}_B) - (\mu_A - \mu_B)}{\sqrt{s_p^2 (\frac{1}{N_A} + \frac{1}{N_B})}}
在 H0H_0 下,(μA−μB)=0(\mu_A - \mu_B) = 0。
t=(3.55−2.10)−02.9671(120+120)=1.452.9671(220)=1.452.9671×0.1=1.450.29671=1.450.5447≈2.662t = \frac{(3.55 - 2.10) - 0}{\sqrt{2.9671 (\frac{1}{20} + \frac{1}{20})}} = \frac{1.45}{\sqrt{2.9671 (\frac{2}{20})}} = \frac{1.45}{\sqrt{2.9671 \times 0.1}} = \frac{1.45}{\sqrt{0.29671}} = \frac{1.45}{0.5447} \approx 2.662

4. 決定自由度 (Degree of Freedom)
df=NA+NB−2=20+20−2=38df = N_A + N_B - 2 = 20 + 20 - 2 = 38

5. 決定臨界值或計算 p 值
使用 α=0.05\alpha = 0.05 的雙尾檢定,自由度為 38。
查 t 分配表(或使用軟體),自由度 38 的臨界值約為 ±2.024\pm 2.024。
tcritical≈±2.024t_{critical} \approx \pm 2.024

6. 得出結論 (Conclusion)
計算出的 t 值為 2.6622.662。
臨界值為 ±2.024\pm 2.024。
由於 ∣tcalculated∣=∣2.662∣>∣tcritical∣=∣2.024∣|t_{calculated}| = |2.662| > |t_{critical}| = |2.024|,我們拒絕原假設 H0H_0。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2. (a) 題

  1. To study the effect of early experience on conditioning, an experimenter raised three groups of rats
    in the presence of (1) no special stimulus, (2) a tone stimulus, and (3) a vibratory stimulus. The
    rates were later classically conditioned using either a tone or a vibratory stimulus as the conditioned
    stimulus. This is a 2 × 3 factorial design. Analyze the data and interpret the results. Please include
    (a) ANOVA table and conclude if factors are significant, and (b) obtain an interaction plot for cell
    means in your answer. (α=.05)(15分;5分)
ExperienceConditioned StimulusToneVibration
ToneControl1125
1628
213420
∑X=48\sum X=48∑X=87\sum X=87∑X=39\sum X=39
∑X2=818\sum X^2=818∑X2=2565\sum X^2=2565∑X2=605\sum X^2=605
Vibration1921
242641
293152
∑X=72\sum X=72∑X=78\sum X=78∑X=137\sum X=137
∑X2=1778\sum X^2=1778∑X2=2078\sum X^2=2078∑X2=6321\sum X^2=6321

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查「有重複觀察值的二因子變異數分析」:

  • 因子 A:早期經驗(Experience),有 3 個水準
    1. Control
    2. Tone
    3. Vibration
  • 因子 B:制約刺激(Conditioned Stimulus),有 2 個水準
    1. Tone
    2. Vibration
  • 每個細格有 n=3n=3 隻老鼠,因此為平衡的 3×23\times 2 因子設計。

二因子 ANOVA 分解為:

SST=SSA+SSB+SSAB+SSESS_T=SS_A+SS_B+SS_{AB}+SS_E

其中:

  • SSASS_A:早期經驗的主要效果
  • SSBSS_B:制約刺激的主要效果
  • SSABSS_{AB}:交互作用
  • SSESS_E:誤差平方和

顯著性檢定統計量為:

FA=MSAMSE,FB=MSBMSE,FAB=MSABMSEF_A=\frac{MS_A}{MS_E},\qquad F_B=\frac{MS_B}{MS_E},\qquad F_{AB}=\frac{MS_{AB}}{MS_E}

解題方法

將題目資料依照各細格整理如下:

早期經驗Tone 制約刺激Vibration 制約刺激細格總和
Control11,16,2111,16,2119,24,2919,24,29120120
Tone25,28,3425,28,3421,26,3121,26,31165165
Vibration20,13,620,13,644,41,5244,41,52$176

各細格總和為:

T11=48,T12=72,T21=87,T22=78,T31=39,T32=137T_{11}=48,\quad T_{12}=72,\quad T_{21}=87,\quad T_{22}=78,\quad T_{31}=39,\quad T_{32}=137

因子 A 的邊際總和:

T1.=48+72=120T_{1.}=48+72=120 T2.=87+78=165T_{2.}=87+78=165 T3.=39+137=176T_{3.}=39+137=176

因子 B 的邊際總和:

T.1=48+87+39=174T_{.1}=48+87+39=174 T.2=72+78+137=287T_{.2}=72+78+137=287

總和:

G=461G=461

所有觀察值平方和為:

∑X2=818+1778+2565+2078+605+6321=14165\sum X^2 =818+1778+2565+2078+605+6321 =14165

修正項為:

C=G2N=461218=11806.722C=\frac{G^2}{N} =\frac{461^2}{18} =11806.722

各平方和計算

1. 總平方和

SST=∑X2−CSS_T=\sum X^2-C SST=14165−11806.722=2358.278SS_T=14165-11806.722 =2358.278

2. 早期經驗的平方和

每個早期經驗水準包含 2×3=62\times3=6 筆觀察值:

SSA=1202+1652+17626−CSS_A= \frac{120^2+165^2+176^2}{6}-C SSA=14400+27225+309766−11806.722=960.111SS_A= \frac{14400+27225+30976}{6}-11806.722 =960.111

3. 制約刺激的平方和

每個制約刺激水準包含 3×3=93\times3=9 筆觀察值:

SSB=1742+28729−CSS_B= \frac{174^2+287^2}{9}-C SSB=30276+823699−11806.722=709.389SS_B= \frac{30276+82369}{9}-11806.722 =709.389

4. 細格平方和

每個細格有 n=3n=3 筆觀察值:

SScells=482+722+872+782+392+13723−CSS_{\text{cells}} = \frac{ 48^2+72^2+87^2+78^2+39^2+137^2 }{3}-C SScells=414313−11806.722=2003.611SS_{\text{cells}} = \frac{41431}{3}-11806.722 =2003.611

5. 交互作用平方和

SSAB=SScells−SSA−SSBSS_{AB}=SS_{\text{cells}}-SS_A-SS_B SSAB=2003.611−960.111−709.389=334.111SS_{AB}=2003.611-960.111-709.389 =334.111

6. 誤差平方和

SSE=SST−SSA−SSB−SSABSS_E=SS_T-SS_A-SS_B-SS_{AB}

或直接計算:

SSE=∑X2−∑Tij2nSS_E=\sum X^2-\frac{\sum T_{ij}^2}{n} SSE=14165−414313=354.667SS_E=14165-\frac{41431}{3} =354.667

ANOVA 表

自由度如下:

dfA=a−1=3−1=2df_A=a-1=3-1=2 dfB=b−1=2−1=1df_B=b-1=2-1=1 dfAB=(a−1)(b−1)=2df_{AB}=(a-1)(b-1)=2 dfE=ab(n−1)=3(2)(2)=12df_E=ab(n-1)=3(2)(2)=12 dfT=N−1=18−1=17df_T=N-1=18-1=17

因此:

變異來源SSSSdfdfMSMSFF
早期經驗 A960.1112480.05616.247
制約刺激 B709.3891709.38924.005
交互作用 $A\times B
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題

  1. The following data represent the math exam and statistics score for the freshmen in the department
    of psychology. The scatterplot of the data is also provided. The teacher would like to use the math
    exam to predict statistics score. Please find the correlation coefficient and regression line for (a) the
    original data, and (b) the transformed data that math and statistics are standardized. You might need
    to use r=covxysxsyr = \frac{cov_{xy}}{s_x s_y} and b=covxysx2b = \frac{cov_{xy}}{s_x^2} during calculation. (10分;10分)
MathStatistics
6057
6355
6880
7065
7280
7885
8076
8285
8880
9095

∑X=751\sum X = 751, ∑X2=57329\sum X^2 = 57329
∑Y=758\sum Y = 758, ∑Y2=58950\sum Y^2 = 58950
∑XY=57905\sum XY = 57905

🖼️【此處有附圖,請對照原卷】
The scatterplot shows Math scores on the x-axis and Statistics scores on the y-axis. There are 10 data points. The points generally show a positive trend, with some scatter.

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 4 頁

登入後即可作答並保存紀錄。

這一題的完整詳解

此題要求計算原始資料的相關係數與迴歸直線,以及標準化後資料的相關係數與迴歸直線。

重要公式回顧

  • 相關係數 (r): r=covxysxsy=∑(X−Xˉ)(Y−Yˉ)∑(X−Xˉ)2∑(Y−Yˉ)2r = \frac{cov_{xy}}{s_x s_y} = \frac{\sum (X - \bar{X})(Y - \bar{Y})}{\sqrt{\sum (X - \bar{X})^2 \sum (Y - \bar{Y})^2}}
    另一個常用計算公式:r=N∑XY−(∑X)(∑Y)[N∑X2−(∑X)2][N∑Y2−(∑Y)2]r = \frac{N\sum XY - (\sum X)(\sum Y)}{\sqrt{[N\sum X^2 - (\sum X)^2][N\sum Y^2 - (\sum Y)^2]}}
  • 迴歸直線 (Y on X): Y=a+bXY = a + bX
    • 斜率 (b): b=covxysx2=N∑XY−(∑X)(∑Y)N∑X2−(∑X)2b = \frac{cov_{xy}}{s_x^2} = \frac{N\sum XY - (\sum X)(\sum Y)}{N\sum X^2 - (\sum X)^2}
    • 截距 (a): a=Yˉ−bXˉa = \bar{Y} - b\bar{X}
  • 標準化分數 (z-score): z=X−μσz = \frac{X - \mu}{\sigma} (在此,我們使用樣本平均數 Xˉ\bar{X} 和樣本標準差 ss 來估計)
    zX=X−Xˉsxz_X = \frac{X - \bar{X}}{s_x}
    zY=Y−Yˉsyz_Y = \frac{Y - \bar{Y}}{s_y}

已知數據
N=10N = 10
∑X=751\sum X = 751
∑X2=57329\sum X^2 = 57329
∑Y=758\sum Y = 758
∑Y2=58950\sum Y^2 = 58950
∑XY=57905\sum XY = 57905

首先計算樣本平均數和樣本標準差
Xˉ=∑XN=75110=75.1\bar{X} = \frac{\sum X}{N} = \frac{751}{10} = 75.1
Yˉ=∑YN=75810=75.8\bar{Y} = \frac{\sum Y}{N} = \frac{758}{10} = 75.8

sx2=∑X2−(∑X)2NN−1=57329−(751)21010−1=57329−564001109=57329−56400.19=928.99≈103.211s_x^2 = \frac{\sum X^2 - \frac{(\sum X)^2}{N}}{N-1} = \frac{57329 - \frac{(751)^2}{10}}{10-1} = \frac{57329 - \frac{564001}{10}}{9} = \frac{57329 - 56400.1}{9} = \frac{928.9}{9} \approx 103.211
sx=103.211≈10.159s_x = \sqrt{103.211} \approx 10.159

sy2=∑Y2−(∑Y)2NN−1=58950−(758)21010−1=58950−574564109=58950−57456.49=1493.69≈165.956s_y^2 = \frac{\sum Y^2 - \frac{(\sum Y)^2}{N}}{N-1} = \frac{58950 - \frac{(758)^2}{10}}{10-1} = \frac{58950 - \frac{574564}{10}}{9} = \frac{58950 - 57456.4}{9} = \frac{1493.6}{9} \approx 165.956
sy=165.956≈12.882s_y = \sqrt{165.956} \approx 12.882

計算共變異數 (Covariance)
covxy=∑XY−(∑X)(∑Y)NN−1cov_{xy} = \frac{\sum XY - \frac{(\sum X)(\sum Y)}{N}}{N-1} (這是樣本共變異數的定義)
covxy=57905−(751)(758)1010−1=57905−569258109=57905−56925.89=979.29≈108.8cov_{xy} = \frac{57905 - \frac{(751)(758)}{10}}{10-1} = \frac{57905 - \frac{569258}{10}}{9} = \frac{57905 - 56925.8}{9} = \frac{979.2}{9} \approx 108.8

Part (a): Original Data

1. Correlation Coefficient (r)
使用公式: r=N∑XY−(∑X)(∑Y)[N∑X2−(∑X)2][N∑Y2−(∑Y)2]r = \frac{N\sum XY - (\sum X)(\sum Y)}{\sqrt{[N\sum X^2 - (\sum X)^2][N\sum Y^2 - (\sum Y)^2]}}
分子: N∑XY−(∑X)(∑Y)=10×57905−(751)(758)=579050−569258=9792N\sum XY - (\sum X)(\sum Y) = 10 \times 57905 - (751)(758) = 579050 - 569258 = 9792
分母的平方項:
N∑X2−(∑X)2=10×57329−(751)2=573290−564001=9289N\sum X^2 - (\sum X)^2 = 10 \times 57329 - (751)^2 = 573290 - 564001 = 9289
N∑Y2−(∑Y)2=10×58950−(758)2=589500−574564=14936N\sum Y^2 - (\sum Y)^2 = 10 \times 58950 - (758)^2 = 589500 - 574564 = 14936
分母: 9289×14936=138705664≈11777.3\sqrt{9289 \times 14936} = \sqrt{138705664} \approx 11777.3
r=979211777.3≈0.8314r = \frac{9792}{11777.3} \approx 0.8314

2. Regression Line (Y on X)

  • Slope (b):
    b=N∑XY−(∑X)(∑Y)N∑X2−(∑X)2=97929289≈1.0541b = \frac{N\sum XY - (\sum X)(\sum Y)}{N\sum X^2 - (\sum X)^2} = \frac{9792}{9289} \approx 1.0541
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 1 題

  1. According to the following data, perform hypothesis tests applied to means of two groups. Please
    include hypothesis, test statistics, degree of freedom, critical value/ p-value/confidence interval, and
    conclusion when A and B are two independent samples. (a=.05) (10分)

Group A scores: 8 4 6 3 1 4 4 6 4 2 2 1 1 4 3 3 2 6 3 4
Group B scores: 2 1 1 3 2 7 2 1 3 1 0 2 4 2 3 3 0 1 2 2

A-B scores: 6 3 5 0 -1 -3 2 5 1 1 2 -1 -3 2 0 0 2 5 1 2

ΣX_A = 71, ΣX_A^2 = 319
ΣX_B = 42, ΣX_B^2 = 134
Σ(A-B) = 29, Σ(A-B)^2 = 163

登入後即可作答並保存紀錄。

這一題的完整詳解

此題為獨立樣本 t 檢定。題目要求執行假設檢定,包括設定假設、計算檢定統計量、自由度、臨界值或 p 值,以及得出結論。

1. 設定假設 (Hypotheses)

  • 原假設 (H0H_0): 兩組樣本的母體平均數相等 (μA=μB\mu_A = \mu_B)。
  • 對立假設 (H1H_1): 兩組樣本的母體平均數不相等 (μA≠μB\mu_A \neq \mu_B)。
  • 顯著水準 (α\alpha) = 0.05。

2. 檢定方法與計算
由於題目明確指出 A 和 B 是「獨立樣本」,我們應執行獨立樣本 t 檢定。
首先,計算兩組樣本的樣本數、平均數與變異數。
樣本數: NA=20N_A = 20, NB=20N_B = 20。

計算樣本平均數 (Xˉ\bar{X})
XˉA=∑XANA=7120=3.55\bar{X}_A = \frac{\sum X_A}{N_A} = \frac{71}{20} = 3.55
XˉB=∑XBNB=4220=2.10\bar{X}_B = \frac{\sum X_B}{N_B} = \frac{42}{20} = 2.10

計算樣本變異數 (s2s^2)
sA2=∑XA2−(∑XA)2NANA−1=319−(71)22020−1=319−50412019=319−252.0519=66.9519≈3.5237s_A^2 = \frac{\sum X_A^2 - \frac{(\sum X_A)^2}{N_A}}{N_A-1} = \frac{319 - \frac{(71)^2}{20}}{20-1} = \frac{319 - \frac{5041}{20}}{19} = \frac{319 - 252.05}{19} = \frac{66.95}{19} \approx 3.5237
sB2=∑XB2−(∑XB)2NBNB−1=134−(42)22020−1=134−17642019=134−88.219=45.819≈2.4105s_B^2 = \frac{\sum X_B^2 - \frac{(\sum X_B)^2}{N_B}}{N_B-1} = \frac{134 - \frac{(42)^2}{20}}{20-1} = \frac{134 - \frac{1764}{20}}{19} = \frac{134 - 88.2}{19} = \frac{45.8}{19} \approx 2.4105

檢驗變異數同質性 (Homogeneity of Variances)
使用 F 檢定比較兩樣本變異數:
Fratio=slarger2ssmaller2=sA2sB2=3.52372.4105≈1.4618F_{ratio} = \frac{s_{larger}^2}{s_{smaller}^2} = \frac{s_A^2}{s_B^2} = \frac{3.5237}{2.4105} \approx 1.4618
自由度為 (df1, df2) = (19, 19)。在 α=0.05\alpha = 0.05 下,雙尾檢定的臨界值約為 2.17。
由於 1.4618<2.171.4618 < 2.17,我們無法拒絕變異數同質性的假設,因此使用合併變異數的 t 檢定。

計算合併變異數 (sp2s_p^2)
sp2=(NA−1)sA2+(NB−1)sB2NA+NB−2=(19)(3.5237)+(19)(2.4105)20+20−2=66.95+45.838=112.7538≈2.9671s_p^2 = \frac{(N_A-1)s_A^2 + (N_B-1)s_B^2}{N_A + N_B - 2} = \frac{(19)(3.5237) + (19)(2.4105)}{20 + 20 - 2} = \frac{66.95 + 45.8}{38} = \frac{112.75}{38} \approx 2.9671

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2. (a) 題

  1. To study the effect of early experience on conditioning, an experimenter raised three groups of rats
    in the presence of (1) no special stimulus, (2) a tone stimulus, and (3) a vibratory stimulus. The
    rates were later classically conditioned using either a tone or a vibratory stimulus as the conditioned
    stimulus. This is a 2 × 3 factorial design. Analyze the data and interpret the results. Please include
    (a) ANOVA table and conclude if factors are significant, and (b) obtain an interaction plot for cell
    means in your answer. (α=.05)(15分;5分)
ExperienceConditioned StimulusToneVibration
ToneControl1125
1628
213420
∑X=48\sum X=48∑X=87\sum X=87∑X=39\sum X=39
∑X2=818\sum X^2=818∑X2=2565\sum X^2=2565∑X2=605\sum X^2=605
Vibration1921
242641
293152
∑X=72\sum X=72∑X=78\sum X=78∑X=137\sum X=137
∑X2=1778\sum X^2=1778∑X2=2078\sum X^2=2078∑X2=6321\sum X^2=6321

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查「有重複觀察值的二因子變異數分析」:

  • 因子 A:早期經驗(Experience),有 3 個水準
    1. Control
    2. Tone
    3. Vibration
  • 因子 B:制約刺激(Conditioned Stimulus),有 2 個水準
    1. Tone
    2. Vibration
  • 每個細格有 n=3n=3 隻老鼠,因此為平衡的 3×23\times 2 因子設計。

二因子 ANOVA 分解為:

SST=SSA+SSB+SSAB+SSESS_T=SS_A+SS_B+SS_{AB}+SS_E

其中:

  • SSASS_A:早期經驗的主要效果
  • SSBSS_B:制約刺激的主要效果
  • SSABSS_{AB}:交互作用
  • SSESS_E:誤差平方和

顯著性檢定統計量為:

FA=MSAMSE,FB=MSBMSE,FAB=MSABMSEF_A=\frac{MS_A}{MS_E},\qquad F_B=\frac{MS_B}{MS_E},\qquad F_{AB}=\frac{MS_{AB}}{MS_E}

解題方法

將題目資料依照各細格整理如下:

早期經驗Tone 制約刺激Vibration 制約刺激細格總和
Control11,16,2111,16,2119,24,2919,24,29120120
Tone25,28,3425,28,3421,26,3121,26,31165165
Vibration20,13,620,13,644,41,5244,41,52$176

各細格總和為:

T11=48,T12=72,T21=87,T22=78,T31=39,T32=137T_{11}=48,\quad T_{12}=72,\quad T_{21}=87,\quad T_{22}=78,\quad T_{31}=39,\quad T_{32}=137

因子 A 的邊際總和:

T1.=48+72=120T_{1.}=48+72=120 T2.=87+78=165T_{2.}=87+78=165 T3.=39+137=176T_{3.}=39+137=176

因子 B 的邊際總和:

T.1=48+87+39=174T_{.1}=48+87+39=174 T.2=72+78+137=287T_{.2}=72+78+137=287

總和:

G=461G=461

所有觀察值平方和為:

∑X2=818+1778+2565+2078+605+6321=14165\sum X^2 =818+1778+2565+2078+605+6321 =14165

修正項為:

C=G2N=461218=11806.722C=\frac{G^2}{N} =\frac{461^2}{18} =11806.722

各平方和計算

1. 總平方和

SST=∑X2−CSS_T=\sum X^2-C SST=14165−11806.722=2358.278SS_T=14165-11806.722 =2358.278

2. 早期經驗的平方和

每個早期經驗水準包含 2×3=62\times3=6 筆觀察值:

SSA=1202+1652+17626−CSS_A= \frac{120^2+165^2+176^2}{6}-C SSA=14400+27225+309766−11806.722=960.111SS_A= \frac{14400+27225+30976}{6}-11806.722 =960.111

3. 制約刺激的平方和

每個制約刺激水準包含 3×3=93\times3=9 筆觀察值:

SSB=1742+28729−CSS_B= \frac{174^2+287^2}{9}-C SSB=30276+823699−11806.722=709.389SS_B= \frac{30276+82369}{9}-11806.722 =709.389

4. 細格平方和

每個細格有 n=3n=3 筆觀察值:

SScells=482+722+872+782+392+13723−CSS_{\text{cells}} = \frac{ 48^2+72^2+87^2+78^2+39^2+137^2 }{3}-C SScells=414313−11806.722=2003.611SS_{\text{cells}} = \frac{41431}{3}-11806.722 =2003.611

5. 交互作用平方和

SSAB=SScells−SSA−SSBSS_{AB}=SS_{\text{cells}}-SS_A-SS_B SSAB=2003.611−960.111−709.389=334.111SS_{AB}=2003.611-960.111-709.389 =334.111

6. 誤差平方和

SSE=SST−SSA−SSB−SSABSS_E=SS_T-SS_A-SS_B-SS_{AB}

或直接計算:

SSE=∑X2−∑Tij2nSS_E=\sum X^2-\frac{\sum T_{ij}^2}{n} SSE=14165−414313=354.667SS_E=14165-\frac{41431}{3} =354.667

ANOVA 表

自由度如下:

dfA=a−1=3−1=2df_A=a-1=3-1=2 dfB=b−1=2−1=1df_B=b-1=2-1=1 dfAB=(a−1)(b−1)=2df_{AB}=(a-1)(b-1)=2 dfE=ab(n−1)=3(2)(2)=12df_E=ab(n-1)=3(2)(2)=12 dfT=N−1=18−1=17df_T=N-1=18-1=17

因此:

變異來源SSSSdfdfMSMSFF
早期經驗 A960.1112480.05616.247
制約刺激 B709.3891709.38924.005
交互作用 $A\times B
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3. (a) 題

  1. The following data represent the math exam and statistics score for the freshmen in the department
    of psychology. The scatterplot of the data is also provided. The teacher would like to use the math
    exam to predict statistics score. Please find the correlation coefficient and regression line for (a) the
    original data, and (b) the transformed data that math and statistics are standardized. You might need
    to use r=covxysxsyr = \frac{cov_{xy}}{s_x s_y} and b=covxysx2b = \frac{cov_{xy}}{s_x^2} during calculation. (10分;10分)
Math (X)Statistics (Y)
6057
6355
6880
7065
7280
7885
8076
8285
8880
9095

∑X=751\sum X = 751, ∑X2=57329\sum X^2 = 57329
∑Y=758\sum Y = 758, ∑Y2=58950\sum Y^2 = 58950
∑XY=57905\sum XY = 57905

登入後即可作答並保存紀錄。

這一題的完整詳解

此題要求計算原始數據的相關係數與迴歸直線,以及標準化數據的相關係數與迴歸直線。

已知數據:
N=10N = 10
∑X=751\sum X = 751, ∑X2=57329\sum X^2 = 57329
∑Y=758\sum Y = 758, ∑Y2=58950\sum Y^2 = 58950
∑XY=57905\sum XY = 57905

計算基本統計量:

  • 樣本平均數:
    Xˉ=∑XN=75110=75.1\bar{X} = \frac{\sum X}{N} = \frac{751}{10} = 75.1
    Yˉ=∑YN=75810=75.8\bar{Y} = \frac{\sum Y}{N} = \frac{758}{10} = 75.8
  • 樣本變異數 (s2s^2) 與標準差 (ss):
    sx2=∑X2−(∑X)2NN−1=57329−(751)2109=57329−56400.19=928.99≈103.211s_x^2 = \frac{\sum X^2 - \frac{(\sum X)^2}{N}}{N-1} = \frac{57329 - \frac{(751)^2}{10}}{9} = \frac{57329 - 56400.1}{9} = \frac{928.9}{9} \approx 103.211
    sx=103.211≈10.159s_x = \sqrt{103.211} \approx 10.159
    sy2=∑Y2−(∑Y)2NN−1=58950−(758)2109=58950−57456.49=1493.69≈165.956s_y^2 = \frac{\sum Y^2 - \frac{(\sum Y)^2}{N}}{N-1} = \frac{58950 - \frac{(758)^2}{10}}{9} = \frac{58950 - 57456.4}{9} = \frac{1493.6}{9} \approx 165.956
    sy=165.956≈12.882s_y = \sqrt{165.956} \approx 12.882
  • 樣本共變異數 (covxycov_{xy}):
    covxy=∑XY−(∑X)(∑Y)NN−1=57905−(751)(758)109=57905−56925.89=979.29≈108.8cov_{xy} = \frac{\sum XY - \frac{(\sum X)(\sum Y)}{N}}{N-1} = \frac{57905 - \frac{(751)(758)}{10}}{9} = \frac{57905 - 56925.8}{9} = \frac{979.2}{9} \approx 108.8

(a) Original Data

  1. Correlation Coefficient (r):
    使用公式 r=covxysxsyr = \frac{cov_{xy}}{s_x s_y}
    r=108.810.159×12.882=108.8130.839≈0.8315r = \frac{108.8}{10.159 \times 12.882} = \frac{108.8}{130.839} \approx 0.8315
    (使用 r=N∑XY−(∑X)(∑Y)[N∑X2−(∑X)2][N∑Y2−(∑Y)2]r = \frac{N\sum XY - (\sum X)(\sum Y)}{\sqrt{[N\sum X^2 - (\sum X)^2][N\sum Y^2 - (\sum Y)^2]}} 計算結果為 ≈0.8314\approx 0.8314)
    我們採用較精確的計算結果。
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題

108 年中正大學的其他科目

中正大學《心理與教育統計學》其他年度

其他學校的醫學與臨床考古題