Linear Models for Empirical Research

•
1.9k
•

Simplifies advanced econometric modeling in Python including panel data, instrumental variables, and system regressions.

The linearmodels skill is a comprehensive resource for social scientists and researchers performing empirical analysis in Python. It extends the capabilities of statsmodels by providing specialized classes for structured data, including sophisticated panel data models such as Fixed/Random Effects and Fama-MacBeth, instrumental variables like 2SLS, GMM, and LIML, and system estimation like Seemingly Unrelated Regression (SUR). This skill provides guided implementation patterns for handling complex standard errors and asset pricing models, ensuring rigorous and reproducible research workflows within the Claude Code environment.

Características Principales

01Robust Covariance Inference (Driscoll-Kraay, Clustered SEs)
02Advanced Panel Data Estimation (Fixed/Random Effects, Fama-MacBeth)
03Comprehensive Instrumental Variables (2SLS, LIML, GMM, IVGMMCUE)
04System Regression Models (SUR, 3SLS, IVSystemGMM)
05Specialized Asset Pricing Tests (Linear Factor Models)
061,853 GitHub stars

Casos de Uso

01Analyzing asset pricing and financial market factors with specialized GMM estimators.
02Estimating causal effects in longitudinal social science datasets using panel data.
03Solving systems of equations with correlated errors or endogeneity using SUR and 3SLS.