數據分析
Statsmodels: Statistical Modeling and Econometrics
Statistical models library for Python. Use when you need specific model classes (OLS, GLM, mixed models, ARIMA) with detailed diagnostics, residuals, and inference. Best for econometrics, time series, rigorous inference with coefficient tables. For guided statistical test selection with APA reporting use statistical-analysis. Also use for 计量经济学, 因果推断, 双重差分, 事件研究, 工具变量, 面板回归, 稳健标准误, 多因素分析, 多变量回归, 临床队列回归, retrospective cohort regression, subgroup regression, multivariable adjustment, policy evaluation, and regression tables for paper reproduction.