linearmodels logo

Note

Stable documentation for the latest release is located at doc. Documentation for recent developments is located at devel.

Estimation and inference in some common linear models that are missing from statsmodels:

Panel Data Models

High-dimensional Regression

Single equation Instrumental Variables (IV) models

  • Two-stage least squares (2SLS, IV2SLS)

  • Limited Information ML (LIML, IVLIML)

  • Generalized Method of Moments (GMM, IVGMM)

  • Continuously Updating GMM (CUE-GMM, IVGMMCUE)

  • Jackknife IV (JIVE, IVJIVE)

System Regression Estimators

  • Seemingly Unrelated Regression (SUR, SUR)

  • Three-stage Least Squares (3SLS, IV3SLS)

  • Generalized Method of Moments System Estimator (GMM, IVSystemGMM)

Asset Pricing Model Estimation and Testing

Specification Tests and Diagnostics

  • Cragg-Donald and Kleibergen-Paap tests of the rank of the first-stage coefficient matrix of IV models, and the F statistics that are compared with weak-instrument critical values (testing identification)

  • Classical and heteroskedasticity-robust tests of the exogeneity of the endogenous regressors and of the overidentifying restrictions of IV models, and the J, centered J and C statistics of IV-GMM models (IV specification tests)

  • Hausman test of random effects against fixed effects (hausman()) and Pesaran CD test of cross-sectional dependence (pesaran_cd) for panel models (panel specification tests)

linearmodels

Indices