Download ArticleDownload Article

Hypothesis testing for a proportion is used to determine if a sampled proportion is significantly different from a specified population proportion. For example, if you expect the proportion of male births to be 50 percent, but the actual proportion of male births is 53 percent in a sample of 1000 births. Is this significantly different from the hypothesized population parameter? To find out, follow these steps.

  1. How.com.vn English: Step 1 Formulate your research question.
    Hypothesis testing for a proportion is appropriate for comparing proportions of a sample to a hypothesized population parameter.
    • Examples of questions that can be answered using hypothesis testing for a proportion:
      • Are there more than 50 percent of Americans who self-identify as liberal?
      • Is the percentage of defects in a given manufacturing plant more than 5%?
      • Is the proportion of babies born male different from 50 percent?
    • Examples of questions that should be answered using another test:
      • Are there more Americans who self-identify as liberal than as conservative? (Use hypothesis testing for 2 proportions instead.)
      • Is the mean number of defects in a given manufacturing plant more than 50 per month? (Use hypothesis testing for one sample t-test instead.)
      • Are male births related to paternal age? (Use chi-square test for independence instead.)
  2. How.com.vn English: Step 2 Check to see if the following assumptions are met:
    [1]
    • Simple random sampling is used.
    • Each sample point can result in only one of two possible outcomes. These outcomes are called successes and failures.
    • The sample includes at least 10 successes and 10 failures.
    • The population size is at least 20 times as big as the sample size.
    Advertisement
  3. How.com.vn English: Step 3 State the null hypothesis and the alternative hypothesis.
    The null hypothesis (H0) always contains an equality, and is the one you are trying to refute. The alternative (research) hypothesis never contains an equality, and is the one you are trying to confirm. These two hypotheses are stated so that they are mutually exclusive and collectively exhaustive. Mutually exclusive means that if one is true, the other must be false, and vice versa. Collectively exhaustive means that at least one of the outcomes must occur. Your hypotheses are formulated depending on whether it is right-tailed, left-tailed, or 2-tailed:
    • Right-tailed: Research question: Is the sample proportion greater than the hypothesized population proportion? Your hypotheses would be stated as follows: H0: p<=p0; Ha: p>p0.
    • Left-tailed: Research question: Is the sample proportion less than the hypothesized population proportion? Your hypotheses would be stated as follows: H0: p>=p0; Ha: p<p0.
    • Two-tailed: Research question: Is the sample proportion different from the hypothesized population proportion? Your hypotheses would be stated as follows: H0: p=p0; Ha: p<>p0.
    • In your example, you can use a two-tailed test to see if the sample proportion of male births, 0.53, is different from the hypothesized population proportion of 0.50. So H0: p=0.50; Ha: p<>0.50. Typically, if there is no a priori reason to believe that any differences must be unidirectional, the two-tailed test is preferred as it is a more stringent test.
  4. How.com.vn English: Step 4 Set an appropriate significance level (alpha).
    By definition, the alpha level is the probability of rejecting the null hypothesis when the null hypothesis is true.[2] Most commonly, alpha is set at 0.05, although any other values (between 0 and 1, exclusive) can be used instead. Other commonly used alpha values include 0.01 and 0.10.
  5. How.com.vn English: Step 5 Calculate the test statistic, z.
    The formula is z = (p - p0)/s, where s = standard deviation of the sampling distribution = sqrt(p0*(1-p0)/n).
    • In our example, p=0.53, p0=0.50, and n=1000. s = sqrt(0.50*(1-0.50)/1000) = 0.0158. the test statistic is z = (0.53-0.50)/0.0158 = 1.8974.
  6. How.com.vn English: Step 6 Convert the test statistic to a p value.
    p value is the probability that a randomly selected sample of n would have a sample statistic at least as different as the one obtained. p value is the tail area under the normal curve in the direction of the alternative hypothesis. For example, if a right-tailed test is used, p value is the right-tailed area, or area to the right of the z value. If a two-tailed test is used, p value is the area in both tails. p value can be found using one of several methods:
    • Normal distribution probability z table. It is important to read the table description to note what probability is listed by the table. Some tables list cumulative (left side) area, others list right tail area, still others list only area from mean up to a positive z value.
    • Excel. The excel function =norm.s.dist(z,cumulative). Substitute the numeric value for z and "true" for cumulative. This excel formula gives cumulative area to the left of a given z value. For your example, you would use the formula =norm.s.dist(1.8974,true) to find the cumulative left side area, which includes the left tail and the body. (Body is the area from -z to z.) You can subtract this from 1 to find the right tail area. Since your example is 2-tailed, you would then multiply by 2. A formula for p can be =2*(1-norm.s.dist(1.8974,true)). The output is 0.0578.
    • Texas Instrument calculator, such as TI-83 or TI-84.
    • Online normal distribution calculators.
  7. How.com.vn English: Step 7 Decide between null hypothesis or alternative hypothesis.
    If p<alpha, reject H0. Otherwise, fail to reject H0. In your example, since p=0.0578 is greater than alpha=0.05, you fail to reject H0.
  8. How.com.vn English: Step 8 State a conclusion about the research question.
    For your example, you fail to reject the null hypothesis that the proportion of babies born male is 0.50. There is insufficient evidence to support the claim that the proportion of male birth is not 0.50.
  9. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Expert Interview

      Thanks for reading our article! If you’d like to learn more about teaching, check out our in-depth interview with Joseph Quinones.

      About This Article

      How.com.vn English: Joseph Quinones
      Co-authored by:
      High School Physics Teacher
      This article was co-authored by Joseph Quinones. Joseph Quinones is a High School Physics Teacher working at South Bronx Community Charter High School. Joseph specializes in astronomy and astrophysics and is interested in science education and science outreach, currently practicing ways to make physics accessible to more students with the goal of bringing more students of color into the STEM fields. He has experience working on Astrophysics research projects at the Museum of Natural History (AMNH). Joseph recieved his Bachelor's degree in Physics from Lehman College and his Masters in Physics Education from City College of New York (CCNY). He is also a member of a network called New York City Men Teach. This article has been viewed 34,573 times.
      2 votes - 100%
      Co-authors: 5
      Updated: July 31, 2023
      Views: 34,573
      Thanks to all authors for creating a page that has been read 34,573 times.

      Reader Success Stories

      • How.com.vn English: Shanaya Malik

        Shanaya Malik

        Jun 29, 2019

        "I had to do hypothesis testing on my research topic. Many websites failed to explain to me the right and clear way..." more
        Rated this article:
      Share your story

      Did this article help you?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement