Hypothesis-Test - 2 Samples
Hypothesis-Test - 2 Samples
Hypothesis-Test - 2 Samples
2 samples
Population 1
Population 2
Cognizant Stock Return
WIPRO Stock Return
m1 = mean return
of Cognizant m2 = mean return of WIPRO
μ1 – m2 = difference between
the mean returns of two populations
x1 - x2 = Point Estimate of m1 – m2
Steps of Hypothesis Testing
Step 1: Develop the null and alternative hypotheses.
Assuming that the population variances σ12 and σ22 are equal (even though
unknown), the statistic follows student’s t distribution with (n1 + n2 – 2) degrees
of freedom.
Under this assumption, the two sample variances, s12 and s22, provide two
separate estimators of the common population variance.
Combining the two separate estimates into a pooled estimate sp2 should give us
Pooled Estimate of the Population
Variance
A pooled estimate of the common population variance,
based on a sample variance s12 from a sample of size n1 and a
sample variance s22 from a sample of size n2 is given by:
That is, larger weight is given to the variance from the larger
sample.
Confidence Intervals for the
Difference between Two Population
Means: μ 1 - μ 2
Case II: Test Statistic is t (Student’s t-Statistic)
When Population standard deviations σ1 and σ2 are unknown and
have to be estimated from two samples; using the pooled
variance Sp2
01/12/2023 13
Hypothesis Tests
About μ1 – μ2: Matched Samples
Possible Situations
• I: Difference between two population means is 0
1 - 2 = d
• H0: d = 0
• H1: d 0
• II: Difference between two population means is less than 0
d 0
• H0: d 0
• H1: d 0
Test Statistic
Confidence Intervals for Paired Observations
Problem 9.13
Aquarius Health Club has been advertising a rigorous program for body
conditioning. The club claims that after 1 month in the program, the
average participant should be able to do eight more push-ups in 2
minutes than he or she could do at the start. Does the random sample
of 10 program participants given below support the club’s claim? Use
the 0.025 level of significance.
Participant 1 2 3 4 5 6 7 8 9 10
Before 38 11 34 25 17 38 12 27 32 29
After 45 24 41 39 30 44 30 39 40 41
01/12/2023 17
Hypothesis Tests:
Difference between two Population
Proportions p1 - p2
Possible Hypotheses
H0: p1 - p2 < 0
Ha: p1 - p2 > 0