16
Chapter 10 Hypothesis Tests with Two Independent Samples

Chapter 10 Hypothesis Tests with Two Independent Samples

  • View
    220

  • Download
    1

Embed Size (px)

Citation preview

Chapter 10

Hypothesis Tests with Two Independent Samples

One Sample

男 女

• 比較男、女是否來自相同的 population• 比較有錢、沒錢是否來自相同的 population• 比較高、矮是否來自相同的 population• 比較胖、瘦是否來自相同的 population• 比有吃藥、沒吃藥是否來自相同的 population• 比較本國人、外國人是否來自相同的 population• 比較兩組人… ..• 比較 A & B 昰否來自相同的 population

Independent t test or

Two mean t test

Chapter 10

How about…

• 比較訓練前、訓練後是否一樣 ?( 來自相同的 population)?

• 比較減肥前、減肥後是否一樣 ? ( 來自相同population)?

• 同一個人被比較兩次 ( 前 vs. 後 )

• 用 independent t test? NO

Pair t testChapter 11

How about…

• 比較 A 、 B 、 C 是否來自相同的 population?

• For example

• 比較大二、大三、大四學生實習滿意度是否一樣 ? ( 來自相同的 population)

Analysis of Variance (ANOVA)

變異數分析 (chapter 13)

Independent t test

• Independent t test = 兩獨立樣本檢定Independent-measure t test = Two mean t test

• Goal: to evaluate the mean difference between two population (1 vs. 2)

• 無法得知 1 & 2 所以用什麼取代 ??

• Independent-measure t test vs. repeated-measure t test

Process

• Step 1: hypothesis

• Step 2:locate the critical region (tc)

• Step 3: 計算 to

• Step 4: make a decision

Process

• Step 1: hypothesis– Ho: 1 - 2=0 (no difference between the population means)

– H1: 1 - 2>,<,≠ 0

• Step 2:locate the critical region (tc)– df= df1 + df 2 = (n1-1)+ (n2-1)=(n1+n2)-2

– 從 hypothesis 決定單雙尾– level

• Step 3: 計算 to

2

2

1

2

21212121 )()()()(

21

n

s

n

s

xx

s

xxt

ppxx

Two sample Standard error

1-2=0

Pooled variance

21

212

dfdf

SSSSsp

21

2121

2

2

1

2

2121

11

)()()()(

nns

xx

n

s

n

s

xxt

ppp

2

)1()1(

21

222

211

nn

snsnsp

• Step 3: 計算 to

• Step 4: make a decision