Question
An energy analyst models a plant's fuel-related invoice using a linear regression with an intercept. Each observation records fuel consumption twice: \(x\) litres and \(g=x/3.78541\) US gallons. In this dataset, 3.78541 is the fixed conversion factor, so the two recorded columns contain exactly the same information.
Four past invoices have \((x,\text{cost in dollars})\) equal to \((4,19)\), \((8,27)\), \((12,35)\) and \((16,43)\). The analyst fits \(\widehat y=b_0+b_Lx+b_Gg\) by ordinary least squares, with no coefficient penalty.
Describe all least-squares coefficient triples, and forecast the cost at 10 litres. Is there a unique effect attributable separately to the litres column and the gallons column? Would a failure to obtain unique coefficients imply that fuel consumption cannot predict cost?
Get hint
Hint 1
Replace the gallons variable by \(x/3.78541\) and collect terms. The entire model depends on just the intercept and one combined slope.
Check your answer
Solution
Because \(g=x/c\) with \(c=3.78541\), the model is \(\widehat y=b_0+\gamma x\), where \(\gamma=b_L+b_G/c\). The four invoices lie exactly on \(y=11+2x\), so the minimum squared error is zero and the identified parameters in this two-dimensional model are uniquely \(b_0=11\) and \(\gamma=2\) (the \(x\) observations are not all equal).
Returning to the redundant three-coefficient model, the entire set of minimisers is
\((b_0,b_L,b_G)=(11,\,2-t,\,ct)\) for arbitrary real \(t\).
Indeed, adding \((0,-t,ct)\) to a coefficient vector changes every fitted invoice by \(-tx+ct(x/c)=0\). This is a null direction of the design matrix, so separate coefficients cannot be identified from the data. But at 10 litres, \(g=10/c\) and every minimiser predicts \(11+(b_L+b_G/c)10=11+2(10)=\boxed{\$31}\).
More generally, even if the historical invoices contained noise, least-squares fitted values on the observed design would be unique because they are the orthogonal projection of the response vector onto the design's column space; its coefficient vector need not be unique. This is a failure of attribution, not proof of a lack of predictive relation between cost and fuel use. A future observation must retain the same exact conversion relationship for the identical prediction guarantee to apply.
Assumptions
The gallon column equals the litre column divided by exactly 3.78541 throughout training and prediction.
OLS has an intercept and no regularisation or other coefficient constraints.
The four \(x\)-values are distinct, identifying intercept and combined slope in the reduced model.
Final Answer
All minimisers satisfy \(b_0=11\) and \(b_L+b_G/3.78541=2\). At 10 litres the predicted cost is \(31\). The fitted values and combined fuel slope are unique, but individual fuel coefficients are not.