Skip to content
EvidenceHelixEvidenceLib · Scientific Encyclopedia
⌘ K

Scientific library

EvidenceLib encyclopediaAll articles A–Z2,100Open textbooks35Open-access articles1,010Cancer study catalog458How it is made

My workspace this browser

Saved pages0Notes & annotations0

Recently viewed

Explore by field

Cancer and Oncology182Genetics and Genomics170Neuroscience185Cardiovascular Medicine180Immunology162Pharmacology174Molecular Biology161Infectious Diseases150Rare and Inherited Diseases181Clinical Research173Anatomy and Physiology617Drugs and Chemicals621Psychiatry and Psychology75Public Health and Nutrition64Diagnostics and Medical Technology15
Plans & pricingCompare EvidenceHelix workspace plans
Library›Open textbooks›Statistics›Distribution Needed for Hypothesis Testing

Continue where you left off ()

Explore more with EvidenceHelix Workspace

Compare studies, analyze evidence and create research reports with premium tools.

Explore Researcher plans

Statistics · Hypothesis Testing with One Sample

Distribution Needed for Hypothesis Testing

CC BY 4.0 · OpenStax · approximately 6 min read

Learning objectives

Earlier in the course, we discussed sampling distributions. Particular distributions are associated with hypothesis testing. Perform tests of a population mean using a normal distribution or a Student's t-distribution. (Remember, use a Student's t-distribution when the population standard deviation is unknown and the distribution of the sample mean is approximately normal.) We perform tests of a population proportion using a normal distribution (usually n is large).

Assumptions

When you perform a hypothesis test of a single population mean μ using a Student's t-distribution (often called a t-test), there are fundamental assumptions that need to be met in order for the test to work properly. Your data should be a simple random sample that comes from a population that is approximately normally distributed. You use the sample standard deviation to approximate the population standard deviation. Note that if the sample size is sufficiently large, a t-test will work even if the population is not approximately normally distributed.

When you perform a hypothesis test of a single population mean μ using a normal distribution (often called a z-test), you take a simple random sample from the population. The population you are testing is normally distributed or your sample size is sufficiently large. You know the value of the population standard deviation which, in reality, is rarely known.

When you perform a hypothesis test of a single population proportion p, you take a simple random sample from the population. You must meet the conditions for a binomial distribution, which are the following: there are a certain number n of independent trials, the outcomes of any trial are success or failure, and each trial has the same probability of a success p. The shape of the binomial distribution needs to be similar to the shape of the normal distribution. To ensure this, the quantities np and nq must both be greater than five (np > 5 and nq > 5). Then the binomial distribution of a sample (estimated) proportion can be approximated by the normal distribution with μ = p and σ= pq n . Remember that q = 1 – p.

Chapter Review

In order for a hypothesis test’s results to be generalized to a population, certain requirements must be satisfied.

When testing for a single population mean:

  1. A Student's t-test should be used if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with an unknown standard deviation.
  2. The normal test will work if the data come from a simple, random sample and the population is approximately normally distributed, or the sample size is large, with a known standard deviation.

When testing a single population proportion use a normal test for a single population proportion if the data come from a simple, random sample, fill the requirements for a binomial distribution, and the mean number of success and the mean number of failures satisfy the conditions: np > 5 and nq > n where n is the sample size, p is the probability of a success, and q is the probability of a failure.

Formula Review

If there is no given preconceived α, then use α = 0.05.

    Types of Hypothesis Tests

  • Single population mean, known population variance (or standard deviation): Normal test.
  • Single population mean, unknown population variance (or standard deviation): Student's t-test.
  • Single population proportion: Normal test.
  • For a single population mean, we may use a normal distribution with the following mean and standard deviation. Means: μ= μ x ¯ and σ x ¯ = σ x n .
  • For a single population proportion, we may use a normal distribution with the following mean and standard deviation. Proportions: µ = p and σ= pq n .

Which two distributions can you use for hypothesis testing for this chapter?

A normal distribution or a Student’s t-distribution

Which distribution do you use when the standard deviation is not known? Assume sample size is large.

Which distribution do you use when the standard deviation is not known and you are testing one population mean? Assume sample size is large.

Use a Student’s t-distribution

A population mean is 13. The sample mean is 12.8, and the sample standard deviation is two. The sample size is 20. What distribution should you use to perform a hypothesis test? Assume the underlying population is normal.

