Tutorials › Regression Analysis (Undergraduate) › Interpreting P Values for Regression Coefficients

Tests and Linear Contrasts · Tutorial 226 of 991

Interpreting P Values for Regression Coefficients

Interpret coefficient-test p-values correctly, including what model and repeated-sampling comparison they describe—and what they do not tell you.

Intermediate 10 min read

What You'll Learn

  • Define the null model for a regression coefficient test
  • Connect the observed t statistic to its p-value
  • Interpret two-sided and one-sided p-values in context
  • Distinguish a p-value from the probability that the null hypothesis is true
  • Separate statistical evidence from effect size and practical importance
  • Explain how the significance level differs from the p-value

What a Regression P-Value Measures

A regression coefficient test asks whether the data are in tension with a specified value for a coefficient, such as zero. Its p-value summarizes that tension: it measures how often a test statistic at least as extreme as the observed one would occur if the specified null model were true and the test’s assumptions held. It does not give the probability that the null hypothesis is true.

The interpretation depends on three things: the null value being tested, the direction of the alternative hypothesis, and the probability distribution used for the test statistic under the null. A p-value is not a property of a coefficient estimate alone; it describes the estimate relative to a particular null model and a particular testing procedure.

The Coefficient Test and Its Assumptions

For a multiple linear regression with \(n\) observations and \(q\) predictors, write the model as

$$ Y_i=\beta_0+\beta_1x_{i1}+\cdots+\beta_qx_{iq}+\varepsilon_i,\qquad i=1,\ldots,n. $$

Here \(\beta_j\) is the population coefficient for predictor \(j\), and \(b_j\) is its estimate from the sample. In a multiple regression, \(\beta_j\) describes the model’s change in mean response for a one-unit increase in predictor \(j\), holding the other included predictors fixed. This is a model-based association, not by itself a causal effect.

The conventional coefficient t test relies on the regression model being appropriate for the question and on the usual error assumptions: the conditional mean is correctly represented by the specified linear model; errors are independent, have mean zero, and have constant variance; and, for an exact t distribution in a finite sample, errors are normally distributed conditional on the predictors. The predictor columns must also be sufficiently distinct to estimate the coefficients. In practice, serious departures from these conditions can make the reported standard error and p-value unreliable.

To test whether a coefficient equals a specified benchmark \(\beta_{j,0}\), state the hypotheses first. For example, a two-sided test is \(H_0:\beta_j=\beta_{j,0}\) against \(H_a:\beta_j\ne\beta_{j,0}\). The test statistic compares the estimated coefficient with the benchmark in standard-error units:

$$ t_{\mathrm{obs}}=\frac{b_j-\beta_{j,0}}{SE(b_j)}. $$

Under the null hypothesis and the model assumptions, this statistic follows a t distribution with the regression residual degrees of freedom, \(df=n-(q+1)\), when the model includes an intercept and has full rank. The p-value is calculated from that null distribution. For a two-sided test, it is the probability of a statistic at least as far from zero as the observed statistic:

$$ p\text{-value}=P\left(|T|\ge |t_{\mathrm{obs}}|\mid H_0\right), \qquad T\sim t_{df}. $$

The conditioning notation emphasizes the point: this probability is calculated assuming the null hypothesis and the model used for the test. For a one-sided alternative, the relevant tail depends on the direction stated in \(H_a\). If \(H_a:\beta_j>\beta_{j,0}\), the p-value is \(P(T\ge t_{\mathrm{obs}}\mid H_0)\); if \(H_a:\beta_j<\beta_{j,0}\), it is \(P(T\le t_{\mathrm{obs}}\mid H_0)\).

Why the P-Value Uses a Tail Area

A test statistic gives a scale for judging how unusual the observed estimate would be under the null. For a two-sided test, estimates far above and far below the null benchmark both count as evidence against it. The t distribution is symmetric about zero, so the two tail areas beyond \(\pm |t_{\mathrm{obs}}|\) are equal. Adding them gives

