Start With the Outcome and the Question
A study may record several variables, but a statistical question usually focuses on one particular outcome. The appropriate parameter depends on what that outcome measures and what the question asks about it. Questions about the fraction of individuals with a categorical outcome call for proportions. Questions about the average value of a quantitative outcome call for means.
This classification is an early decision, not a complete choice of procedure. It identifies the kind of population parameter relevant to the question. Other features of the question and study design determine which specific inference method is appropriate.
Proportions for Categorical Outcomes
For a categorical response, a question often focuses on the population fraction in one specified category. For example, a researcher might ask what fraction of patients experience a particular side effect. The category of interest is “experiences the side effect,” and the parameter is the population proportion in that category.
A categorical response may have more than two categories. The question can still be about the proportion in one particular category—for instance, the fraction discharged to a rehabilitation facility. If the question concerns the distribution across all categories, it involves the separate category proportions rather than an average of category labels.
The research question matters because merely knowing that an outcome is categorical does not specify which proportion is of interest. “What fraction experienced nausea?” and “What fraction experienced a headache?” refer to different categories and therefore different population proportions, even if they come from the same recorded outcome.
Worked Example: A Yes-or-No Side Effect
In a hypothetical sample of 60 patients, 12 report a particular side effect and 48 do not. The question is: “What proportion of patients in the target population experience this side effect?”
Identify the response. The response is whether each patient experienced the side effect. It is categorical, with the categories “Yes” and “No.”
Identify the category of interest. The question specifically concerns the “Yes” category. The relevant population parameter is \(p\), the population proportion of patients who experience the side effect.
Calculate the sample summary. The sample proportion is the number of sampled patients with a “Yes” response divided by the sample size:
Thus, 20% of the hypothetical sample reported the side effect. This sample percentage describes the observed data; by itself it does not establish the exact population proportion.
Means for Quantitative Outcomes
A quantitative response records a meaningful numerical amount, such as blood pressure in millimeters of mercury or waiting time in minutes. When the question asks for the population’s average outcome, the parameter is the population mean \(\mu\). The sample mean \(\bar{x}\) summarizes the observed numerical values.
The word “average” alone is not enough to make a mean appropriate. The values must represent quantitative amounts, and differences between values must be meaningful. A number used only as a group label or code does not become a quantitative measurement just because arithmetic can be performed on it.
Worked Example: Average Change in a Measurement
In a hypothetical sample, seven participants have recorded changes in a measurement, in millimeters of mercury: \(-4,-2,0,1,-3,-1,-5\). Negative values indicate decreases. The question is: “What is the mean change in the target population?”
Identify the response. The response is each participant’s change in the measurement. Change is quantitative: a difference of 2 millimeters of mercury has a consistent meaning, and the values have units.
Identify the parameter. Because the question asks for the average quantitative change, the target parameter is the population mean change, \(\mu\), measured in millimeters of mercury.
Calculate the sample mean. Add the seven observed changes and divide by seven:
The hypothetical sample’s mean change is \(-2\) millimeters of mercury. Its negative sign indicates an average decrease of 2 millimeters of mercury in this sample. It is a sample summary, not a claim that the population mean is exactly \(-2\).
Why Binary Codes Still Represent a Proportion
A binary outcome is sometimes recorded using 1 for “Yes” and 0 for “No.” Although the stored values are numbers, the outcome remains categorical: the numbers mark membership in one of two categories. For this special coding, the numerical sample mean equals the sample proportion of 1s. That equality is useful, but it does not change the meaning of the outcome or turn it into a general quantitative measurement.
To see why, suppose \(n\) individuals have binary responses \(x_i\), where each \(x_i\) is either 0 or 1. Adding the responses counts the number of 1s, because adding a 0 contributes nothing and each 1 contributes one. Dividing by \(n\) therefore gives the fraction of responses coded 1:
The calculation can be treated as a mean of 0s and 1s mathematically, but its substantive interpretation is the proportion in the category coded 1. In reporting or choosing an inference family, describe it as a proportion when the question concerns how common that category is.
Worked Example: Interpreting a Binary Numerical Code
A hypothetical survey records whether each of five people completed a training program, using 1 for “completed” and 0 for “did not complete.” The recorded values are \(1,0,1,1,0\). The question is: “What fraction of surveyed people completed the program?”
Identify the response and category. Completion status is categorical. The category of interest is “completed,” represented by 1. The target parameter is the population proportion who complete the program.
Find the sample fraction. There are three 1s among five responses, so:
The sample proportion who completed the program is 0.60, or 60%. Computing the numerical mean gives the same result:
This equality follows from the 0/1 coding. The meaningful answer to the question is that 60% of the sample completed the program, not that the average completion code is 0.60 units.
Multi-Category Outcomes and Meaningful Targets
Suppose a response has three categories: discharged home, transferred to rehabilitation, or transferred to another hospital. These labels do not have a meaningful numerical distance or order that would justify averaging them. A question about the fraction transferred to rehabilitation is a question about one category’s proportion. A question about the overall pattern asks about the distribution of category proportions.
Worked Example: Choosing a Summary for Discharge Destination
In a hypothetical sample of 50 patients, 32 are discharged home, 12 are transferred to rehabilitation, and 6 are transferred to another hospital. Consider the question: “What proportion of patients in the target population are transferred to rehabilitation?”
Identify the response. Discharge destination is categorical. The three destination labels do not measure numerical amounts, so averaging them would have no meaningful interpretation.
Identify the target category. The question names “transferred to rehabilitation.” The relevant parameter is the population proportion in that category.
Calculate the sample proportion. Twelve of the 50 patients are in the specified category:
In this hypothetical sample, 24% of patients were transferred to rehabilitation. If the question instead asked about the proportion discharged home, the sample calculation would be \(32/50=0.64\). The outcome is the same, but the category named in the question changes the proportion being summarized.
A Practical Classification Process
Before choosing a specific inference procedure, make the classification in a consistent order. The response variable and the wording of the question—not the appearance of the data table or the explanatory variable—determine whether the parameter is a proportion or a mean.
State what is recorded for each individual and which outcome the question addresses.
Decide whether the response consists of categories or meaningful quantitative measurements.
A fraction in a specified category points to a population proportion; an average numerical amount points to a population mean.
Name the population quantity and its category or units. Then use the study design and other features to determine the specific procedure.
For example, comparing groups does not by itself settle the proportion-versus-mean choice. If the response is whether a patient experienced an event, a question about how event rates differ concerns proportions. If the response is the number of days until an event, a question about average time concerns means. In both cases, the group labels describe how the question organizes the comparison; the outcome still determines the parameter family.
This classification does not check the assumptions or conditions needed for inference. It also does not decide whether observations are paired or independent, how many samples are involved, or which particular interval or test to use. Those choices require additional information about the question and study design.
Common Mistakes
- Choosing by the explanatory variable. A study may compare two treatments, but the comparison alone does not determine the parameter type. Check whether the response is categorical or quantitative.
- Treating every number as quantitative. Codes such as 0 and 1 may label categories. Use a proportion interpretation when the question is about the fraction in a coded category.
- Averaging category labels. Coding “home,” “rehabilitation,” and “other hospital” as 1, 2, and 3 does not make their average a meaningful discharge destination. Consider a proportion for a specified category or describe the distribution across categories.
- Leaving the category or units unstated. “The parameter is \(p\)” is incomplete without saying which population fraction \(p\) represents. For a mean, name the measured quantity and its units.
- Confusing a sample summary with a population parameter. The observed \(\hat{p}\) or \(\bar{x}\) summarizes the sample. The corresponding population parameter \(p\) or \(\mu\) is the quantity the research question seeks to learn about.
Check Your Understanding
For each question, identify the response type and say whether the relevant parameter is a proportion or a mean.
- A survey records whether each respondent has received a particular vaccine. The question asks what fraction of adults in a population have received it.
- A clinic records each patient’s waiting time in minutes. The question asks for the average waiting time in the population.
- A hospital records discharge destination as home, rehabilitation, or another hospital. The question asks what fraction of patients are discharged home.
- A data set codes “event occurred” as 1 and “event did not occur” as 0. The question asks what percentage of people experience the event. Explain why a mean calculation can equal the sample proportion.
- A researcher records the number of days each participant takes to return to work. The question asks whether the population average is 10 days. Is this a proportion question or a mean question, and what are the units?