Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An in-depth analysis of the two-sample hypothesis testing using the t-test in biostatistics. It covers the hypotheses, assumptions, calculations, one-tailed tests, and violations of assumptions. Additionally, it discusses confidence limits for population means and testing for differences in variances. Essential for students in statistics, biology, and related fields.
Typology: Study notes
1 / 2
l_hyp2.pdf (continued) McLaughlin
1 Test for difference between two Means (2-sample t-test) 1.1 Hypotheses: H 0 : μ 1 = μ 2 , alternatively: H 0 : μ 1 − μ 2 = 0, HA: μ 1 ≠ μ 2 HA: μ 1 − μ 2 ≠ 0
1.2 Assumptions 1.2.1 both samples from normal populations 1.2.2 equal population variances
1.3 t
= (^) s (^) X X
−
1 2 1 2
1.4 Calculating s (^) X (^) 1 − X 2
X (^) 1 X (^) (^2) n n
2 12 1
22 − (^2)
X (^) 1 X (^) (^2) n n
2
2
1
2 − (^2)
p 2 1 2 1 2
s X X n
p p 1 2
2 2 1
2 − (^2) = + and s s n
s X X n
p p 1 2
2 1
2 − (^2)
s n
p p
1 2 2 1
2 2
1.5 One-Tailed test Hypotheses: H 0 : μ 1 ≥ μ 2 , HA: μ 1 < μ 2 ; if t ≤ − t α ( ), 1 ν then reject H (^0) H 0 : μ 1 < μ 2 , HA: μ 1 > μ 2 ; if t ≥ t α ( ), 1 ν then reject H (^0)
1.6 Violations of Two-Sample t-test Assumptions 1.6.1 normal distribution: t-test is very robust (one-tailed test sensitive to skew)
correction: Welch’s approximate t
t
s n
s n
1 2 12 1
22 2
s n
s n s n n
s n n
1 2 1
2 2 2
2
12 1
2
1
22 2
2
l_hyp2.pdf McLaughlin
2 Confidence Limits for Population Means
s i n
p i
±α ( 2 ),ν
2
2.2 If unequal variances, X t s i n i i
±α ( 2 ),ν
2
2.3 Confidence limits for difference betw means: X (^) i − X (^) 2 ± t (^) α ( 2 ),ν sX (^) 1 − X 2 2.4 if H 0 not rejected (samples from pops w/ identical means, μ):
1 1 2 2 1 2
s p n n
p i
α ( 2 ),ν +
2 2 3 Testing for Difference betw Variances
3.2 Variance ratio test F s s
2 2 2 or^ F^
s s
2 1 2 ,^ whichever larger; i.e., larger sample variance in numerator 3.3 F -distribution: Zar, Table B
3.4 Variance ratio test severely affected by non-normality
4 Paired-Sample t-test 4.1 Paired data 4.2 Hypotheses: 2-tailed: H 0 : μd = 0, HA: μd ≠ 0
1-tailed: H 0 : μd > μ 0 , HA: μd < μ 0 or: H 0 : μd < μ 0 , HA: μd > μ 0 4.3 Equivalent to a one-sample test d (^) i = difference betw/ paired measurements sample size = # pairs of data degrees freedom = n - 4.4 Test Statistic: t d = (^) sd d = mean difference sd = standard error of mean difference 4.5 Assumption: differences, d i , are normally distributed → not need assumptions from 2-sample t -test (normality & equality of variances)
5 Confidence Limits for Mean Difference 5.1 similar procedure as with one-sample t-test;