Linear inference and underparameterized models