$$ P(T\le -|t_{\mathrm{obs}}|\mid H_0)+P(T\ge |t_{\mathrm{obs}}|\mid H_0) =2P(T\ge |t_{\mathrm{obs}}|\mid H_0). $$

This explains why the two-sided p-value is twice the upper-tail probability beyond the absolute observed t statistic. The doubling is appropriate because the alternative allows departures in either direction. It is not appropriate to choose a one-sided tail after seeing which direction the estimate went; the direction must be part of the question and specified in the alternative.

The p-value is computed from the null distribution of the statistic, not by counting how likely the null itself is. In repeated samples generated under \(H_0\), some test statistics will fall in the tail region that is at least as extreme as the observed result. The p-value is the probability of landing in that region under the assumptions of the test.

Worked Example: A Two-Sided Test of a Slope

Suppose a hypothetical regression relates a patient’s follow-up systolic blood pressure to age, with other specified predictors held fixed. The estimated age coefficient is \(b_{\mathrm{age}}=-1.80\) mmHg per year, and its standard error is \(0.72\) mmHg per year. The residual degrees of freedom are 20. Test \(H_0:\beta_{\mathrm{age}}=0\) against \(H_a:\beta_{\mathrm{age}}\ne0\).

Assume the linear model, error conditions, and predictor requirements for the conventional t test are reasonable. Under the null, the conditional mean has no age slope, while the other terms in the regression remain in the model. The test statistic is

$$ t_{\mathrm{obs}}=\frac{-1.80-0}{0.72}=-2.50. $$

For a two-sided test with 20 degrees of freedom, the p-value is approximately \(0.021\). In words: if the true age coefficient were zero in this model, and the test assumptions held, the probability of obtaining a t statistic of \(-2.50\) or smaller, or \(2.50\) or larger, is about 2.1%.

This is evidence against the zero-slope null at conventional significance levels, but it does not mean there is a 2.1% probability that the null is true. The estimate describes an association conditional on the other predictors; this test alone does not establish that age causes a change in blood pressure.

Interpreting the Number in Context

A careful p-value interpretation names the null model and describes results at least as extreme as the observed statistic. It does not say that the p-value is the chance of seeing the data “by chance” in a vague sense. The coefficient estimate, its standard error, the test’s degrees of freedom, the chosen alternative, and the assumptions all contribute to the interpretation.

A p-value also does not describe the size or importance of the coefficient. A small p-value can accompany a small estimated association when the estimate is precise. Conversely, a substantial estimate can have a large p-value when it is imprecise. The estimate’s units and context are needed to discuss magnitude; the p-value addresses compatibility with the specified null.

Worked Example: A Result That Is Not Strong Evidence Against Zero

In a hypothetical study of study time and examination scores, a fitted regression estimates a slope of \(0.30\) score points per additional study hour, with standard error \(0.25\) score points per hour and 15 residual degrees of freedom. The test is \(H_0:\beta_{\mathrm{hours}}=0\) versus a two-sided alternative. Suppose the model assumptions for the conventional coefficient test are reasonable.

The observed statistic is

$$ t_{\mathrm{obs}}=\frac{0.30-0}{0.25}=1.20. $$

With 15 degrees of freedom, the two-sided p-value is approximately \(0.249\). Under a zero-slope null, a t statistic at least as far from zero as \(1.20\) occurs in either tail about 24.9% of the time. This result is not strong evidence against a zero slope using the conventional test.

It would be incorrect to conclude that the null has a 24.9% probability of being true, or that there is a 75.1% probability that study time is associated with scores. The test gives neither probability. The estimated slope is \(0.30\) points per hour, but this estimate is imprecise relative to its standard error; the p-value summarizes the evidence against the specific zero-slope null, not the probability of any broader claim.

One-Sided Tests and Nonzero Benchmarks

A p-value can be one-sided when the research question specifies a direction before the result is examined. For \(H_a:\beta_j>\beta_{j,0}\), only statistics sufficiently large in the positive direction count as evidence for the alternative. A negative observed statistic will therefore not produce a small upper-tail p-value. The same logic applies in reverse for \(H_a:\beta_j<\beta_{j,0}\). A directional test should not be treated as a way to halve a two-sided p-value after observing the estimate.

