Professional Documents
Culture Documents
Ch.12 TestHyop
Ch.12 TestHyop
Ch.12 TestHyop
Unit---4
TESTING OF HYPOTHESES
DR DEEPAK CHAWLA
What is a Hypothesis?
A hypothesis is an assumption or a statement that may or
may not be true.
The hypothesis is tested on the basis of information
obtained from a sample.
Hypothesis tests are widely used in business and industry
for making decisions.
DR DEEPAK CHAWLA
Exercise
Setting up of a hypothesis
Making decision
Single Population
Case of large sample - In case the sample size n is large or
small but the value of the population standard deviation is
known, a Z test is appropriate. The test statistic is given by,
DR DEEPAK CHAWLA
Single Population
If the population standard deviation σ is unknown, the sample
standard deviation
Single Population
It may be noted that Zα and Zα/2 are Z values such that the area to
the right under the standard normal distribution is α and α/2
respectively.
Single Population
A comparative shape of t and normal distribution is given in the
figure below:
DR DEEPAK CHAWLA
Single Population
The null hypothesis to be tested is:
H0 : μ = μ0
Population Means
Case of large sample - In case both the sample sizes are
greater than 30, a Z test is used. The hypothesis to be tested
may be written as:
H0 : μ1 = μ2
H1 : μ1 ≠ μ2
DR DEEPAK CHAWLA
Where,
μ1 = mean of population 1
μ2 = mean of population 2
The above is a case of two-tailed test. The test statistic used is:
Population Means
DR DEEPAK CHAWLA
The Z value for the problem can be computed using the above formula
and compared with the table value to either accept or reject the
hypothesis.
Population Means
Case of small sample - If the size of both the samples
is less than 30 and the population standard deviation is
unknown, the procedure described above to discuss the
equality of two population means is not applicable in the
sense that a t test would be applicable under the
DR DEEPAK CHAWLA
assumptions:
a) Two population variances are equal.
b) Two population variances are not equal.
Population Means
Population variances are equal - If the two population variances
are equal, it implies that their respective unbiased estimates are
also equal. In such a case, the expression becomes:
DR DEEPAK CHAWLA
Population Means
The testing procedure could be explained as under:
H0 : μ1 = μ2 ⇒ μ1 – μ2 = 0
H1 : μ1 ≠ μ2 ⇒ μ1 – μ2 ≠ 0
Population Means
Population variances are not equal - In case population variances
are not equal, the test statistic for testing the equality of two population
means when the size of samples are small is given by:
DR DEEPAK CHAWLA
The procedure for testing of hypothesis remains the same as was discussed
when the variances of two populations were assumed to be same.
Proportion
The case of single population proportion - Suppose we want to
test the hypothesis,
H0 : p = p0
H 1 : p ≠ p0
For large sample, the appropriate test statistic would be:
DR DEEPAK CHAWLA
Proportion
DR DEEPAK CHAWLA
Proportion
Two Population Proportions - Here, the interest is to test whether
the two population proportions are equal or not. The hypothesis
under investigation is:
H 0 : p1 = p 2 ⇒ p 1 – p2 = 0
H 1 : p1 ≠ p 2 ⇒ p 1 – p2 ≠ 0
DR DEEPAK CHAWLA
Proportion
DR DEEPAK CHAWLA
Proportion
DR DEEPAK CHAWLA
Proportion
Proportion
END OF CHAPTER
DR DEEPAK CHAWLA