BSCHAPTER - 11 (Hypothesis Testing)
BSCHAPTER - 11 (Hypothesis Testing)
Depends on the
Choice of an knowledge about
appropriate test- population parameters,
statistic z , t , F, 2 sample size, number of
etc. samples collected etc
The testing of hypothesis is done by means of
computing some statistic and comparing its
value with a certain standard value, called critical
value, to determine whether null hypothesis may
be rejected.
There are several test statistics such as z, t, F, 2
etc available.
The nature of underlying population from which
sampling is done, the knowledge about its
parameters, sample size, number of samples
collected etc are the factors which govern the
choice of a test-statistic.
If the computed value of the test statistic is
more extreme than its critical value/s, then
reject H0, else accept H1.
The critical values are obtained having
reference to appropriate area tables relating
to the concerned test statistic.
The critical value depends on several factors
including the statistic being used, the level of
significance and whether the test is two-
tailed or one-tailed.
A two-tailed test of A one-tailed test of
hypothesis is hypothesis is
conducted where it is conducted where it is
important to consider important to consider
both directions of only a single direction
difference away from of difference away
the parameter from the parameter
specified in the null value specified in the
null hypothesis.
hypothesis.
In such a test, the
Here the rejection rejection region lies
region lies in both only in one end of the
ends of the sampling sampling distribution.
distribution.
Sampling Distribution and Regions ofAcceptanceandRejection
Sampling Distribution and Regions ofAcceptanceandRejection
Sampling Distribution and Regions ofAcceptanceandRejection
The next step in hypothesis testing is taking
sample(s).
Having collected the sample(s), we use the
sample information to calculate the value of
the test-statistic in question.
This calculated value is meant to be
compared with the critical value.
The final step in the hypothesis testing
process calls for drawing conclusion from the
test.
This is done on the basis of the comparison
of the calculated value of the test statistic
with the critical value.
The null hypothesis stands rejected if the
calculated value of the test statistic is more
extreme than the critical value.
This is true both for two-tailed and one-
tailed tests.
In a two-tailed test, if the calculated value of
the statistic is more than the upper critical
value or lower than the lower critical value,
we reject the null hypothesis.
In right-tailed test, we reject null hypothesis
if the calculated value of the statistic is more
than the critical value.
Similarly, we reject null hypothesis if the
calculated value of the statistic is smaller
than the critical value in case of left-tailed
test.
When the critical value is not exceeded by the
calculated value of the test statistic, it
suggests that there is no adequate evidence
against the null hypothesis.
In such a case, we fail to reject the null
hypothesis and this hypothesis is accepted
only by default.
This acceptance of the null hypothesis by no
means proves that it is true.
This is just like in a court of law an accused
may be pronounced as not guilty for lack of
evidence. An accused is presumed, and not
proved, to be innocent in such a situation.
There are four possibilities in a test of
hypothesis:
1. The null hypothesis is in fact true and it is
accepted by the test.
2. The null hypothesis is in fact true and it is
rejected by the test.
3. The null hypothesis is in fact false and it is
rejected by the test.
4. The null hypothesis is in fact false and it is
accepted by the test.
Possibilities 1 and 3 result in correct decision
while in cases 2 and 4 the decision is incorrect.
State of Hypothesis test conclusion
affairs H0 is accepted H0 is rejected
H0 is Correct Type I error
true Decisio Probability = α
n
H0 is Type II error Correct
fals Probability = β Decisio
e n
α is the probability of committing a Type I error while
β is the probability of committing a Type II error.
Type I and Type II errors are inversely related to each
other so that:
A lowering of α would increase the value of β, and
An increase in α would decrease the value of β.
This is because a reduction in α increases the
acceptance region and the probability of accepting
the null hypothesis. If it is in fact false then it would
mean an increase in the value of β.
For a given sample size, the decision maker faces the
conflict about the two types of errors.
Hypothesis testing only mentions α: the
probability of committing a Type I error.
There can be no mention of β since its value
can be calculated only when true value of the
parameter is known.
The choice of α is guided by the relative cost
of making each of the errors.
Thus, a lower value of α (which implies a
higher level of confidence) is not necessarily
better in all cases.
The value of β can be determined only when
the true universe value is known.
The closer is the true population parameter
value to the hypothesized value, the greater
likelihood is of the Type II error.
Conversely, farther is the true population
parameter value from the hypothesized value,
the smaller is the chance making of the Type
II error.
To calculate β, first chart the sampling
distribution for the hypothesized value of the
parameter and mark the acceptance region.
Next, plot the sampling distribution
corresponding to the true value of parameter.
The part of acceptance region covered by the
sampling distribution corresponding to the
true value of parameter gives the value of β.
If the hypothesized and the true population
parameter values are close, then the common
area shall be higher.
For a test, it is hypothesized that for a
normally distributed population with σ = 16,
the mean, µ = 80. A sample of 64 is taken to
test this value of hypothesized mean at α =
0.05. You are required to determine the
values of α and β if the true mean value is (a)
82, and (b) 79.
With n = 64 and σ = 16, the standard error of
mean = 2. Further, since α = 0.05, z = 1.96
and the acceptance region works out as 80 ±
1.962 or 76.08 – 83.92.
When µ = 82:
Or
Since µ 1 – µ 2 = 0
A large retailing company wants to know whether
there is a difference in the average size of
customer accounts in its Kolkata and Mumbai
stores. Past experience has shown that the
standard deviations for the two are Rs 180 and
Rs 192 respectively. Samples of 80 accounts
taken from Kolkata gave a mean value of Rs 885
and 90 accounts from Mumbai gave a mean value
of Rs 936. Does this provide evidence at the 5
percent level of significance that the mean
account sizes at the two stores to be different?
H0 : µ 1 – µ 2 = 0 and H1 : µ1 – µ2 ≠ 0
α = 0. 05
Decision rule: If | z | > 1.96, reject H0
Test statistic: z
Computations:
where