statsmodels.sandbox.regression.gmm.GMMResults.compare_j

GMMResults.compare_j(other) [source]

overidentification test for comparing two nested gmm estimates

This assumes that some moment restrictions have been dropped in one of the GMM estimates relative to the other.

Not tested yet

We are comparing two separately estimated models, that use different weighting matrices. It is not guaranteed that the resulting difference is positive.

TODO: Check in which cases Stata programs use the same weigths

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.sandbox.regression.gmm.GMMResults.compare_j.html