0% found this document useful (0 votes)
102 views7 pages

Hypothesis Testing Overview and Methods

This document provides an overview of hypothesis testing including: - The objectives of hypothesis testing and common statistical tests used - Defining the null and alternative hypotheses - The three common methods for testing hypotheses - The traditional five steps for hypothesis testing including stating hypotheses, collecting data, and determining whether to reject the null hypothesis - Possible outcomes of hypothesis tests including type I and type II errors

Uploaded by

Jane Mariel Jaya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views7 pages

Hypothesis Testing Overview and Methods

This document provides an overview of hypothesis testing including: - The objectives of hypothesis testing and common statistical tests used - Defining the null and alternative hypotheses - The three common methods for testing hypotheses - The traditional five steps for hypothesis testing including stating hypotheses, collecting data, and determining whether to reject the null hypothesis - Possible outcomes of hypothesis tests including type I and type II errors

Uploaded by

Jane Mariel Jaya
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • Nature of Hypothesis Testing
  • Hypothesis Testing
  • Three Types of Hypothesis Testing
  • Situations in Hypothesis Testing
  • Critical and Noncritical Regions
  • Five Steps in Hypothesis Testing

1

Lecture Notes #1: Hypothesis Testing

Hypothesis Testing

Objectives:
After completing this chapter, you should be able to
• Understand the definitions used in hypothesis testing;
• State the null and alternative hypothesis;
• Find critical values for the z test
• State the five steps used in hypothesis testing.
• Test means when s is known, using the z test.
• Test means when s is unknown, using the t test.
• Test proportions, using the z test.
• Test variances or standard deviations, using the chi-square test.
• Test hypotheses, using confidence intervals.
• Explain the relationship between type I and type II errors and the power of a test.

Nature of Hypothesis Testing


• It is a decision-making process for evaluating claims about a population.
• In hypothesis testing, the researcher must define the population under study, state the particular
hypotheses that will be investigated, give the significance level, select a sample from the
population, collect the data, perform the calculations required for the statistical test, and reach a
conclusion.
• There are two specific statistical tests used for hypotheses concerning means: the z test and the
t test.

Three Methods used to test Hypothesis:


• The traditional method
• The P-value method
• The confidence Interval method

Steps in Hypothesis Testing – Traditional Method


• Every hypothesis-testing situation begins with the statement of a hypothesis.
Definition. A statistical hypothesis is a conjecture about a population parameter. This conjecture may or
may not be true.

Types of Hypothesis Testing


• The null hypothesis, symbolized by H0, is a statistical hypothesis that states that there
is no difference between a parameter and a specific value, or that there is no difference
between two parameters.
• The alternative hypothesis, symbolized by H1, is a statistical hypothesis that states the
existence of a difference between a parameter and a specific value, or states that there is
a difference between two parameters.

Example of how to state the Null and Alternative Hypothesis

Salutation 1. 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.

Situation 2. 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,

Prepared by: Donna Ruth P. Talo, MSc.


2
Lecture Notes #1: Hypothesis Testing

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 3. 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).
Two-tailed test Right-tailed test Left-tailed test
𝐻0 : 𝜇 = 𝑘 𝐻0 : 𝜇 = 𝑘 𝐻0 : 𝜇 = 𝑘
𝐻1 : 𝜇 ≠ 𝑘 𝐻1 : 𝜇 > 𝑘 𝐻1 : 𝜇 < 𝑘

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.

Example: State the null and alternative hypotheses for each conjecture.
a. A researcher thinks that if expectant mothers use vitamin pills, the birth weight of the babies will
increase. The average birth weight of the population is 8.6 pounds.
b. An engineer hypothesizes that the mean number of defects can be decreased in a manufacturing
process of compact disks by using robots instead of humans for certain tasks. The mean number
of defective disks per 1000 is 18.
c. A psychologist feels that playing soft music during a test will change the results of the test. The
psychologist is not sure whether the grades will be higher or lower. In the past, the mean of the
scores was 73.
Solution
a. 𝐻0 : 𝜇 = 8.6 𝑎𝑛𝑑 𝐻1 : 𝜇 > 8.6
b. 𝐻0 : 𝜇 = 18 𝑎𝑛𝑑 𝐻1 : 𝜇 < 18
c. 𝐻0 : 𝜇 = 73 𝑎𝑛𝑑 𝐻1 : 𝜇 ≠ 73

After stating the hypothesis, the researcher designs the study. The researcher selects the correct
statistical test, chooses an appropriate level of significance, and formulates a plan for conducting the
study. In situation A, for instance, the researcher will select a sample of patients who will be given the
drug. After allowing a suitable time for the drug to be absorbed, the researcher will measure each person’s
pulse rate.

Prepared by: Donna Ruth P. Talo, MSc.


3
Lecture Notes #1: Hypothesis Testing

Situations in Hypothesis Testing

• A statistical test uses the data obtained from a sample to make a decision about whether the null
hypothesis should be rejected.
• The numerical value obtained from a statistical test is called the test value.

