Professional Documents
Culture Documents
Chapter 9: Testing of Hypothesis: Mr. Mark Anthony Garcia, M.S. Mathematics Department de La Salle University
Chapter 9: Testing of Hypothesis: Mr. Mark Anthony Garcia, M.S. Mathematics Department de La Salle University
Chapter 9: Testing of Hypothesis: Mr. Mark Anthony Garcia, M.S. Mathematics Department de La Salle University
Mathematics Department
De La Salle University
CHAPTER 9: TESTING
OF HYPOTHESIS
Situation: Hypothesis Testing
Suppose that a political analyst
predicted that senatorial candidate A will
top the upcoming senatorial elections in
city X with at least 0.70 or 70% of the
votes.
The political analyst surveyed voters in
city X out of the population size of
voters.
Situation: Hypothesis Testing
The survey resulted into voters that will
vote for senatorial candidate A.
Hence, the sample proportion or 68%.
However, the political analyst does not
know whether this is a sufficient
evidence to conclude that senatorial
candidate A will top the elections in city
X with at least 0.70 or 70% of the votes.
Situation: Hypothesis Testing
help the political analyst, we shall
To
discuss the concept of hypothesis
testing.
The hypothesis of the political analyst is
that the population proportion is greater
than or equal to 0.70 () against the case
that is less than 0.70 ().
Hypothesis Testing
The null hypothesis is the hypothesis
that the researcher wishes to reject or
not to reject.
This hypothesis includes equality always
and it is denoted by .
Alternative Hypothesis
The alternative hypothesis is the
hypothesis that is accepted if the null
hypothesis is rejected.
This hypothesis allows for the possibility
of several values and it is denoted by
H 1.
This hypothesis may be directional
(quantifier is < or >) or non-directional
(quantifier is ).
Null and Alternative Hypothesis
If is the hypothesized value, then we have
the following possibilities for the null and
alternative hypothesis.
Null Alternative
Hypothesis Hypothesis
,
,
Example: Null and Alternative
Hypothesis
Null Hypothesis
Alternative Hypothesis
Example: Null and Alternative
Hypothesis
Null Hypothesis
Alternative Hypothesis
Example: Null and Alternative
Hypothesis
Null Hypothesis
Alternative Hypothesis
Example: Null and Alternative
Hypothesis
Null Hypothesis
Alternative Hypothesis
Example: Null and Alternative
Hypothesis
Null Hypothesis
Alternative Hypothesis
Example: Null and Alternative
Hypothesis
Null Hypothesis
Alternative Hypothesis
Elements of Hypothesis Testing
The
following are important things to know
about hypothesis testing.
1. Level of Significance,
2. One-tailed versus Two-tailed tests
3. Test Statistic
4. Critical Region
Level of Significance,
The
level of significance, , is the probability
of committing an type I error of rejecting
the null hypothesis when, in fact, it is true.
Null hypothesis
TRUE FALSE
Reject TYPE I Error Correct Decision
Do not Reject Correct Decision TYPE II Error
One-tailed vs. Two-tailed Tests
formula is given by .
Its
Sample proportion , Hypothesized value
and .
Test Statistic
Null Hypothesis
Alternative Hypothesis
Example 1: Hypothesis Testing
Given are the sample proportion and .
Since , the test is two-tailed.
The critical region is Z Test Statistic <
Lower Critical Value or Z Test Statistic >
Upper Critical Value.
Example 1: Hypothesis Testing
Z Test of Hypothesis for the Proportion
Data
Null Hypothesis p= 0.8
Level of Significance 0.05
Intermediate Calculations
Sample Proportion 0.75
Standard Error 0.04472136
Z Test Statistic -1.118033989
Two-Tailed Test
Lower Critical Value -1.959963985
Upper Critical value 1.959963985
p-Value 0.263552477
Example 1: Hypothesis Testing
or ?
Is
Both inequalities are false!
Therefore, the critical region is not
satisfied.
Do not reject and conclude that the and
so the company should release the
product.
Example 2: Hypothesis Testing
A commonly prescribed drug on the market for
relieving nervous tension is believed to be
only 60% effective. Experimental results with
a new drug administered to a random sample
of 100 adults who were suffering from nervous
tension showed that 70 received relief. Is this
sufficient evidence to conclude that the new
drug is superior to the one commonly
prescribed? Use a 0.05 level of significance.
Example 2: Hypothesis Testing
The claim is that the new drug is
superior to the commonly prescribed
drug. This means that .
Null Hypothesis
Alternative Hypothesis
Example 2: Hypothesis Testing
?
Is
The answer is NO!
Therefore, we do not reject and
conclude that which means that the
new drug is not superior than the
commonly prescribed drug.
P-value Approach