From a Coefficient Table to an Equation
A regression program may report a model as a table of term names and coefficient estimates rather than as one equation. To read what was fitted, you need to put those estimates back into the model’s stated additive form. This is a small algebraic step, but it is easy to make errors: a minus sign can disappear, a coefficient can be attached to the wrong predictor, or a standard error can be mistaken for an estimate.
This tutorial focuses on reconstructing the fitted equation from an estimate table. It assumes the table’s terms and the model specification are available and that the model is an additive regression with an intercept. The task is to translate the supplied estimates into that model’s equation, not to select a model or interpret all the other quantities software may report.
What Must Be Known Before Reconstructing the Equation
A coefficient table is not enough by itself if the model’s term list is unclear. Before writing an equation, establish which row is the intercept, which predictor corresponds to each remaining estimate, and what form of model was fitted. For this topic, the model must have an intercept and additive terms: each listed predictor appears as a separate term multiplied by its coefficient, and the terms are added. There are no additional product terms or other terms unless the stated model includes them.
The underlying model can be written as
The conditional-mean condition says that, at given predictor values, the error has mean zero. It gives the model its stated mean structure. The fitted equation replaces each unknown coefficient with its estimate. Reconstructing that equation is an algebraic task; it does not, by itself, establish that the model is a good description of the data or that its broader statistical assumptions are met.
The units also matter. If the response is measured in points and a predictor in hours, its coefficient must be read as response units per hour. Units do not change how the table is transcribed, but they help catch a misplaced coefficient or a misidentified predictor.
A Reliable Reconstruction Procedure
Use the estimate column, not the standard-error, test-statistic, or p-value columns. Begin with the model structure, put the intercept first, and then attach each estimate to the predictor named on its row. Keep the signs exactly as printed. A negative estimate may be written as subtraction, or as addition of a negative term, but it must not become positive.
Record the intercept and every predictor term included in the stated additive model. Do not add terms merely because they seem plausible.
Use the estimate column and match each value to its row’s term. The intercept estimate is the constant term; predictor estimates multiply their corresponding predictors.
Replace each unknown coefficient in the model form with its reported estimate, preserving signs and decimal precision.
Confirm that the intercept appears once, every stated predictor appears once, and no standard error or other column has been used as a coefficient.
Worked Example: Two Predictors With Positive Estimates
Suppose software reports the following hypothetical coefficient table for an additive model of exam score. The response is measured in points; study time is measured in hours; attendance is measured in percentage points. The stated model includes an intercept and these two numeric predictors, with no other terms.
| Term | Estimate | Standard error |
|---|---|---|
| Intercept | 18.60 | 4.10 |
| Study time (hours) | 2.35 | 0.48 |
| Attendance (percentage points) | 0.42 | 0.15 |
Start from the stated structure: fitted exam score equals an intercept plus a study-time term plus an attendance term. The estimate column gives \(18.60\) for the intercept, \(2.35\) for study time, and \(0.42\) for attendance. Therefore,
The standard errors, \(4.10\), \(0.48\), and \(0.15\), are not substituted: they are in a different column and are not coefficient estimates. The units provide a check on the terms: \(2.35\) is in exam-score points per study hour, and \(0.42\) is in exam-score points per attendance percentage point. The equation contains the one intercept and both stated predictor terms, so it matches the supplied model structure.
Keeping Signs and Term Pairings Straight
The order of the rows in a table is not what determines which estimate belongs to which predictor. The term name on each row does. An equation may list the predictors in another order, provided every estimate stays attached to the predictor named in the table. In particular, if an estimate is negative, the fitted equation must retain that negative value.
Worked Example: A Negative Estimate and a Different Row Order
Consider a hypothetical additive model for weekly electricity use, measured in kilowatt-hours. The predictors are outdoor temperature in degrees Celsius and household size in people. The table’s rows are shown in an order that places household size before temperature.
| Term | Estimate |
|---|---|
| Intercept | 310.0 |
| Household size (people) | 24.5 |
| Outdoor temperature (degrees Celsius) | -3.20 |
The model has an intercept, a household-size term, and a temperature term. Matching each estimate to its row gives an intercept of \(310.0\), a household-size coefficient of \(24.5\), and a temperature coefficient of \(-3.20\). The reconstructed equation is
The last term is subtracted because its estimate is negative. Equivalently, it could be written \(+(-3.20)(\text{outdoor temperature})\), but the subtraction form makes the sign easier to see. The coefficient units are kilowatt-hours per person for household size and kilowatt-hours per degree Celsius for temperature. Reordering the terms would also be correct:
Both equations preserve the same estimate-to-term pairings. The number \(-3.20\) has not been attached to household size simply because that term appears later in the rewritten equation; its table row identifies it as the temperature estimate.
Substitution and a Short Algebraic Justification
The reconstruction rule follows directly from the definition of the fitted equation. The model describes a response as a sum of an intercept, coefficient-times-predictor terms, and an error. The fitted equation gives the model’s estimated mean structure by replacing the unknown coefficients with their estimates; it does not include a new coefficient for every individual observation.
This substitution preserves the original additive structure. For example, if a model states that the response has an intercept and two separate predictor terms, its fitted equation must have the form \(\hat{y}=\hat{\beta}_0+\hat{\beta}_1x_1+\hat{\beta}_2x_2\). Reading the three estimates from the appropriate rows and placing them in those three positions is sufficient to reconstruct it. The equation does not acquire a product such as \(x_1x_2\), because such a term was not part of the specified model.
Worked Example: Three Predictors and an Explicit Check
Suppose a hypothetical model predicts delivery time in minutes from route length in kilometres, number of stops, and number of packages. The stated model has an intercept and these three additive terms. The coefficient estimates are:
| Term | Estimate |
|---|---|
| Number of packages | 0.18 |
| Intercept | 12.4 |
| Route length (kilometres) | 3.70 |
| Number of stops | 1.25 |
First, identify the intercept row: its estimate is \(12.4\). Then match the other values to their terms: \(3.70\) multiplies route length, \(1.25\) multiplies number of stops, and \(0.18\) multiplies number of packages. Writing the intercept first and the predictor terms in the model’s stated order gives
The units are consistent with a response in minutes: the route-length coefficient is minutes per kilometre, and the other two predictor coefficients are minutes per stop and minutes per package. Check the term count: the equation has one intercept and exactly three predictor terms, matching the stated model. The table’s row order differs from the equation’s order, but each estimate remains paired with its own term.
Common Mistakes and Why the Equation Matters
A reconstructed equation makes the estimated model structure visible in one line. It is useful for checking which estimates belong to which terms and for communicating exactly what form of additive relationship the software fitted. Because the equation is compact, small transcription errors can change its meaning. Use these checks before treating the equation as a faithful record of the output.
- Using a standard error as a coefficient. A standard error may be printed beside an estimate, but it is not substituted into the fitted equation. Use the estimate column.
- Dropping a negative sign. An estimate of \(-3.20\) gives a negative term, not a positive one. Check the sign when copying each row.
- Pairing a value with the wrong predictor. Follow the term names in the table, not the row’s position or the order in which you prefer to write the equation.
- Leaving out the intercept. If the stated model includes an intercept, its estimate is the constant term in the fitted equation. Do not omit it during transcription.
- Adding a term that is not in the model. An additive equation includes the terms specified for that fit. Do not insert a product of predictors or another term that is absent from the model specification.
- Rounding before copying accurately. Retain the reported precision unless a task asks you to round. Early rounding can make the written equation differ from the software estimates.
Check Your Understanding
For each question, focus on reconstructing the equation from the stated model and estimates.
- A model has an intercept and predictors \(x_1\) and \(x_2\). The estimates are \(5.4\), \(-0.8\), and \(2.1\), respectively. Write the fitted equation.
- Why should the standard-error column not be used when substituting coefficients into a fitted equation?
- A table lists the intercept estimate as \(7.0\), followed by \(x_2\) with estimate \(1.6\) and \(x_1\) with estimate \(-0.3\). Write the equation in the order \(x_1\), then \(x_2\), keeping each estimate paired with its term.
- A stated additive model includes an intercept and three predictors. What structural check can you make on the reconstructed equation?
- If a coefficient estimate is reported as \(-1.25\), what sign must its term have in the fitted equation? Give two equivalent ways to write that term.