Possible Outcomes of a Hypothesis Test

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 below. Notice that there
are two possibilities for a correct decision and two possibilities for an incorrect decision.

Prepared by: Donna Ruth P. Talo, MSc.


4
Lecture Notes #1: Hypothesis Testing

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.

• The level of significance is the maximum probability of committing a type I error. This probability
is symbolized by a (Greek letter alpha). That is, 𝑃(𝑡𝑦𝑝𝑒 𝐼 𝑒𝑟𝑟𝑜𝑟) = 𝛼.
• The critical value separates the critical region from the noncritical region. The symbol for critical
value is C.V.
• The critical or rejection region is the range of values of the test value that indicates that there is
a significant difference and that the null hypothesis should be rejected.
• The noncritical or nonrejection region is the range of values of the test value that indicates that
the difference was probably due to chance and that the null hypothesis should not be rejected.
• A one-tailed test indicates that the null hypothesis should be rejected when the test value is in
the critical region on one side of the mean. A one-tailed test is either a right-tailed test or left-
tailed test, depending on the direction of the inequality of the alternative hypothesis.

• 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 (a) above.
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 (b)
above.

Critical and Noncritical Regions for 𝜶 = 𝟎. 𝟎𝟏(Right-Tailed Test)

Prepared by: Donna Ruth P. Talo, MSc.


5
Lecture Notes #1: Hypothesis Testing

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 the next figure.

• In a two-tailed test, the null hypothesis should be rejected when the test value is in either of the
two critical regions.

For a two-tailed test, then, the critical region must be split into two equal parts. If a 0.01, then one-half
of the area, or 0.005, must be to the right of the mean and one-half must be to the left of the mean, as
shown in the next figure.

In this case, the z value on the left side is found by looking up the z value corresponding to an area of
0.0050. The z value falls about halfway between -2.57 and -2.58 corresponding to the areas 0.0049 and
0.0051. The average of -2.57 and -2.58 is[(-2.57) + (-2.58)] / 2 =2.575 so if the z value is needed to three
decimal places, -2.575 is used; however, if the z value is rounded to two decimal places, -2.58 is used.
On the right side, it is necessary to find the z value corresponding to 0.99 + 0.005, or 0.9950. Again, the
value falls between 0.9949 and 0.9951, so +2.575 or 2.58 can be used.

Prepared by: Donna Ruth P. Talo, MSc.


6
Lecture Notes #1: Hypothesis Testing

Example:

Using Table E in Appendix C, find the critical value(s) for each situation and draw the appropriate figure,
showing the critical region.

a. A left-tailed test with 𝑎 = 0.10.


b. A two-tailed test with 𝑎 = 0.02.
c. A right-tailed test with 𝑎 = 0.005.
Solution a
Step 1 Draw the figure and indicate the appropriate area. Since this is a left-tailed test, the area of 0.10
is located in the left tail, as shown in Figure 8–10.

Step 2 Find the area closest to 0.1000 in Table E. In this case, it is 0.1003. Find the z value that
corresponds to the area 0.1003. It is -1.28.

Solution b
Step 1 Draw the figure and indicate the appropriate area. In this case, there are two areas equivalent to
0.02
𝑎/2, or = 0.01.
2
0.02
Step 2 For the left z critical value, find the area closest to 𝑎/2, or = 0.01. In this case, it is 0.0099.
2
0.02
For the right z critical value, find the area closest to 1 − 𝑎/2, or 1 - = 0.9900. In this case, it is
2
0.9901.

Find the z values for each of the areas. For 0.0099, z= -2.33. For the area of 0.9901, z = 0.9901, z= +2.33.

Solution c
Step 1 Draw the figure and indicate the appropriate area. Since this is a right-tailed test, the area 0.005
is located in the right tail,

Step 2 Find the area closest to 1 − 𝑎, or 1 − 0.005 = 0.9950. In this case, it is 0.9949 or 0.9951. The
two z values corresponding to 0.9949 and 0.9951 are +2.57 and +2.58. Since 0.9500 is halfway between
these two values, find the average of the two values (+2.57 + 2.58) / 2 = +2.575. However, 2.58 is most
often used.

Prepared by: Donna Ruth P. Talo, MSc.


7
Lecture Notes #1: Hypothesis Testing

Five Steps in Hypothesis Testing

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.

Prepared by: Donna Ruth P. Talo, MSc.

Common questions

Powered by AI

Type I and type II errors are central considerations in hypothesis testing. A Type I error occurs when the null hypothesis is true, but is incorrectly rejected. It is associated with the significance level (alpha), which represents the probability of making this error. A Type II error occurs when the null hypothesis is false, but it is not rejected. This error is connected to the power of the test, which indicates the test's ability to detect an effect when there is one. Balancing these errors involves selecting an appropriate significance level and ensuring sufficient sample size to detect actual effects, influencing the reliability and validity of conclusions .

