[SciPy-User] [SciPy-user] scipy.odr - Correct form of covx, covy matrix

Sturla Molden sturla at molden.no
Tue Feb 14 12:51:01 EST 2012


On 14.02.2012 17:12, josef.pktd at gmail.com wrote:

> One problem we have in statsmodels is that we still need additional
> results not just the parameter estimates, for example inv(x'x) (or
> pinv) or inv(X' inv(V) X) (IIRC) for the covariance matrix and the
> determinant for the log likelihood.

After fitting with dggglm the y output variable contain the decorrelated 
residuals, so that should give you the log likelihood.
But I am not sure about the covariance matrix.

Sturla







More information about the SciPy-User mailing list