Releases: mlondschien/ivmodels
ivmodels 0.9.0
0.9.0 - 2025-09-04
- Implemented the more powerful critical values of Londschien (2025) for the
conditional_likelihood_ratio_test.
ivmodels 0.8.0
0.8.0 - 2025-08-17
New features:
- The functions
projandoprojnow accept pandas DataFrames and Series as arguments. - The
conditional_likelihood_ratio_testnow supports testing hypotheses for included exogenous covariates. - The more powerful critical values of Guggenberger et al. (2019) (
"gkm") are now supported when testing hypotheses for included exogenous covariates.
Other changes:
-
The
named_coefs_attribute ofKClassis now renamed tonamed_coef_. Accessingnamed_coefs_will raise a
DeprecationWarning. -
Quadric.__format__now prints the same asConfidenceSet.__format__if the quadric is one-dimensional. -
Made
utils._characteristic_rootsmore robust when using singularb. -
utils._find_rootsnow usesscipy.optimize.brentq.
ivmodels 0.7.0
0.7.0 - 2025-07-03
New features:
- The
inverse_anderson_rubin_testnow supports the GKM critical values by passingcritical_values="gkm". These can be used by supplyingtest="anderson-rubin (gkm)"toSummaryorKClass.summary.
Bug fixes:
- Make
_characteristic_rootsmore robust ifBis singular.
ivmodels 0.6.0
0.6.0 - 2025-05-22
New features:
- Added the
residual_prediction_testfor model misspecification.
ivmodels 0.5.3
0.5.3 - 2025-04-21
Bug fixes:
- The classes
KClassandAnchorRegressionnow set attributesn_features_in_andfeature_names_in_to comply with sckit-learn SLEP 7 and 10.
ivmodels 0.5.2
0.5.2 - 2024-10-03
Bug fixes:
- The
Summarynow correctly includes the rank and J test results.
ivmodels 0.5.1
0.5.1 - 2024-09-16
Bug fixes:
- Fixed the
setuptoolsconfiguration.
ivmodels 0.5.0
0.5.0 - 2024-08-27
New features:
-
The Wald test now supports robust covariance estimation.
-
New method
lengthforConfidenceSet.
Other changes:
-
One can now pass the tolerance parameter
tolto the optimization algorithm in
lagrange_multiplier_testandinverse_lagrange_multiplier_testvia thekwargs. -
KClassnow raises ifkappa >= 1(as for the LIML and TSLS estimators) and the number of instruments is less than the number of
endogenous regressors. -
The
Summarynow only includes and prints the results of the J-statistic and (multivariate) F-test for instrument strength if this makes sense. -
The docs have been updated and include examples.
ivmodels 0.4.0
0.4.0 - 2024-08-08
New features:
-
New test
j_testof the overidentifying restrictions. -
The tests
inverse_lagrange_multiplier_testandinverse_conditional_likelihood_ratio_testnow possibly return unions of intervals, instead of one large conservative interval.
Bug fixes:
-
Fixed bug in
KClass.fitwhenCis notNoneandM_{[Z, C]} Xis not full rank. -
Fixed bug in
inverse_conditional_likelihood_ratio_testwhenk == mw + mxandCis notNone. -
Fixed bug in
utils._characteristic_rootsifb == np.array([[0]]). This now correctly returnsnp.inf.
Other changes:
- The
Summarynow additionally reports the LIML variant of the J-statistic.
ivmodels 0.3.1
Bug fixes:
- Fixed bug in
inverse_conditional_likelihood_ratio_test.