From a Research Claim to a Parameter
A regression test begins before any test statistic is calculated: first identify exactly what quantity the research question concerns. A claim about how an outcome changes with a predictor concerns a slope. A claim comparing groups at a specified predictor value concerns an adjusted group difference. A claim that the relationship differs between groups concerns a difference between slopes. These quantities may correspond to different coefficients, or to combinations of coefficients.
The hypotheses are statements about unknown population model parameters, not about the values estimated from a particular sample. The null hypothesis specifies a reference value for the target quantity. The alternative states what departures from that reference are of interest. Translating the question correctly is essential: a perfectly calculated test of the wrong coefficient combination does not answer the research question.
Here, \(L\) is a parameter quantity, not a number calculated from the sample. The reference value \(c\) also needs a contextually meaningful unit. For example, a slope might be compared with zero, while a clinically meaningful change might be compared with a nonzero number of outcome units per predictor unit. The hypotheses should be written before deciding whether the sample provides evidence against the null.
Identify What the Claim Is About
Start by putting the research question into a precise sentence. Specify the outcome, the predictor or groups being compared, any covariates held fixed, and—when groups have different slopes—the predictor value or range that matters. Then use the fitted model’s structure to identify the parameter quantity represented by that sentence.
In a model with one quantitative predictor and no interaction, a slope coefficient describes the change in the model’s mean outcome for a one-unit increase in that predictor. In a model with an indicator variable, a group coefficient commonly describes a difference from the reference group when the other predictors have their reference or specified values. If the model includes an interaction, an individual group coefficient may describe the group difference only at a particular predictor value, not at every value.
The hypotheses must follow the model that was actually specified. Do not choose a coefficient just because its label sounds similar to the claim. First express the target in words, then determine which coefficient or combination has that interpretation.
Worked Example: Testing a Specified Slope
Suppose a hypothetical laboratory analysis relates a chemical concentration \(Y\), measured in milligrams per liter, to a dose \(x\), measured in units of 10 milligrams. The specified mean model is \(E(Y\mid x)=\beta_0+\beta_1x\). Assume the linear mean model is appropriate, observations are independent, and the errors have constant variance and are normally distributed for the conventional coefficient test. The research question is whether the population mean concentration changes by 1.5 milligrams per liter for each 10-milligram increase in dose.
The question names a change per one unit of \(x\), so its target is the slope \(\beta_1\), in milligrams per liter per 10 milligrams of dose. The claimed value is 1.5 in those units. Therefore the null and two-sided alternative are:
The intercept \(\beta_0\) is not the target: it is the model’s mean concentration at dose \(x=0\). Nor is the target the sample estimate \(b_1\); \(b_1\) is the observed-data estimate of the population parameter \(\beta_1\). For instance, if software reported \(b_1=1.2\), that estimate would not change which hypotheses represent the stated research question.
Adjusted Group Differences Depend on the Model
An adjusted group difference compares the model’s mean outcome for two groups while holding other predictors fixed. In a model without an interaction between group and a quantitative predictor, the group difference may be represented by one coefficient at every predictor value. With an interaction, the group difference changes with the predictor, so its value must be specified at the predictor value of interest.
Let \(G=0\) denote a reference group and \(G=1\) a comparison group. Consider the model \(E(Y\mid x,G)=\beta_0+\beta_1x+\beta_2G+\beta_3xG\). The reference group’s mean is \(\beta_0+\beta_1x\). The comparison group’s mean is \(\beta_0+\beta_1x+\beta_2+\beta_3x\). Subtracting the reference-group mean from the comparison-group mean gives:
Thus, the adjusted difference at a specified value \(x=x_0\) is \(\beta_2+x_0\beta_3\), not necessarily \(\beta_2\) alone. This subtraction is the key justification for choosing the coefficient combination: it follows directly from the model’s predicted means. If the model has no interaction term, \(\beta_3=0\) in the specified model and the group difference is represented by \(\beta_2\).
Worked Example: An Adjusted Difference at a Specified Age
Suppose a hypothetical health analysis models mean systolic blood pressure \(Y\), in millimeters of mercury, using age \(x\), measured in years above age 50, and an indicator \(G\) for a treatment group (\(G=1\)) versus a reference group (\(G=0\): \(E(Y\mid x,G)=\beta_0+\beta_1x+\beta_2G+\beta_3xG\). Assume the model’s mean form is appropriate, observations are independent, and the usual constant-variance and normal-error conditions for conventional coefficient inference hold. The research question asks whether, at age 55, the treatment group’s adjusted mean blood pressure differs from the reference group’s by \(-4\) mmHg.
Because \(x\) is years above age 50, age 55 corresponds to \(x=5\). The comparison-group mean minus the reference-group mean at that age is:
The reference value is \(-4\) mmHg. A two-sided version of the research question therefore translates to:
This is a claim about the difference in adjusted population means at age 55, in mmHg. Testing \(\beta_2=-4\) instead would concern the group difference at age 50, because \(x=0\) at that age. The age reference and the interaction term therefore matter to the translation.
Differences Between Slopes
A question about whether a predictor’s relationship with the outcome differs between groups is not generally a question about the group difference at one fixed predictor value. It is a question about the difference between the groups’ slopes. In the interaction model above, the reference group’s slope is \(\beta_1\), while the comparison group’s slope is \(\beta_1+\beta_3\). Subtracting gives:
So in this particular model, \(\beta_3\) represents the difference in slopes, with units of outcome units per predictor unit. This interpretation relies on the stated coding and model terms. Without an interaction, the model assigns the same slope to both groups; it does not estimate a group-specific slope difference.
Worked Example: Testing Whether Group Slopes Differ
Suppose a hypothetical education analysis relates a test score \(Y\), in points, to study time \(x\), in hours, for two groups. Let \(G=0\) be the reference group and \(G=1\) the comparison group, and specify \(E(Y\mid x,G)=\beta_0+\beta_1x+\beta_2G+\beta_3xG\). Assume observations are independent and that the specified mean model and conventional constant-variance, normal-error conditions are appropriate. The research question is whether the groups have different mean-score changes per additional study hour.
The reference group’s slope is \(\beta_1\) points per hour. The comparison group’s slope is \(\beta_1+\beta_3\) points per hour. Their difference, comparison minus reference, is \(\beta_3\) points per hour. The question asks whether that difference is zero, so the hypotheses are:
For illustration, suppose the fitted reference-group slope is \(1.4\) points per hour and the fitted interaction coefficient is \(-0.3\) points per hour. The fitted comparison-group slope is \(1.4+(-0.3)=1.1\) points per hour, and the fitted difference is \(1.1-1.4=-0.3\) points per hour. Those estimates describe the sample fit; they do not alter the null hypothesis or by themselves establish that the population slopes differ.
A Reliable Translation Process
Name the outcome, predictor or groups, units, and any fixed covariate value.
Identify whether the target is a slope, a group difference, or a difference between slopes. Check whether the model includes interactions.
Use the coefficient or coefficient combination implied by the model, and substitute any specified predictor value.
Write the null as equality to the claimed benchmark. Choose a two-sided or directional alternative that matches the research question.
The assumptions concern the model and the data-generating process; they are not verified merely by writing hypotheses. Before using conventional regression inference, the analyst needs an appropriate mean model and the relevant conditions for the procedure. Independence, variance behavior, and error distribution are matters to assess using the study design and model diagnostics. A sound translation tells us what should be tested, but does not establish that the assumptions hold or that an association is causal.
Common Mistakes and Why the Translation Matters
A frequent error is to treat a coefficient’s printed label as its meaning in every model. In an interaction model, the group coefficient \(\beta_2\) describes the group difference when \(x=0\); it does not automatically describe the difference at every \(x\). Another error is to compare a coefficient with zero when the research claim specifies a nonzero benchmark. In both cases, the remedy is to write the target quantity in context and derive it from the model before writing the hypotheses.
Also keep parameter claims separate from conclusions about evidence. The hypotheses define the question; they do not say whether the sample supports either statement. A test result cannot turn a poorly specified target into a relevant one, and a statistically detectable difference does not on its own establish practical importance or causation. The reference value, units, group coding, and adjustment conditions should all be meaningful for the scientific question.
Check Your Understanding
For each question, identify the target parameter quantity before writing the hypotheses.
- In a simple regression of mean outcome on \(x\), the research claim is that the slope is 0.8 outcome units per predictor unit. What are the two-sided hypotheses?
- In a model with a group indicator but no group-by-\(x\) interaction, what parameter represents the adjusted comparison-group minus reference-group difference?
- For the interaction model \(E(Y\mid x,G)=\beta_0+\beta_1x+\beta_2G+\beta_3xG\), what parameter combination represents the group difference at \(x=3\)?
- In that same interaction model, which parameter represents the comparison-group slope minus the reference-group slope?
- Why might testing \(\beta_2=0\) fail to answer a question about the adjusted group difference at a value \(x\ne 0\)?