Statistical analysis of a linear regression model with restrictions and superfluous variables