Formula For Hypothesis Testing
Formula For Hypothesis Testing
Formula For Hypothesis Testing
Lourdan Elaba
BS MATHEMATICS
I. Hypothesis Testing for Mean (Single Population)
Case 1: population variance is known.
X́−μ0
Z=
σ
√n
PHStat > One-Sample Tests >Z Test for the Mean, sigma known
PHStat > Two-Sample Tests >Z Test for Differences in Two Means
Case 2: population variance are unknown and sample variances are assumed
equal.
( X́ −Ý )−d 0
T=
1 1
sp
√ +
n1 n2
Case 3: population variance are unknown and sample variances are assumed
not equal.
( X́ −Ý )−d 0
T=
s2X s 2Y
√ +
n1 n2
2
s 2X s2Y
v=
( +
n 1 n2 )
2 2
s 2X s2Y
( ) ( )
n1
+
n2
n1 −1 n2−1
Case 4: population variance are unknown and sample size are greater than 30.
( X́ −Ý )−d 0
Z=
S 2X S 2Y
√ +
n1 n2
PAIRED SAMPLING:
D́−d 0
T=
sD
√n
n
1
D́= ∑ Di= X́ −Ý
n i=1
s D=
√ ∑ ( Di − D́)2
i=1
n−1
PHStat > Two-Sample Tests >Z Test for Differences in Two Means
PHStat > Two- Sample Tests >Z Test for Differences in Two Proportions