Table of Contents |
Hypothesis testing is a method used to make decisions or draw conclusions about a population based on sample data. In the context of hypothesis testing for proportions, the focus is on the percentage of a certain characteristic within a group. For instance, if a company wants to determine if more than 50% of its customers are satisfied with their service, hypothesis testing can be employed. This process involves setting up a hypothesis, collecting data, and using statistical methods to analyze whether the data supports the hypothesis.
In a similar fashion as in the last tutorial, the steps to perform a hypothesis test are as follows:
Just like with population means, there are three types of hypothesis tests for population proportions, based on the direction of the test. A description of each type of test is provided below.
1. Two-Tailed Test:
EXAMPLE
A company wants to test if the proportion of satisfied customers is different from 50%.2. Right-Sided (One-Tailed) Test:
EXAMPLE
A company wants to test if more than 60% of its customers are satisfied with their service.3. Left-Sided (One-Tailed) Test:
EXAMPLE
A company wants to test if less than 40% of its customers are dissatisfied with their service.In the upcoming sections, you will explore the different types of hypothesis tests used in hypothesis tests for proportions: two-tailed, right-tailed, and left-tailed tests. You will discover the purpose of each test, how to perform the test, and how to interpret the results. Whether you are analyzing financial metrics or customer satisfaction surveys, mastering these tests will enhance your analytical skills and decision-making capabilities.
Let us walk through a practical example of performing a two-tailed hypothesis test for a proportion.
EXAMPLE
SavvyShoppers, a retail company, has recently launched a new customer loyalty program aimed at increasing customer retention and sales. The program offers various incentives, such as discounts, exclusive offers, and reward points for frequent purchases. The company wants to evaluate whether the new loyalty program has significantly changed the customer conversion rate compared to the historical conversion rate.This table provides a guide on which Excel NORM.S.DIST() function to use for calculating p-values in different types of z-tests. It includes functions for two-tailed, right-tailed, and left-tailed tests, specifying the appropriate function and a brief description of each. The value of z in the table represents the test statistic.
Type of Test | Excel Function | Description |
---|---|---|
Two-Tailed Test | =2 * (1 - NORM.S.DIST(ABS(z), TRUE)) | This function calculates the p-value for a two-tailed test by doubling the area in one tail. ABS(z) ensures the z-test statistics is positive, and NORM.S.DIST(z, TRUE) gives the cumulative probability up to the z-test statistic. |
Right-Tailed Test | =1 - NORM.S.DIST(z, TRUE) | This function calculates the area to the right of the z-test statistic for a right-tailed test. NORM.S.DIST(z, TRUE) gives the cumulative probability up to the z-test statistic, and subtracting from 1 gives the right tail area. |
Left-Tailed Test | =NORM.S.DIST(z, TRUE) | This function calculates the cumulative probability up to the z-test statistic for a one-tailed test. If the test is left-tailed, use the z-test statistic directly. No absolute value is needed. |
Let’s walk through a practical example of a right-tailed hypothesis test for a proportion.
EXAMPLE
A university wants to determine if the new online class format has significantly increased student preference for online classes, compared to a historical preference rate of 55%. After implementing the new online class format, the university conducted a survey of 100 students to see if the preference rate has increased.Let’s walk through a practical example of a left-tailed hypothesis test for a proportion.
EXAMPLE
You are working as a data analyst for BrightPay Credit, a credit card company. Historically, 80% of customers pay their credit card bills on time. Recently, there have been concerns that the proportion of on-time payments might have decreased. To investigate this claim, you take a sample of 100 customers and record whether each customer paid their bill on time. You need to conduct a left-tailed hypothesis test to determine if the company’s concern is valid.Source: THIS TUTORIAL WAS AUTHORED BY SOPHIA LEARNING. PLEASE SEE OUR TERMS OF USE.