statsmodels/statsmodels — pull request #649 by Daniel-B-Smith (2013-02-05 17:16:49+00:00)
Title: Bug Fix

Hi,

I fixed a bug in statsmodels/regression/linear_model.py: _get_sigma . I put the error handling inside the 'else:' so that an incorrect sigma gets caught before being passed to the numpy inverse function.

Thanks,
Daniel