Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

MC Math 13 Module 11

Download as pdf or txt
Download as pdf or txt
You are on page 1of 17

Module 11

Hypothesis Testing

Prepared by:
EDWARD B. PESCUELA
Instructor

“Most people use statistics like a drunk man uses a lamppost; more for support than
illumination”
― Andrew Lang

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


MODULE 11
Hypothesis Testing

Introduction
Hypothesis testing is an act in statistics whereby an analyst tests an assumption regarding a
population parameter. The methodology employed by the analyst depends on the nature of the data used
and the reason for the analysis. Hypothesis testing is used to assess the plausibility of a hypothesis by
using sample data. Such data may come from a larger population, or from a data-generating process. The
word "population" will be used for both of these cases in the following descriptions.
Before each activity, fast facts and discussions are given to help you understand the concepts and
processes involved as well as to solve problems in each activity. The activities will be done individually.
Answers in every assessment must be written or encoded on a short bond paper following the given
format. Please do not forget to write your significant learning experience at the last part of your output. The
submission of Module 11 outputs will be on May 25, 2021. If you have queries, you may reach me through
FB Group Chat during our scheduled date. Thank you and have fun!

Format

Name: ______________________________________ Year & Section: ________________


Date: _______________________________________ Instructor: Mr. Edward B. Pescuela

MC Math 13: Elementary Statistics & Probability


Module 11: Hypothesis Testing

Pretest/Exercise1/Activity 1
1.)
2.)
3.)

My Significant Learning Experience


In this module, I have learned that …
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
_________________________________________________________________________
.

_____________________________
Signature over Printed Name

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


Objectives
At the end of the week, the pre-service teacher (PST) should be able to:
1. differentiate between null and alternative hypotheses
2. formulate null and alternative hypotheses based on the given problem
3. make statistically-based decisions regarding populations through hypothesis testing
procedure using the traditional method and/or p-value method

(Note: Although the definitions of null and alternative hypotheses given here use the word
parameter, these definitions can be extended to include other terms such as distributions and
randomness. This is explained in later chapters.)
As an illustration of how hypotheses should be stated, three different statistical studies will
be used as examples.

Situation A. A medical researcher is interested in finding out whether a new medication will
have any undesirable side effects. The researcher is particularly concerned with the pulse rate of
the patients who take the medication. Will the pulse rate increase, decrease, or remain unchanged
after a patient takes the medication?
Since the researcher knows that the mean pulse rate for the population under study
is 82 beats per minute, the hypotheses for this situation are

𝐻0 : 𝜇 = 82 𝑎𝑛𝑑 𝐻1 : 𝜇 ≠ 82

The null hypothesis specifies that the mean will remain unchanged, and the alternative
hypothesis states that it will be different. This test is called a two-tailed test (a term that will be
formally defined later in this section), since the possible side effects of the medicine could be to
raise or lower the pulse rate.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


Situation B. A chemist invents an additive to increase the life of an automobile battery. If the
mean lifetime of the automobile battery without the additive is 36 months, then her hypotheses are

𝐻0 : 𝜇 = 36 𝑎𝑛𝑑 𝐻1 : 𝜇 > 36

In this situation, the chemist is interested only in increasing the lifetime of the batteries, so her
alternative hypothesis is that the mean is greater than 36 months. The null hypothesis is that the
mean is equal to 36 months. This test is called right-tailed, since the interest is in an increase only.

Situation C. A contractor wishes to lower heating bills by using a special type of insulation in
houses. If the average of the monthly heating bills is $78, her hypotheses about heating costs with
the use of insulation are

𝐻0 : 𝜇 = $78 𝑎𝑛𝑑 𝐻1 : 𝜇 < $78

This test is a left-tailed test, since the contractor is interested only in lowering heating costs.
To state hypotheses correctly, researchers must translate the conjecture or claim from words into
mathematical symbols. The basic symbols used are as follows:

Equal to = Greater than >


