Tutorials › VEE Mathematical Statistics › One-Sample and Paired Location Questions

VEE Mathematical Statistics · Sign and Wilcoxon Tests · Tutorial 832 of 880

One-Sample and Paired Location Questions

Choose the location parameter that matches the question, and identify the assumptions needed to interpret sign and signed-rank procedures.

Intermediate 10 min read

What You'll Learn

  • Define a one-sample median as a population location target
  • Set the direction of a paired difference before interpreting its location
  • Distinguish a median target from a mean target
  • Identify the conditions under which a sign procedure addresses a median
  • Explain why a signed-rank procedure requires a symmetry-based location interpretation
  • Recognize when skewness makes a signed-rank interpretation questionable

Start With the Location Question

A location procedure is useful only when its target matches the question. “Has the typical reading changed?” asks about a different feature of a distribution than “Has the average reading changed?” A sign procedure can address a median location without requiring a symmetric distribution. A signed-rank procedure has a location interpretation when the distribution is symmetric about the proposed center. These are different assumptions, so the choice should be made before calculating a test statistic.

For one-sample observations, the target concerns the location of the population distribution of those observations. For paired observations, first define a difference for each pair; the location question then concerns the population distribution of those differences. The direction of subtraction determines what a positive or negative location means.

Definition: A median of a distribution is a value \(\theta\) for which at least half the probability is at or below \(\theta\), and at least half is at or above \(\theta\). A distribution can have more than one median. When the distribution is continuous and has a unique median, \(F(\theta)=0.5\). A location parameter is a parameter describing where a distribution is centered; its precise interpretation depends on the distributional model.

One-Sample and Paired Targets

Suppose \(X_1,\ldots,X_n\) are independent observations from a population distribution. A one-sample location question might compare that distribution’s median \(\theta\) with a reference value \(\theta_0\). For instance, a question about whether a typical processing time exceeds a specified benchmark is naturally expressed as a median question if “typical” means the population median.

A question about an average instead concerns \(E[X]\), when that expectation exists. The mean and median need not be equal. In a skewed distribution, an extreme observation can move the mean substantially while having much less effect on the median. Therefore, choosing a procedure aimed at a median does not answer a question about the mean merely because both are descriptions of location.

For paired data, let \(X_j\) be the first measurement and \(Y_j\) the second measurement on pair \(j\). Define the paired difference consistently, for example,

$$ D_j=Y_j-X_j. $$

If larger \(Y_j\) is an improvement, a positive difference indicates improvement; if smaller \(Y_j\) is desirable, a negative difference may indicate improvement. The target can be the population median of \(D\), the population mean \(E[D]\), or a location parameter under a specified distributional model. The pairs should be independent of one another for the usual one-sample analysis of the differences; the two measurements within a pair are not assumed independent.

Worked Example: A One-Sample Typical Reading

A hypothetical monitoring study records seven daily readings from independent days. Treat the readings as observations from a continuous population, and suppose the question is whether its median differs from 13 units. The observed values are 9, 10, 12, 13, 15, 18, and 60. Identify the target, calculate the sample median and mean, and decide which location interpretation is appropriate if symmetry is not assumed.

Method and assumptions. The stated target is the population median, not the population mean. Use the one-sample observations as independent draws from the population. Since the question does not justify symmetry, a sign-based approach is the natural type of procedure for a median question; details of the test statistic are not needed to choose the target.

Sample median. The observations are already in increasing order. With \(n=7\), the middle observation is the fourth:

$$ \widetilde{x}=13. $$

Sample mean. The sum is \(9+10+12+13+15+18+60=137\), so the mean is \(137/7=19.5714\ldots\). The 60-unit reading pulls the mean well above the sample median.

Conclusion. The question concerns the population median, and the observed sample median is 13 units. A sign procedure can address that median target without assuming symmetry. A signed-rank interpretation would require a defensible symmetric location model, which the problem has not supplied. Common mistake avoided: treating the mean of about 19.57 as the answer to a question specifically about the median. No rounding is needed for the median; the displayed mean is rounded to four decimal places.

What Each Procedure Can Address

Sign procedure: For a one-sample population with a continuous distribution and median \(\theta\), the probability of an observation above \(\theta\) is \(0.5\), as is the probability of one below \(\theta\). Thus a sign-based procedure can test a proposed median location without requiring symmetry. For paired data, apply this interpretation to the distribution of the differences \(D\). If the distribution has point masses or recorded values are rounded, ties at the proposed value need careful treatment; the simple continuous interpretation does not directly describe them.
Signed-rank procedure: A signed-rank procedure is a location procedure under a model in which the population distribution is symmetric about a center \(\theta\). Under that assumption, \(\theta\) is the population median when the median is unique. If the distribution also has a finite mean, its mean is \(\theta\) as well. Without symmetry, a signed-rank result should not automatically be described as a test of the population median or mean.

