Business Statistics II STAT202: Single Sample Hypothesis Testing
Business Statistics II STAT202: Single Sample Hypothesis Testing
Business Statistics II STAT202: Single Sample Hypothesis Testing
STAT202
SINGLE SAMPLE HYPOTHESIS TESTING
Hypothesis Testing
Why do we use hypothesis testing?
How do we generate a hypothesis?
What is the process for hypothesis testing?
Some terminology
The alternative hypothesis is what we believe could be the case or could be the
result of a change in process/procedure
What we are asking is, does the evidence collected make the alternative
hypothesis more likely than the null hypothesis?
Rejecting the null hypothesis means that I have found evidence of this
Not rejecting the null hypothesis means that we haven’t found sufficient evidence of the
alternative hypothesis
Some Non-business examples
In a criminal trial, we assume defendants are innocent until proven guilty. We
only take action if sufficient evidence has been found that the defendant is
guilty. This means:
H0=The defendant is innocent
H1=The defendant is guilty
A customer service call center wants to change their procedure for handling complaints that
decreases the time needed to resolve complaints. They have been testing a new procedure in a
small group of calls. Should the adopt the new procedure?
What is H0?
What is H1?
A company that produces cell phone cases recently implemented a new manufacturing process in
an attempt to decrease the number of defective items. Is it working?
What is H0?
What is H1?
Specifying the decision rule
Before testing, we need to determine HOW the evidence will be used to
determine if the null hypothesis is rejected or not
How does this apply to our non-business examples?
To execute this statistically, we will use something called a critical value that will
define a rejection region
We will get into exactly what these are as we execute the statistical tests
We compare the test result to the decision rule and either
Reject the null hypothesis
Do not reject the null hypothesis
Take action based on decision
If we reject the null hypothesis, we have decided there is enough evidence to
justify the alternative hypothesis
What should we do based on this in our examples?
If we do not reject the null hypothesis, we have not found sufficient evidence
for the alternative hypothesis
What should we do based on this in our examples?
What happens if I am wrong?
We are limited in the data we can collect, the time we can spend, the money we
can spend
We cannot collect enough information to be 100% positive
How often you make either of these mistakes is based on the critical value
(threshold) you specify in your decision rule
What happens if I am wrong?
Generally, as we make one error less likely, the other gets more likely
We need to determine consequences of errors to determine which type is more
detrimental
Since increasing sample size means we decrease an error with more information,
all else equal, we prefer a test with a lower β
What exactly are we testing?
Everything we have discussed with hypotheses so far has been verbal
To perform a statistical test, we need to state the hypotheses in quantitative
terms
To do this, we need to:
Specify values (related to the objective measures)
State directionality in a way that is mutually exclusive and collectively exhaustive
What exactly are we testing?
Specifying values
Means (start today, finish next class)
Proportions (cover this next class)
Directionality of H1 compared to H0
Not equal to versus equal to
Greater than versus less than or equal to
Less than versus greater than or equal to
Any sign that contains “equal to” goes in H0 (the null hypothesis)