Hypothesis testing involves a structured process consisting of five critical steps: 1) stating the hypotheses, both null (H0) and alternative (H1), 2) designing the study, which includes selecting the appropriate statistical test and significance level, and planning for data collection, 3) conducting the study and collecting the data, 4) evaluating the data through statistical analysis to decide whether to reject the null hypothesis, and 5) summarizing the results. These steps ensure a systematic approach to decision-making about population claims, minimizing errors and bias in conclusions .

In a right-tailed test, the critical value is determined by selecting a significance level (alpha), such as 0.01, and finding the z value such that the chosen percentage of the area falls to the right. For instance, with α = 0.01, the critical z value corresponding to 0.9900 is approximately 2.33. This critical value determines the threshold at which the null hypothesis is rejected. If the test statistic exceeds this value, it suggests a significant result supporting the alternative hypothesis; otherwise, the null hypothesis is maintained .

A two-tailed test in hypothesis testing is used when the alternative hypothesis states that a parameter is different from the specified value, without indicating the direction of the difference. It checks for deviations in both directions from the specified parameter value, requiring the critical region to be split into two tails. This differs from one-tailed tests, which are directional, allowing the null hypothesis to be rejected only if the test statistic falls in the critical region on one side of the distribution—either right-tailed or left-tailed depending on the hypothesis .

Critical and non-critical regions help determine the outcome of a hypothesis test. The critical region comprises values of the test statistic that lead to the rejection of the null hypothesis, indicating a significant difference from the parameter being tested. The non-critical region includes values that suggest the observed difference is likely due to chance, thus not rejecting the null hypothesis. Determining these regions requires setting a significance level and finding the critical value, which defines the boundary between them. This distinction guides the decision to accept or reject the null hypothesis .

The level of significance, symbolized by alpha (α), directly affects the probability of committing a Type I error, which is rejecting a true null hypothesis. A lower alpha level decreases the risk of a Type I error but increases the probability of a Type II error. Researchers control this by setting an alpha level based on the context and importance of avoiding false positives, typically using common levels like 0.05 or 0.01, balancing the trade-offs between Type I and Type II errors .

The choice of alpha levels in research depends on the stakes involved. In medical studies, where false positives can lead to harmful treatments, a lower alpha level (e.g., 0.01) is often chosen to minimize Type I errors. Conversely, in economic studies, where risks of Type I errors may have less severe consequences, a higher alpha level (e.g., 0.05) might be acceptable. This choice reflects the balance between the costs of making errors and the need for evidence against the null hypothesis, adapting to the specific context and implications of the research field .

The choice between a z test and a t test depends on whether the population standard deviation is known. When the population standard deviation (s) is known, a z test is used for testing means. Conversely, when the population standard deviation is unknown, a t test is appropriate as it accounts for the variability introduced by the sample estimation of the population parameter .

Hypothesis tests using confidence intervals involve determining if the interval contains the population parameter specified in the null hypothesis. If it does not, the null hypothesis is rejected. This method is visual and intuitive, unlike the traditional method, which relies on the comparison of test statistics with critical values, and the P-value method, which compares the significance level with calculated probabilities. All methods aim to draw conclusions about a hypothesis, but the confidence interval provides a range of plausible values, offering additional information about the estimate's precision .

The design of a hypothesis testing study impacts its validity by determining how well the study addresses the research question, controls for confounding variables, and accurately measures outcomes. Key elements include the selection of appropriate statistical tests, significance levels, sampling methods, and data collection procedures. A thoughtfully designed study minimizes biases and errors, ensuring that the results are reflective of true population parameters. Poor design can lead to inaccurate conclusions and diminish the credibility of findings, emphasizing the importance of careful planning and execution in hypothesis tests .

Lecture Notes #1: Hypothesis Testing 
 
Prepared by: Donna Ruth P. Talo, MSc. 
1 
Hypothesis Testing 
 
Objectives: 
After co
Lecture Notes #1: Hypothesis Testing 
 
Prepared by: Donna Ruth P. Talo, MSc. 
2 
then her hypotheses are 
𝐻0: 𝜇=  36 𝑎𝑛?
Lecture Notes #1: Hypothesis Testing 
 
Prepared by: Donna Ruth P. Talo, MSc. 
3 
Situations in Hypothesis Testing 
 
 
 
•
Lecture Notes #1: Hypothesis Testing 
 
Prepared by: Donna Ruth P. Talo, MSc. 
4 
 
If a null hypothesis is true and it is re
Lecture Notes #1: Hypothesis Testing 
 
Prepared by: Donna Ruth P. Talo, MSc. 
5 
Now, move on to situation C, where the cont
Lecture Notes #1: Hypothesis Testing 
 
Prepared by: Donna Ruth P. Talo, MSc. 
6 
Example: 
Using Table E in Appendix C, find
Lecture Notes #1: Hypothesis Testing 
 
Prepared by: Donna Ruth P. Talo, MSc. 
7 
Five Steps in Hypothesis Testing 
1. State

You might also like