The distinction is substantive. The sign procedure uses whether an observation lies above or below a proposed location. The signed-rank procedure also uses the sizes of deviations through their ranks. That extra use of magnitude supports its symmetric-location interpretation, but it does not make the procedure valid for every distribution just because the original question uses the word “median.”

Why the Median and Symmetry Conditions Matter

The median connection for the sign procedure follows directly from the definition. If \(X\) has a continuous distribution and \(\theta\) is its unique median, then \(F(\theta)=0.5\). Continuity means there is no probability mass exactly at \(\theta\), so

$$ P(X<\theta)=F(\theta)=0.5 \quad\text{and}\quad P(X>\theta)=1-F(\theta)=0.5. $$

That equal split depends on the median, not on symmetry. It is why a sign-based method can address a median under a skewed continuous distribution.

For a symmetric distribution about \(\theta\), values equally far below and above \(\theta\) have matching probability. If the distribution is continuous with a unique median, this symmetry puts half the probability on each side, so \(\theta\) is the median. If the mean exists, symmetry also centers the mean at \(\theta\): deviations \(X-\theta\) and \(-(X-\theta)\) have the same distribution, so their expectations are negatives of one another and must equal zero. Hence \(E[X]=\theta\). The finite-mean condition matters: symmetry alone does not guarantee that an expectation exists.

For paired data, these arguments apply to \(D=Y-X\), not separately to the two measurement distributions. The distribution of \(Y\) can be skewed, and the distribution of \(X\) can be skewed, while the distribution of their paired differences has a different shape. Conversely, checking that the two measurements have similar spreads does not establish symmetry of \(D\).

Worked Example: Defining a Paired Median Target

In a hypothetical study, six participants record a task time before and after a new routine. For each participant define \(D=\text{after}-\text{before}\), so a negative difference means the recorded time fell. The before-times are 8, 6, 7, 5, 9, and 4 minutes; the after-times are 5, 4, 4, 3, 7, and 2 minutes. The question asks whether the population median paired difference is below zero. Calculate the observed differences and their sample median, and choose the procedure type if symmetry is not established.

Method and assumptions. Treat the six pairs as independent draws from a population of pairs. Dependence within each pair is expected. The target is the median of the difference distribution, and the specified subtraction order must be retained.

Calculate each difference. Subtract the before-time from the after-time for each participant:

$$ 5-8=-3,\quad 4-6=-2,\quad 4-7=-3,\quad 3-5=-2,\quad 7-9=-2,\quad 2-4=-2. $$

The ordered differences are \(-3,-3,-2,-2,-2,-2\). With six observations, the sample median is the average of the third and fourth ordered differences:

$$ \widetilde{d}=\frac{-2+(-2)}{2}=-2\text{ minutes}. $$

As a check on the distinction between targets, the differences sum to \(-14\), so their sample mean is \(-14/6=-2.3333\ldots\) minutes, not \(-2\) minutes. Because the question asks about the median and symmetry is not established, the sign-based location approach matches the target. A signed-rank interpretation would need a symmetric population distribution of paired differences about the tested location. Common mistake avoided: reversing the subtraction order or analyzing the two sets of measurements as independent samples. No rounding is needed for the median; the mean is shown to four decimal places.

Choosing Between the Location Interpretations

The selection is not based solely on sample size or on which method seems more powerful. First identify the population feature named by the question, then assess whether the model required for a procedure is plausible. A procedure can be mathematically well defined yet answer a different question from the one of interest.

Question or modelLocation interpretationKey condition
Is a one-sample population median equal to a reference value?Median location; a sign-based procedure is suitableFor the simple equal-side-probability interpretation, the population is continuous at the proposed median
Is the median of paired changes equal to a reference value?Median of \(D=Y-X\); a sign-based procedure is suitablePairs are independent across participants; handle ties with care
Is a population center equal to a reference value under a symmetric location model?Symmetric center; a signed-rank procedure may be suitableThe relevant population distribution is symmetric about that center
Is the population mean equal to a reference value?Mean locationA median-oriented procedure does not answer this question in general

