


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Topic: Basic Concepts in Hypothesis-Testing
TARGET (Objectives)
After completing this module, you are expected to:
ļ· be able to state appropriate null and alternative hypotheses of a study
ļ· perform a one-sample z-test
ļ· determine and correctly interpret a p-value
ļ· understand what an alpha level is and the meaning of āstatistically significantā
ļ· find the critical values and relate this to the concept of confidence interval
ļ· differentiate between ātype Iā error and ātype IIā error and how to reduce each
HOOK (Motivation)
Letās look at a simple example first. Suppose your group is going to play a game that
involves tossing a coin. Since you want the game to be as fair as possible, you want to make
sure that the coin youāre going to use is a āfair coinā; meaning, tails is likely to come up as
heads. To verify if the coin is fair, you conduct an experiment of tossing the coin a hundred
times and record each outcome. If out of the hundred tosses, 58 came up heads, what would
you conclude? Is this sufficient evidence for you to conclude that the coin is not fair since it is
more likely to turn up heads than tails?
IGNITE (Lesson Proper)
Weāve learned from previous lessons that in order to conduct a hypothesis test on a
parameter, we need to state the null and alternative hypotheses. The null must be a statement
about the value of a parameter for a model. How do we choose a null hypothesis? The
appropriate null arises directly from the context of the problem. It is dictated by the situation,
not by the data.
Typical null hypotheses might be that the proportion of patients recovering after receiving a
new drug is the same as we would expect of patients receiving a placebo or that the mean
strength attained by athletes training with new equipment is the same as the old equipment.
The alternative hypothesis would be that the new drug cures a higher proportion of patients or
that the new equipment results in a greater mean strength.
There is a temptation to state your claim as the null hypothesis. As what you might have
seen already, from previous readings assigned to you, you cannot prove a null hypothesis true
anymore than you can prove a defendant innocent. So, it makes sense to use what you want to
show as the alternative. This way, if you reject the null, you are left with what you want to
show.
Let us look at the following example from the e-book āStats-Data-&-Modelsā by De Veaux:
In 2000 Florida changed its motorcycle helmet law. Under the new law, riders 21 years or
older are no longer required to wear helmets. After some time, a group of researchers
noticed/suggested that helmet use for this age group may have declined too.
It isnāt practical to survey young motorcycle riders. For example, would they admit to riding
illegally without a helmet? So the researchers adapted a different strategy. Police reports of
motorcycle accidents record whether the rider wore a helmet and give the riderās age. Before
the change in the law, 60% of youths involved in a motorcycle accident had been wearing their
helmets. The study looked at reports from 2001 to 2003, the three years following the law
change and observed that 396 out of 781 young riders (or 50.7%) were wearing helmets. Is this
evidence of a decline in helmet-wearing?
About p-values
A p-value is actually a conditional probability. It tells us the probability of getting results at
least as extreme(unusual) as the observed statistic, given that the null hypothesis is true. In
terms of the Normal graph model, this is area at the tail(s). The lower the p-value, the more
confident we feel about our decision to reject the null hypothesis. But how small should a p-
value be in order for us to be able to reject the null hypothesis? Many would say a value less
than 5% is small enough but this really depends on the threshold value (called the alpha level)
ļ· State your hypotheses
Ho: p =0.
Ha: p <0.
ļ· Check the conditions
ļIndependence Assumption: The riders involved in accidents during a 3-year period are
independent of one another.
ļRandomization Condition: No randomization was applied but weāre considering these riders
involved in accidents to be a representative sample of all riders. Hence, care should be taken
in generalizing our conclusions.
ļ10% condition: 781 riders are a small sample of a larger population of all motorcycle riders.
ļSuccess/Failure Condition: Weād expect np = 781 ( 0.6)=468.6 helmeted riders and
nq = 781 ( 0.4) =312.4 non-helmeted. Both are at least 10.
These conditions are satisfied, so I can use a Normal model and perform a one-proportion z-test.
ļ· Find the standard deviation of the sampling model using hypothesized proportion and compute
the z-score for the observed proportion
^ p =
p
o
q
o
n
z =
^ p ā p
o
p )
ļ· Sketch a Normal model centered at the hypothesized proportion. This is a left-tail test, so the p-
value is the area at the left tail. Using a standard z-table, the area to the left of z =ā5.31 would
be less than 0.
p-value Āæ 0.
ļ· Make a decision and state your conclusion
The p-value is very small. We reject the null hypothesis and conclude that there is a strong
In medical disease testing, for instance, a type I error is a false positive. That is, a healthy
person is diagnosed as having the disease. A type II error is a false negative. Here, an infected
person is diagnosed as disease-free.
In the jury trial, a type I error occurs if the jury convicts an innocent person. A type II error
occurs if the jury fails to convict a guilty person. How likely is a type I error going to occur? The
likelihood is determined by your cho
sen
α
. On the other hand, we assign the letter
β to the probability of committing a type II
error. Note that reducing one type of error tends to increase the other. The only way to reduce
both types of error is to collect more evidence (data).
NAVIGATE (Activities/Exercises)
Conduct a hypothesis test on the problem posed at the Hook part of this module. At
α =0.05, is this enough evidence to suggest that the coin is not fair and that it favors heads?
Submit your solution to your teacher so that your teacher can provide you feedback.
KNOT (Generalization, Evaluation, & Assignment)
In summary, weāve seen how hypothesis testing is done and on top of this, weāve learned that:
ļ· the p-value can indicate evidence against the null hypothesis when itās small
ļ· the alpha-level of the test establishes the level of proof weāll require
ļ· hypothesis tests and confidence intervals are connected: theyāre really two ways of
looking at the same question
ļ· about the two kinds of errors we might make in hypothesis testing and how these errors
might be reduced
Work on problem numbers 2, 3, 6, 7, 10, 15, & 21 from Chap. 21 (pp. 520-523) of the e-book
Stats-Data-and-Models
Prepared by:
Jennifer Ann L. de los Reyes
Special Science Teacher III