fama_macbeth_table

eap_pl.fama_macbeth_table(panel, specifications, labels, *, digits=2)

Build a table of monthly Fama–MacBeth regressions.

Winsorizes the regressors within formation months at the 0.5th and 99.5th percentiles, then uses six Newey–West lags for inference on average coefficients.

Parameters

Name Type Description Default
panel polars.DataFrame Data containing month, next-month excess in percentage points, and the regressors. required
specifications Iterable[list[str]] Regressor columns for each model. required
labels dict[str, str] Regressor columns mapped to display labels in table order. required
digits int Decimal places for coefficients and intercepts. 2

Returns

Name Type Description
polars.DataFrame Formatted coefficients and t statistics, average adjusted R², and mean monthly sample size by model.