MOD 5 (Hypotheis Testing)
MOD 5 (Hypotheis Testing)
MOD 5 (Hypotheis Testing)
BRMS Team
Decision Science Area
CMS Business School
Jain (Deemed-to-be University)
bschool.cms.ac.in
AGENDA-Session 26
• Introduction to Hypothesis
• Population and Sample
• Sample Statistic and Population Parameter
• Parametric and Non-Parametric Tests
• Hypothesis
• Formulation of Null & Alternate Hypothesis
• Level of Significance
• Tail of the Test
bschool.cms.ac.in
Introduction
• It is not an unusual thing for all of us to come across various
advertisements from organizations across verticals about their product.
• Some will be straight, some will try look down upon their competitors
and some will talk about their strengths.
• These strengths, most of the times, are presented in the form of claims.
For example, an automobile company may claim about the mileage of
the vehicle.
• These claims are open enough to be put under test – a test to ascertain
the claim.
• In statistics, this claim is referred to as a proposition and the test, the
test of hypotheses.
bschool.cms.ac.in
Introduction
bschool.cms.ac.in
Population and Sample
• Population:
• Populations can be the complete set of all similar items that exist. For
example, the population of a country includes all people currently within
that country. It’s a finite but potentially large list of members.
• However, a population can be a theoretical construct that is potentially
infinite in size. For example, quality improvement analysts often consider
all current and future output from a manufacturing line to be part of a
population.
• A population is the entire group that you want to draw conclusions about.
bschool.cms.ac.in
Population and Sample
• Sample:
• Consists one or more observations drawn from the population.
• A sample is the specific group that you will collect data from.
• The size of the sample is always less than the total size of the population.
• Samples can be drawn from the population using various methods
classified under Probability and Non-Probability Sampling Methods.
• Probability Sampling Methods include – Random Sampling, Systematic
Sampling, Stratified Sampling and Cluster Sampling.
• Non-Probability Sampling Methods include – Judgmental Sampling,
Convenience Sampling, Quota Sampling and Snowball Sampling.
bschool.cms.ac.in
Population and Sample
bschool.cms.ac.in
Sample Statistic and Population Parameter
• Sample Statistic: A statistic is any summary number, like an
average or percentage, that describes the sample. If you collect a
sample and calculate the mean and standard deviation, these are
sample statistics.
• Population Parameter: A parameter is any summary number,
like an average or percentage, that describes the entire population.
Because you can almost never measure an entire population, you
usually don’t know the real value of a parameter. In fact,
parameter values are nearly always unknowable. While we don’t
know the value, it definitely exists.
• For example, the average height of adult women in India is a parameter
that has an exact value—we just don’t know what it is!
bschool.cms.ac.in
Parametric and Non-Parametric Tests
bschool.cms.ac.in
Introduction - Hypothesis
bschool.cms.ac.in
A Hypothesis is…..
• A statement
• An assumption
• A claim
• An educated guess
• A tentative point of view
• A proposition not yet tested
• A preliminary explanation
• A preliminary Postulate
bschool.cms.ac.in
Hypothesis – Some Examples
bschool.cms.ac.in
Hypothesis – Characteristics
bschool.cms.ac.in
Hypothesis – Characteristics
bschool.cms.ac.in
Hypothesis – Purpose
bschool.cms.ac.in
Formulation of Null & Alternate Hypothesis
• Null hypothesis(H0) always predicts that
• There are no differences between the groups being studied or
• There is no relationship between the variables being studied
• The null hypothesis is essentially the "devil's advocate" position.
That is, it assumes that whatever you are trying to prove did not
happen.
bschool.cms.ac.in
Formulation of Null & Alternate Hypothesis
• By contrast, the alternate hypothesis(H1) always predicts that
there will be a difference between the groups/variables being
studied.
• The alternative hypothesis states the opposite and is usually the
hypothesis you are trying to prove.
bschool.cms.ac.in
Formulation of Null & Alternate Hypothesis
• H0: The outcome of three different methods of manufacturing a
ball is same.
• H1: The outcome of three different methods of manufacturing a
ball is not same.
bschool.cms.ac.in
Level of Significance
bschool.cms.ac.in
Level of Significance
bschool.cms.ac.in
Level of Significance
bschool.cms.ac.in
Level of Significance
Now, these situations are same as:
• You buy from a company outlet/authorised seller (RIGHT)
• H0 is right and you accept it
• You do not buy from a company outlet/authorised seller
(WRONG)
• H0 is right and you reject it
• You buy from black market (WRONG)
• H0 is wrong and you accept it
• You do not buy from black market (RIGHT)
• H0 is wrong and you reject it.
bschool.cms.ac.in
Level of Significance
bschool.cms.ac.in
Level of Significance
Accept H0 Reject H0
bschool.cms.ac.in
Level of Significance
bschool.cms.ac.in
Level of Significance
• At 0.01 level of significance, we are giving ourselves a 1% chance
to REJECT H0 when it is TRUE – HIGH PRECISION
• At 0.05 level of significance, we are giving ourselves a 5% chance
to REJECT H0 when it is TRUE – MODERATE PRECISION
• At 0.1 level of significance, we are giving ourselves a 10% chance
to REJECT H0 when it is TRUE – LOW PRECISION.
bschool.cms.ac.in
Level of Significance
bschool.cms.ac.in
Tail of the Test
bschool.cms.ac.in
Tail of the Test
bschool.cms.ac.in
Tail of the Test
bschool.cms.ac.in
Tail of the Test
bschool.cms.ac.in
Tail of the Test and Critical Value
bschool.cms.ac.in
Degrees of Freedom
bschool.cms.ac.in
Calculating the Test Statistic
bschool.cms.ac.in
Calculating the Test Statistic
bschool.cms.ac.in
Locating the test statistic and
accepting/rejecting Null Hypothesis
• After calculating the test statistic, we need to check whether it lies
in the acceptance region or the rejection region.
• For that we use a simple rule: if |z0| ≤ |ze|, where ‘ze’ is the critical
value of a ‘z’ test, then accept Null Hypothesis. Else accept
Alternate Hypothesis.
• The rule remains the same for all the hypothesis tests, irrespective
of whether it is a ‘z’, ‘t’, Chi-Square or ANOVA test.
bschool.cms.ac.in
Drawing Inference
bschool.cms.ac.in