Not equal to ≠ Less than >

The null and alternative hypotheses are stated together, and the null hypothesis contains the
equals sign, as shown (where k represents a specified number).

The formal definitions of the different types of tests are given later in this section.
In this book, the null hypothesis is always stated using the equal’s sign. This is done because
in most professional journals, and when we test the null hypothesis, the assumption is that the mean,
proportion, or standard deviation is equal to a given specific value.
Also, when a researcher conducts a study, he or she is generally looking for evidence to
support a claim. Therefore, the claim should be stated as the alternative hypothesis, i.e., using < or
> or ≠. Because of this, the alternative hypothesis is sometimes called the research hypothesis.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


A claim, though, can be stated as either the null hypothesis or the alternative hypothesis;
however, the statistical evidence can only support the claim if it is the alternative hypothesis.
Statistical evidence can be used to reject the claim if the claim is the null hypothesis. These facts
are important when you are stating the conclusion of a statistical study.
Table 8–1 shows some common phrases that are used in hypotheses and conjectures, and
the corresponding symbols. This table should be helpful in translating verbal conjectures into
mathematical symbols.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


In this type of statistical test, the mean is computed for the data obtained from the sample
and is compared with the population mean. Then a decision is made to reject or not reject the null
hypothesis on the basis of the value obtained from the statistical test. If the difference is significant,
the null hypothesis is rejected. If it is not, then the null hypothesis is not rejected.
In the hypothesis-testing situation, there are four possible outcomes. In reality, the null
hypothesis may or may not be true, and a decision is made to reject or not reject it on the basis of
the data obtained from a sample. The four possible outcomes are shown in Figure 8–2. Notice that
there are two possibilities for a correct decision and two possibilities for an incorrect decision.

If a null hypothesis is true and it is rejected, then a type I error is made. In situation A, for
instance, the medication might not significantly change the pulse rate of all the users in the
population; but it might change the rate, by chance, of the subjects in the sample. In this case, the
researcher will reject the null hypothesis when it is really true, thus committing a type I error.
On the other hand, the medication might not change the pulse rate of the subjects in the
sample, but when it is given to the general population, it might cause a significant increase or
decrease in the pulse rate of users. The researcher, on the basis of the data obtained from the sample,
will not reject the null hypothesis, thus committing a type II error.
In situation B, the additive might not significantly increase the lifetimes of automobile
batteries in the population, but it might increase the lifetimes of the batteries in the sample. In this
case, the null hypothesis would be rejected when it was really true. This would be a type I error.
On the other hand, the additive might not work on the batteries selected for the sample, but if it
were to be used in the general population of batteries, it might significantly increase their lifetimes.
The researcher, on the basis of information obtained from the sample, would not reject the null
hypothesis, thus committing a type II error.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


In a hypothesis-testing situation, the researcher decides what level of significance to use. It
does not have to be the 0.10, 0.05, or 0.01 level. It can be any level, depending on the seriousness
of the type I error. After a significance level is chosen, a critical value is selected from a table for
the appropriate test. If a z test is used, for example, the z table (Table E in Appendix C) is consulted
to find the critical value. The critical value determines the critical and noncritical regions.

The critical value can be on the right side of the mean or on the left side of the mean for a
one-tailed test. Its location depends on the inequality sign of the alternative hypothesis. For
example, in situation B, where the chemist is interested in increasing the average lifetime of
automobile batteries, the alternative hypothesis is 𝐻1 : 𝜇 > 36. Since the inequality sign is >, the
null hypothesis will be rejected only when the sample mean is significantly greater than 36. Hence,
the critical value must be on the right side of the mean. Therefore, this test is called a right-tailed
test.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


To obtain the critical value, the researcher must choose an alpha level. In situation B,
suppose the researcher chose 𝛼 = 0.01. Then the researcher must find a z value such that 1% of the
area falls to the right of the z value and 99% falls to the left of the z value, as shown in Figure 8–
4(a).
Next, the researcher must find the area value in Table E closest to 0.9900. The critical z
value is 2.33, since that value gives the area closest to 0.9900 (that is, 0.9901), as shown in Figure
8–4(b).
The critical and noncritical regions and the critical value are shown in Figure 8–5.