The benchmark need not be zero. A coefficient might be tested against a scientifically chosen minimum, target, or reference value. Interpretation then concerns evidence against that particular value—not a general claim that the coefficient differs from every plausible value.

Worked Example: Testing a Coefficient Against a Benchmark

Suppose a hypothetical regression estimates the change in examination score per additional 10 hours of study, adjusting for other included predictors. The estimated coefficient is \(0.42\) score points per 10 hours, its standard error is \(0.15\) score points per 10 hours, and the residual degrees of freedom are 24. A two-sided test compares the coefficient with a benchmark of \(0.20\): \(H_0:\beta=0.20\) versus \(H_a:\beta\ne0.20\). Assume the conventional model conditions are reasonable.

The test statistic is

$$ t_{\mathrm{obs}}=\frac{0.42-0.20}{0.15} =\frac{0.22}{0.15} \approx 1.467. $$

For \(df=24\), the two-sided p-value is approximately \(0.155\). If the true coefficient were \(0.20\) score points per 10 study hours under this model, the probability of obtaining a t statistic at or beyond \(1.467\) in either direction is about 15.5%. This is not strong evidence against the benchmark at a 5% significance level. It does not prove that the coefficient equals \(0.20\), and it does not assign a probability to that value being true.

P-Values and Significance Levels

The significance level \(\alpha\) is a decision threshold selected for a testing procedure; the p-value is calculated from the observed statistic. If the test is conducted at \(\alpha=0.05\), a p-value at or below \(0.05\) leads to rejection of \(H_0\) under that procedure. This decision rule controls the probability of a false rejection at the chosen level when the null and assumptions hold. It does not mean that the probability the null is true after rejection is 5%.

A p-value just below a threshold and one just above it should not be treated as fundamentally different kinds of evidence. The numerical value matters, as do the estimate, standard error, model, and study context. Reporting only “significant” or “not significant” discards information and can make a modest difference in a statistic appear decisive.

Key takeaway: A regression coefficient p-value is the probability, calculated under a specified null model and test assumptions, of a test statistic at least as extreme as the observed one. It is not the probability that the null hypothesis is true, and it does not measure the coefficient’s practical importance.

Common Mistakes

  • Wrong: “The p-value is the probability that the null hypothesis is true.” Correction: It is calculated assuming the null is true; it gives a tail probability for the test statistic under that assumption.
  • Wrong: “A p-value of 0.03 means there is a 3% chance the result was due to chance.” Correction: State the null model, the test statistic, and the probability of a result at least as extreme. “Due to chance” does not specify that calculation.
  • Wrong: “A large p-value proves the coefficient is zero.” Correction: It indicates that the observed statistic is not unusual enough under the specified null to provide strong evidence against it; it does not prove equality.
  • Wrong: “A small p-value means the effect is large or important.” Correction: The p-value measures evidence relative to a null, while the coefficient’s magnitude and units describe the estimated association.
  • Wrong: “The observed direction determines whether to use a one-sided test.” Correction: The alternative’s direction must be specified in advance from the research question, not selected after seeing the estimate.

Check Your Understanding

Use the null model, direction of the alternative, and test assumptions when answering.

  1. A two-sided coefficient test gives \(t_{\mathrm{obs}}=-2.1\). What kinds of test statistics count toward its p-value?
  2. In a sentence, interpret a p-value of \(0.04\) for a two-sided test of \(H_0:\beta_j=0\), including the condition under which that probability is calculated.
  3. Why does a p-value of \(0.30\) not mean there is a 30% probability that the null hypothesis is true?
  4. For an alternative \(H_a:\beta_j>0\), would an observed statistic of \(-2.0\) be evidence in the alternative’s direction? Explain how the one-sided tail is chosen.
  5. A very small p-value accompanies a coefficient measured in a small number of units. What additional information is needed to judge whether the estimated association is practically important?