A population has a mean of 25 and a standard deviation of five. The sample mean is 24, and the sample size is 108. What distribution should you use to perform a hypothesis test?

a normal distribution for a single population mean

It is thought that 42 percent of respondents in a taste test would prefer Brand A. In a particular test of 100 people, 39 percent preferred Brand A. What distribution should you use to perform a hypothesis test?

You are performing a hypothesis test of a single population mean using a Student’s t-distribution. What must you assume about the distribution of the data?

It must be approximately normally distributed.

You are performing a hypothesis test of a single population mean using a Student’s t-distribution. The data are not from a simple random sample. Can you accurately perform the hypothesis test?

You are performing a hypothesis test of a single population proportion. What must be true about the quantities of np and nq?

They must both be greater than five.

You are performing a hypothesis test of a single population proportion. You find out that np is less than five. What must you do to be able to perform a valid hypothesis test?

You are performing a hypothesis test of a single population proportion. The data come from which distribution?

binomial distribution

Homework

It is believed that Lake Tahoe Community College (LTCC) Intermediate Algebra students get less than seven hours of sleep per night, on average. A survey of 22 LTCC Intermediate Algebra students generated a mean of 7.24 hours with a standard deviation of 1.93 hours. At a level of significance of 5 percent, do LTCC Intermediate Algebra students get less than seven hours of sleep per night, on average? The distribution to be used for this test is X ¯ ~ ________________

  1. N(7.24, 1.93 22 )
  2. N(7.24,1.93)
  3. t22
  4. t21

d

Glossary

binomial distribution
a discrete random variable (RV) that arises from Bernoulli trials; there are a fixed number, n, of independent trials
Independent means that the result of any trial (for example, trial 1) does not affect the results of the following trials, and all trials are conducted under the same conditions. Under these circumstances the binomial RV Χ is defined as the number of successes in n trials. The notation is: X ~ B(n, p) μ = np and the standard deviation is σ=  npq . The probability of exactly x successes in n trials is P(X=x)=( n x ) p x q n−x .
normal distribution

a bell-shaped continuous random variable X, with center at the mean value (μ) and distance from the center to the inflection points of the bell curve given by the standard deviation (σ)
We write X~N( μ,σ ) . If the mean value is 0 and the standard deviation is 1, the random variable is called the standard normal distribution, and it is denoted with the letter Z.

standard deviation
a number that is equal to the square root of the variance and measures how far data values are from their mean; notation: s for sample standard deviation and σ for population standard deviation
Student's t-distribution
investigated and reported by William S. Gosset in 1908 and published under the pseudonym Student
The major characteristics of the random variable (RV) are as follows
  • It is continuous and assumes any real values.
  • The pdf is symmetrical about its mean of zero. However, it is more spread out and flatter at the apex than the normal distribution.
  • It approaches the standard normal distribution as n gets larger.
  • There is a family of t-distributions: every representative of the family is completely defined by the number of degrees of freedom, which is one less than the number of data items.
← Outcomes and the Type I and Type II ErrorsRare Events, the Sample, and the Decision and Conclusion →

Attribution. Statistics, OpenStax, Rice University, and the contributing authors credited in the book. Licensed under Creative Commons Attribution 4.0 International. Source revision 7dea80ae28 of openstax/osbooks-statistics (2026-04-23). CC BY 4.0. Original source ↗. Text edition of a pinned CC BY 4.0 source revision of the OpenStax book, converted from CNXML by the EvidenceHelix importer. Original prose, learning objectives, tables, exercises, glossary and captions are preserved; images are not copied (figures link to the original source and keep their credits). No new content was added. Later revisions of this book can carry different licence terms and are not used.

In this chapter Contents

  • Introduction
  • Null and Alternative Hypotheses
  • Outcomes and the Type I and Type II Errors
  • Distribution Needed for Hypothesis Testing
  • Rare Events, the Sample, and the Decision and Conclusion
  • Additional Information and Full Hypothesis Test Examples
  • Hypothesis Testing of a Single Mean and Single Proportion

Source

OpenStax source file ↗

Illustrated original ↗

EvidenceLib is a research-education resource, not medical advice. It does not diagnose, prescribe or recommend starting, stopping or changing any treatment. Talk to a qualified clinician about your own situation. Methods, sources and licences · Rights and removal requests · Legal · Support