Now, move on to situation C, where the contractor is interested in lowering the heating bills.
The alternative hypothesis is 𝐻1 : 𝜇 < $78. Hence, the critical value falls to the left of the mean.
This test is thus a left-tailed test. At 𝛼 = 0.01, the critical value is -2.33, since 0.0099 is the closest
value to 0.01. This is shown in Figure 8–6.
When a researcher conducts a two-tailed test, as in situation A, the null hypothesis can be
rejected when there is a significant difference in either direction, above or below the mean.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021
Similar procedures are used to find other values of a.
Figure 8–9 with rejection regions shaded shows the critical value (C.V.) for the three
situations discussed in this section for values of 𝛼 = 0.10, 𝛼 = 0.05, and 𝛼 = 0.01. The procedure
for finding critical values is outlined next (where k is a specified number).

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021
MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021
In hypothesis testing, the following steps are recommended.
1. State the hypotheses. Be sure to state both the null and the alternative hypotheses.
2. Design the study. This step includes selecting the correct statistical test, choosing a level
of significance, and formulating a plan to carry out the study. The plan should include
information such as the definition of the population, the way the sample will be selected,
and the methods that will be used to collect the data.
3. Conduct the study and collect the data.
4. Evaluate the data. The data should be tabulated in this step, and the statistical test should
be conducted. Finally, decide whether to reject or not reject the null hypothesis.
5. Summarize the results.

For the purposes of this chapter, a simplified version of the hypothesis-testing procedure
will be used, since designing the study and collecting the data will be omitted. The
steps are summarized in the Procedure Table.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


P-Value Method for Hypothesis Testing
Statisticians usually test hypotheses at the common 𝛼 levels of 0.05 or 0.01 and sometimes
at 0.10. Recall that the choice of the level depends on the seriousness of the type I error. Besides
listing an 𝛼 value, many computer statistical packages give a P-value for hypothesis tests.

In other words, the P-value is the actual area under the standard normal distribution curve
(or other curve, depending on what statistical test is being used) representing the probability of a
particular sample statistic or a more extreme sample statistic occurring if the null hypothesis is true.

The P-value method for testing hypotheses differs from the traditional method somewhat.
The steps for the P-value method are summarized next.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021
The following guidelines can be used, but be advised that these guidelines are not written
in stone, and some statisticians may have other opinions.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021


Evaluation

Car Thefts
You recently received a job with a company that manufactures an automobile antitheft
device. To conduct an advertising campaign for the product, you need to make a claim about the
number of automobile thefts per year. Since the population of various cities in the United States
varies, you decide to use rates per 10,000 people. (The rates are based on the number of people
living in the cities.) Your boss said that last year the theft rate per 10,000 people was 44 vehicles.
You want to see if it has changed. The following are rates per 10,000 people for 36 randomly
selected locations in the United States.

Using this information, answer these questions. (Use the traditional and p-value approach in
testing your hypothesis)
1. What hypotheses would you use?
2. Is the sample considered small or large?
3. What assumption must be met before the hypothesis test can be conducted?
4. Which probability distribution would you use?
5. Would you select a one- or two-tailed test? Why?
6. What critical value(s) would you use?
7. Conduct a hypothesis test. Use 𝜎 = 30.3.
8. What is your decision?
9. What is your conclusion?
10. Write a brief statement summarizing your conclusion.
11. If you lived in a city whose population was about 50,000, how many automobile thefts per
year would you expect to occur?

Reference

Bluman, Allan G. Elementary Statistics: a step-by-step approach / Allan Bluman. - 8th ed.

MC MATH 13: ELEMENTARY STATISTICS & PROBABILITY |PESCUELA s. 2021

You might also like