The coefficient of the whole is an average of the coefficients of its parts: A special case of restricted least squares