Small samples do not make the symmetry assumption unnecessary. Nor does a roughly balanced set of observed deviations prove that the population is symmetric. The assumption concerns the population distribution of the one-sample observations or, for paired data, the population distribution of the differences. It should be motivated by the data-generating process and subject-matter understanding, not asserted merely because a signed-rank procedure is available.

Worked Example: When a Signed-Rank Interpretation Is Defensible

A hypothetical laboratory records seven independent instrument errors, measured relative to a reference reading of 50 units: 41, 46, 48, 50, 52, 54, and 59. The scientific model states that the continuous error distribution is symmetric about an unknown center \(\theta\), and the question is whether \(\theta=50\). Identify the center from these observations and explain whether the signed-rank location interpretation matches the model.

Method and assumptions. Use the stated symmetric location model; the observations are independent, and the population is continuous and symmetric about \(\theta\). The procedure choice is supported by the model, not inferred from a small sample alone.

Calculate the sample center. The ordered values have fourth observation 50, so the sample median is 50. Their sum is \(41+46+48+50+52+54+59=350\), giving a sample mean of \(350/7=50\). The values also occur in pairs equidistant from 50: \(41\) and \(59\), \(46\) and \(54\), and \(48\) and \(52\).

Conclusion. Under the assumed symmetric location model, the center \(\theta\) is also the population median, and the mean equals \(\theta\) when finite. Therefore, a signed-rank procedure has a coherent location interpretation for the question about \(\theta=50\). The observed symmetry is consistent with the model but does not prove it. A sign procedure could also address the median, but the two procedures rely on different assumptions. Common mistake avoided: claiming that the signed-rank procedure tests a median for any population merely because this sample’s median is 50. No rounding is needed.

Common Interpretive Traps

  • Calling every location question a mean question. “Typical” is ambiguous until the target is specified. State whether it means a median, mean, or center under a model.
  • Applying a signed-rank interpretation to a skewed distribution without qualification. Its usual location interpretation relies on symmetry about the tested center. Without that model, do not report the result as an unqualified test of the median.
  • Forgetting that paired analysis is about differences. Choose and state the subtraction order, then define the target for the distribution of those differences.
  • Assuming a sample pattern establishes a population assumption. A small sample that looks balanced does not establish symmetry; a sample that looks uneven does not by itself settle the population shape either.
  • Ignoring ties at a proposed location. The simple sign-probability argument assumes continuity at the location. Rounded measurements or a population with point masses require care.
Key takeaway: A sign-based procedure addresses a median location without a symmetry requirement, subject to the appropriate treatment of ties. A signed-rank procedure has its standard location interpretation under symmetry. For paired observations, define the difference first and apply these ideas to its population distribution.

Check Your Understanding

For each situation, identify the target and the procedure interpretation that fits the stated assumptions.

  1. A hypothetical continuous population produces six independent observations: 6, 8, 9, 10, 11, and 40. A researcher asks about the population median. Calculate the sample median and mean, then state whether symmetry is needed for a sign-based median approach. (Answer: Sample median \(=9.5\); sample mean \(=84/6=14\); a sign-based median approach does not require symmetry.)
  2. For five independent pairs, the first measurements are 12, 9, 15, 10, and 8, and the second measurements are 10, 8, 12, 10, and 5. Define the difference as second minus first. Find the sample median difference and identify the location target for a sign-based approach. (Answer: Differences \(-2,-1,-3,0,-3\); ordered values \(-3,-3,-2,-1,0\); sample median \(=-2\), the median of the paired-difference population.)
  3. A continuous population is symmetric about 24 and has a finite mean. The question concerns its location center. State its median and mean, and whether the symmetry condition supports a signed-rank location interpretation. (Answer: Median \(=24\), mean \(=24\); yes, symmetry supports the signed-rank interpretation for the center.)
  4. A hypothetical set of seven independent differences is \(-6,-4,-3,-2,0,1,15\). The target is the median difference, and no symmetric population model is justified. Calculate the sample median and mean, then choose the appropriate location interpretation. (Answer: Sample median \(=-2\); the sum is \(1\), so the mean is \(1/7\); a sign-based median interpretation fits, while the signed-rank symmetry condition is not established.)
  5. A study defines paired changes as after minus before. Its population difference distribution is continuous and symmetric about 3, with a finite mean. The question asks whether the population median change equals 3. State the corresponding median and mean under the model, and identify which of the two procedure types can address this target under the stated assumptions. (Answer: Median change \(=3\) and mean change \(=3\); both a sign-based median approach and a signed-rank approach under the stated symmetry model have a matching location interpretation.)
Clinical Biostats