Tutorials › Introduction to Statistics › Choose a One-Mean Procedure

Choosing the Right Procedure · Tutorial 778 of 996

Choose a One-Mean Procedure

Learn to recognize when one population mean is being compared with a fixed reference value and select the corresponding inference procedure.

Intermediate 9 min read

What You'll Learn

  • Identify the population mean and reference value in a one-mean question.
  • Distinguish one-mean inference from inference about a proportion or a difference between groups.
  • Choose a one-sample t procedure when the population standard deviation is unknown.
  • Recognize the uncommon one-sample z procedure when the population standard deviation is known.
  • Check the basic design and distribution requirements before applying a mean procedure.
  • Interpret a test statistic and p-value in the context of a reference value.

Introduction

A health report might ask whether the average resting pulse in a population differs from a clinical reference value. A campus survey might ask whether students sleep an average of seven hours per night. In both cases, the data come from one population, the measurement is quantitative, and the question compares that population’s mean with a specified number.

Recognizing that structure is the first step in choosing a procedure. The key is not simply that the data are numbers: it is that the target is one population mean, rather than a proportion or a difference between populations. Once that target is clear, the main choice is whether the population standard deviation is known.

Recognizing a One-Mean Question

Definition: A one-mean inference question uses data on a quantitative variable from one population to learn about its population mean, \(\mu\), in comparison with a specified reference value, \(\mu_0\). The sample mean, \(\bar{x}\), summarizes the observed sample; it is not the population mean itself.

For example, if a random sample of campus residents records hours of sleep, the population might be all campus residents, the quantitative measurement is sleep duration in hours, and the parameter is their population mean sleep duration, \(\mu\). If the question compares that mean with seven hours, then \(\mu_0=7\) hours is the reference value.

The reference value is a benchmark, not a second sample. Comparing a sample mean with a fixed target does not turn the question into a comparison of two groups. By contrast, if data are collected from two separate populations and the question concerns the difference between their means, that is a two-group question. If the outcome is a Yes/No category summarized by a proportion, it is not a mean question.

A useful first pass is therefore to name the measurement, population, and parameter in words. Ask: “What quantitative measurement is recorded for each individual? Which one population does the question concern? Is its mean being compared with a fixed number?” If these answers fit, one-mean inference is a candidate. The design and assumptions must still be appropriate.

Choose Between a One-Sample t and z Procedure

In most applications, the population standard deviation \(\sigma\) is not known. It must be estimated using the sample standard deviation \(s\), so the usual procedure is a one-sample t procedure. A one-sample z procedure is appropriate for a mean when \(\sigma\) is genuinely known. Knowing the reference value \(\mu_0\) does not mean that \(\sigma\) is known: they are different quantities.

Procedure choice: For one quantitative sample compared with a reference mean \(\mu_0\), use a one-sample t procedure when \(\sigma\) is unknown. Use a one-sample z procedure when \(\sigma\) is known. The t procedure uses \(s\) to estimate variability; the z procedure uses the known \(\sigma\).

For a one-sample t test, the test statistic is

$$ t=\frac{\bar{x}-\mu_0}{s/\sqrt{n}}, \qquad df=n-1. $$

Here, \(n\) is the sample size, \(s/\sqrt{n}\) is the estimated standard error of the sample mean, and \(df\) is the degrees of freedom used with the t distribution. For a one-sample z test with known \(\sigma\), replace the estimated standard error by \(\sigma/\sqrt{n}\):

$$ z=\frac{\bar{x}-\mu_0}{\sigma/\sqrt{n}}. $$

These statistics express the difference between the observed sample mean and the reference mean in standard-error units. A value near zero means the sample mean is close to the reference relative to its estimated sampling variability. A larger absolute value means the observed difference is farther from the reference in those units. For a test, the p-value is calculated from the relevant t or standard normal distribution using the direction specified by the research question.

Why the t Statistic Has This Form

