What Changes When the Intercept Is Omitted?
An additive regression formula usually includes a constant term as well as terms for its predictors. Some formulas omit that constant. When reading or using such a formula, the practical rule is direct: use the predictor terms that are shown, and do not add a constant term. This tutorial focuses on recognizing that structure and calculating its fitted values.
Omitting the intercept is a specification of the model, not a shortcut for leaving out a number while doing arithmetic. It means the fitted equation contains no separate constant. The formula therefore gives a fitted value of zero when every included predictor value is zero. That statement describes the equation; whether this is a suitable model for a particular application is a separate modeling question.
The fitted equation summarizes how to calculate predictions from the estimated coefficients and predictor values. In the corresponding model for the outcome, omitting the intercept means that the conditional mean is specified without a constant:
This specification assumes the conditional mean has the stated additive form and passes through zero when all included predictors are zero. In a classical linear model, the error is assumed to have conditional mean zero; independence and constant error variance are additional assumptions used for standard inference. The examples here take the coefficient estimates as given and calculate fitted values; they do not estimate coefficients or conduct inference.
Recognizing an Omitted Intercept
A displayed formula is the clearest guide: if its fitted equation has predictor terms but no constant, do not insert one. Software formula conventions can also signal the omission. For example, some systems use syntax such as outcome ~ predictor - 1 or outcome ~ 0 + predictor to request a model without an intercept. The exact syntax depends on the software, so read the formula's terms rather than assuming that every formula uses the same notation.
An omitted intercept differs from a model that includes an intercept whose estimated coefficient happens to be zero. In the latter case, the constant was part of the model and its estimate is zero. In an omitted-intercept formula, there is no constant coefficient to estimate or add. For prediction arithmetic, both may give the same numerical expression if the estimated constant is exactly zero, but they describe different model specifications.
A useful way to check your reading is to ask: What terms are actually present? If the equation contains \(\hat{\beta}_1x_{i1}\) and \(\hat{\beta}_2x_{i2}\), those are the contributions to add. Do not assume a hidden \(\hat{\beta}_0\) just because many regression equations include one.
Worked Example: One Predictor and No Constant
Suppose a hypothetical fitted formula for the number of units processed per shift, \(Y\), uses staff-hours \(x\) and omits the intercept. The estimated coefficient is 2.8 units per staff-hour. Write the fitted equation and calculate the predicted number of units for a shift with 6 staff-hours.
Write the equation. There is one predictor term and no constant:
Substitute the predictor value. For \(x=6\) staff-hours,
The fitted value is 16.8 units per shift. No number is added after multiplying because the formula has no intercept. The units also agree: \(2.8\) units per staff-hour multiplied by 6 staff-hours gives 16.8 units.
Adding the Displayed Terms
With several predictors, the same rule applies: multiply each predictor value by its estimated coefficient, then add those products. The absence of an intercept does not change how the predictor terms are evaluated. It changes only whether there is a separate constant contribution.
A zero-one indicator is handled just like another predictor term. If \(D\) is coded 1 for one group and 0 for another, its term contributes \(\hat{\beta}_D D\). When \(D=0\), that particular term is zero; when \(D=1\), it contributes its coefficient. The prediction still includes no additional constant unless one appears in the formula.
Worked Example: A Numeric Predictor and an Indicator
Consider a hypothetical formula for a repair's predicted cost in dollars. Let \(x\) be labor time in hours, and let \(D=1\) if a replacement part is needed and \(D=0\) otherwise. The fitted formula omits the intercept and is
Calculate the predicted cost for a repair requiring 2.5 labor-hours and a replacement part.
The values are \(x=2.5\) and \(D=1\). Substitute both values into the displayed terms:
The predicted cost is $135.50. The labor term contributes $87.50 and the indicator term contributes $48. The formula contains no separate constant, so there is no further amount to add.
For comparison, if the same repair did not need a replacement part, then \(D=0\), and that term would contribute \(48(0)=0\). At 2.5 labor-hours the fitted value would then be \(35(2.5)+48(0)=87.5\) dollars. This comparison follows from evaluating the terms in the formula; it does not introduce an intercept.
Why the Design-Matrix Calculation Has No Extra Term
The design-matrix view makes the arithmetic structure explicit. Each record has a row of predictor values, and the fitted value is the sum of the products of those values and the corresponding estimated coefficients. For an omitted-intercept formula, the row contains only the included predictor values; there is no leading column of ones for an intercept.
For two predictors, record \(i\) has row \((x_{i1},x_{i2})\), and the coefficient vector is \((\hat{\beta}_1,\hat{\beta}_2)\). Their product is
The equality follows by multiplying each entry in the row by the corresponding entry in the column and adding the products. Since the row has only two entries, the result has only two terms. A model with an intercept would add a column of ones and an associated coefficient; that column and coefficient are absent here.
This also gives a quick check on the fitted equation: count the predictor columns and make sure the equation has one product for each included column, with no additional constant.
Worked Example: Predictions for Several Records
A hypothetical formula predicts daily output \(Y\) from machine-hours \(x_1\) and worker-hours \(x_2\), with no intercept:
Calculate fitted values for two records: record A has \(x_1=3\) machine-hours and \(x_2=8\) worker-hours; record B has \(x_1=5\) machine-hours and \(x_2=4\) worker-hours.
For record A, substitute its two predictor values:
For record B:
The fitted values are 24 and 26 output units, respectively. Each is obtained from the two displayed predictor contributions. For instance, the design row for record A is \((3,8)\), so its calculation is \(3(4)+8(1.5)=24\). No intercept column or constant contribution appears.
A Short Check on the Zero-Predictor Case
The omitted-intercept form also implies a simple algebraic check. If every included predictor is zero, each product in the fitted equation is zero:
This is a property of the specified fitted equation, not a conclusion that every observed outcome with zero-valued predictors must equal zero. Observed outcomes may differ from fitted values because of error or unexplained variation. The calculation only establishes what the formula predicts at that combination of predictor values.
Common Mistakes and a Reliable Routine
The most common arithmetic error is to write the right predictor terms and then add an assumed constant anyway. A related mistake is to see a familiar regression formula and automatically include a coefficient such as \(\hat{\beta}_0\), even though the stated equation has no such term.
Use this routine whenever a formula omits the intercept:
Identify each included predictor and its coefficient. Confirm that no constant term is displayed.
Replace each predictor symbol with the corresponding value for the record being predicted.
Calculate one coefficient-times-predictor product for each included term, then sum them.
Make sure no constant was added and that the products and final fitted value use the intended units.
Wrong reasoning: “Regression equations normally have an intercept, so I should add one even though it is not shown.” Correction: follow the specified formula. If it omits the intercept, the fitted value is the sum of the included predictor terms alone. Do not confuse an omitted term with a coefficient that was estimated and happens to equal zero.
The point of careful reading is not merely to avoid a small arithmetic error. Adding an unlisted constant changes every fitted value by the same amount and no longer calculates from the stated model. Conversely, dropping a constant from a formula that includes one would also give the wrong fitted values. The equation, not a default expectation, determines the calculation.
Check Your Understanding
Use the formula structure carefully in each question.
- A fitted formula is \(\hat{y}=6x_1+2x_2\), with no intercept. Calculate the fitted value when \(x_1=2\) and \(x_2=5\).
- In \(\hat{y}=9x+30D\), \(D\) is a zero-one indicator. Calculate the fitted value at \(x=4\) and \(D=0\). Is there a constant to add?
- Explain the difference between an omitted intercept and an included intercept whose estimated coefficient is zero.
- Write the design-matrix row for a record with predictor values \(x_1=3\) and \(x_2=7\) when the formula omits the intercept. What fitted-value calculation does that row produce for coefficients 5 and 2?
- For an omitted-intercept formula, what fitted value results algebraically when all included predictors equal zero? State what this does—and does not—say about observed outcomes.