0% found this document useful (0 votes)
181 views5 pages

Formula For Hypothesis Testing

This document outlines the formulas for hypothesis testing in several statistical scenarios: 1. For a single population mean, it provides the z-test and t-test formulas depending on whether the population variance is known or unknown. 2. For a single population proportion, it gives the z-test formula. 3. For comparing two population means, it lists the z-test and t-test formulas depending on whether the population variances are known/unknown and if the samples are independent or paired. 4. For comparing two population proportions, the z-test formula is provided. 5. It also includes the chi-square test formula for testing independence between categorical variables.

Uploaded by

Lourdan Elaba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
181 views5 pages

Formula For Hypothesis Testing

This document outlines the formulas for hypothesis testing in several statistical scenarios: 1. For a single population mean, it provides the z-test and t-test formulas depending on whether the population variance is known or unknown. 2. For a single population proportion, it gives the z-test formula. 3. For comparing two population means, it lists the z-test and t-test formulas depending on whether the population variances are known/unknown and if the samples are independent or paired. 4. For comparing two population proportions, the z-test formula is provided. 5. It also includes the chi-square test formula for testing independence between categorical variables.

Uploaded by

Lourdan Elaba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

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

Case 2: population variance is unknown and n < 30


X́−μ 0
T=
s
√n
PHStat > One- Sample Tests > t Test for the Mean, sigma unknown

Case 3: population variance is unknown and n> 30


X́−μ0
Z=
s
√n
PHStat > One-Sample Tests >Z Test for the Mean, sigma known

II. Hypothesis Testing for Proportion (Single Population)


Case 1:
y−n p 0
Z=
√n p0 (1−p 0)
PHStat > One-Sample Tests >Z Test for the Proportion
III. Hypothesis Testing for Mean (Two Populations)
INDEPENDENT SAMPLING

Case 1: population variances are known


( X́ −Ý )−d 0
Z=
σ 2X σ 2Y
√ +
n 1 n2

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

(n1−1) s2X +(n 2−1) s 2Y


s p=
√ n1+ n2−2

PHStat > Two-Sample Tests >Pooled-Variance t Test

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

PHStat > Two-Sample Tests >Separate-Variance t Test

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

IV. Hypothesis Testing for Proportion (Two Populations)


( ^p X − ^pY )−d 0
Z=
^p (1− ^p ) 1 + 1
√ (
n1 n2 )
X +Y
^p=
n1 +n 2

PHStat > Two- Sample Tests >Z Test for Differences in Two Proportions

V. Test for Independence


2
n n
(O ij −Eij )2
X =∑ ∑
i=1 j=1 Eij
PHStat > Multiple-Sample Tests >Chi-Square Test

You might also like