The standard deviation of the sampling distribution of \(\bar{x}\), when observations are independent and have population standard deviation \(\sigma\), is \(\sigma/\sqrt{n}\). This is the standard error when \(\sigma\) is known. If it is unknown, replacing it with \(s\) gives the estimated standard error \(s/\sqrt{n}\). The observed distance from the benchmark is \(\bar{x}-\mu_0\); dividing by its standard error puts that distance on a common scale:

$$ \frac{\text{observed distance from reference}} {\text{estimated standard error}} = \frac{\bar{x}-\mu_0}{s/\sqrt{n}}. $$

When observations come from a normal population, this standardized quantity follows a t distribution with \(n-1\) degrees of freedom under the reference-mean model. The t distribution accounts for the extra uncertainty from estimating \(\sigma\) with \(s\). If \(\sigma\) is known instead, standardizing by \(\sigma/\sqrt{n}\) gives the z statistic. In either case, the formulas rely on a sampling design and distributional conditions that make the stated sampling model reasonable.

Worked Examples

Worked Example: Campus Sleep Compared With Seven Hours

Suppose a hypothetical random sample of nine campus residents reports these hours of sleep on a particular night: 6, 7, 7, 8, 5, 6, 7, 8, and 6 hours. The question is whether the population mean differs from seven hours. Choose a procedure and calculate its test statistic.

Identify the parameter. The measurement is quantitative, and the question concerns the mean sleep duration for one population of campus residents. The benchmark is \(\mu_0=7\) hours. This is one-mean inference, not inference about a proportion or a difference between two groups.

Check the procedure choice. The population standard deviation is not supplied as known, so use a one-sample t procedure. For this small sample, the calculation is appropriate only if the sample observations can reasonably be treated as independent and the population distribution is approximately normal, with no severe skewness or extreme outliers. Assume the sample was selected independently and that those distribution conditions are reasonable for this hypothetical example.

The sum of the measurements is \(60\), so \(\bar{x}=60/9=6.667\) hours. The sum of squared measurements is \(408\), and the sum of squared deviations from the sample mean is \(408-60^2/9=8\). Thus \(s=\sqrt{8/(9-1)}=1.000\) hour. The estimated standard error is \(1/\sqrt{9}=0.3333\) hour, giving

$$ t=\frac{6.667-7}{1.000/\sqrt{9}} =\frac{-0.3333}{0.3333} =-1.000,\qquad df=9-1=8. $$

For a two-sided question, the t distribution with 8 degrees of freedom gives a p-value of approximately \(0.347\). If the test is conducted at \(\alpha=0.05\), this p-value is not small enough to reject the reference-mean model. The data do not provide statistically significant evidence that the population mean sleep duration differs from seven hours. This is not proof that the mean equals seven hours.

Worked Example: A Health Measurement With Unknown Population Variability

In a hypothetical health assessment, a random sample of 16 adults has a mean resting pulse of \(124\) beats per minute and a sample standard deviation of \(12\) beats per minute. Suppose the question is whether the population mean differs from a reference value of \(120\) beats per minute.

Identify the parameter and procedure. The outcome is quantitative, one population is under study, and the parameter is its mean resting pulse. The value \(120\) beats per minute is a fixed reference, not a second group. Because \(\sigma\) is unknown and the sample standard deviation is given, use a one-sample t procedure. Assume the hypothetical random sample is independent and that inspection of the data supports an approximately symmetric population distribution without serious outliers; those conditions are important with a sample of 16.

The estimated standard error is \(s/\sqrt{n}=12/\sqrt{16}=12/4=3\) beats per minute. Therefore,

$$ t=\frac{\bar{x}-\mu_0}{s/\sqrt{n}} =\frac{124-120}{12/\sqrt{16}} =\frac{4}{3} =1.333,\qquad df=16-1=15. $$

For a two-sided test, the t distribution with 15 degrees of freedom gives \(P\)-value approximately \(0.202\). At the \(0.05\) significance level, the sample does not provide statistically significant evidence that the population mean resting pulse differs from 120 beats per minute. The test does not establish that the population mean is exactly 120.

Worked Example: When the Population Standard Deviation Is Known

Suppose a hypothetical sample of 25 campus residents has a mean daily screen time of \(52.4\) minutes for a particular activity. The population standard deviation is known from a separate, reliable source to be \(5.0\) minutes. The question asks whether the population mean differs from \(50\) minutes. Assume the sample is random and independent, and the sampling distribution of the mean is adequately approximated by a normal distribution.

The target is one population mean, and \(\sigma=5.0\) minutes is stated to be known, so this is a one-sample z procedure. The standard error is \(5.0/\sqrt{25}=1.0\) minute. The standardized difference is

$$ z=\frac{\bar{x}-\mu_0}{\sigma/\sqrt{n}} =\frac{52.4-50}{5.0/\sqrt{25}} =\frac{2.4}{1.0} =2.400. $$

For a two-sided test, the standard normal distribution gives a p-value of about \(0.0164\). At \(\alpha=0.05\), this is evidence that the population mean screen time differs from 50 minutes. The sample mean is higher than the reference, but the conclusion concerns evidence about a population mean; it does not establish why the mean differs.

A Practical Selection Checklist

Procedure selection becomes more reliable when the question, design, and known information are considered in order. Use this short sequence before calculating a statistic:

1
Name the target.
Write the parameter in context. If it is one population mean for a quantitative measurement, continue considering a one-mean procedure.
2
Separate a benchmark from a group.
A fixed reference value \(\mu_0\) is not a second population. If the question instead asks about a difference between two populations, one-mean inference is not the matching procedure.
3
Determine whether \(\sigma\) is known.
Use a one-sample t procedure when it is unknown; use a one-sample z procedure only when the population standard deviation is known.
4
Check the design and model.
Confirm that observations are independent and that the sample and population distribution support the chosen mean procedure. A formula alone does not make unsuitable data valid for inference.

The conditions depend on how the data were collected and on the distribution of the measurement. A random or otherwise defensible sampling design supports generalization to the target population; dependence between observations can undermine the standard error calculation. With a small sample, the population distribution should be reasonably close to normal and should not have severe outliers. Larger samples can make inference more robust to moderate nonnormality, but they do not repair biased sampling or dependence.

Common Mistakes and Why the Choice Matters

  • Treating the reference value as a second sample. Comparing one sample mean with a stated clinical or policy benchmark is still one-mean inference. A second group is present only if a second population was actually sampled.
  • Using a proportion procedure for a quantitative measurement. The question about average sleep in hours is about a mean. A question about the percentage of residents who sleep at least seven hours is about a proportion.
  • Confusing \(\mu_0\) with \(\sigma\). The benchmark is the hypothesized or comparison value for the mean; the population standard deviation describes variation among individual measurements. Knowing one does not imply knowing the other.
  • Choosing z because the sample is large. A large sample does not make an unknown population standard deviation known. When \(\sigma\) is unknown, the standard one-mean choice remains the t procedure.
  • Assuming a nonsignificant result proves equality. A large p-value means the data do not provide strong evidence against the reference-mean model under the specified test. It does not establish that the population mean equals the reference exactly.

Choosing the right procedure keeps the parameter, sampling design, and uncertainty calculation aligned. It also prevents an easy but consequential error: answering a question about an average with a method intended for percentages or group differences. Always state the population mean and reference value in context before reporting the calculation.

Check Your Understanding

For each situation, identify whether one-mean inference is appropriate and, if so, choose the procedure.

  1. A random sample of patients provides a quantitative cholesterol measurement. The question compares the population mean with a clinical benchmark, and the population standard deviation is unknown. Which procedure is a candidate, and what is the parameter?
  2. A campus survey records whether each student uses a meal plan. The question concerns the percentage of all students who do. Is this a one-mean question? Explain.
  3. A study samples two independent groups and compares their average commute times. Why is one-mean inference not the matching procedure?
  4. A sample mean is compared with a reference value, and the population standard deviation is known. Which one-mean procedure is appropriate?
  5. In one sentence, explain why a nonsignificant one-mean test does not prove that the population mean equals the reference value.