from itertools import combinations
import polars as pl
from eap_pl import (
bivariate_months, build_bm, build_momentum, build_sizes,
correlation_matrix, fama_macbeth_table, format_fit, get_ff_factors, hac,
load_beta_universe, load_monthly_betas, load_parquet, load_pastor_stambaugh_2013,
mean_cross_sections, persistence, plot_cumulative_returns, ptime,
)
from eap_pl._data import monthly_stock_returns
from eap_pl._portfolios import assign_portfolio, portfolio_months, spread
from eap_pl._skewness import rolling_skewness
from eap_pl._volatility import rolling_volatility15 Idiosyncratic Volatility
This chapter is an early draft and I have not yet carefully reviewed it. Also the APIs used in the examples may change as I continue working on the book.
I follow Chapter 15 of Bali et al. (2016). I examine whether stocks with more volatile factor-model residuals earn lower returns in the next month, and how the relation changes with portfolio weighting, delisting adjustments, and controls.
15.1 Measuring Total Volatility
Let \(R_{i,s}\) be a decimal stock return, \(n\) the number of observations in the estimation window, and \(m\) the number of periods per year. I use \(m=252\) for daily returns and \(m=12\) for monthly returns. Total volatility is the annualized sample standard deviation, in percent.
\[ \operatorname{Vol}_i = 100\sqrt{m}\,\sqrt{\frac{\sum_{s=1}^{n}(R_{i,s}-\bar R_i)^2}{n-1}}. \tag{15.1}\]
I also calculate an annualized root mean square using zero in place of the sample mean.
\[ \operatorname{Vol}^{SS}_i = 100\sqrt{m}\,\sqrt{\frac{\sum_{s=1}^{n}R_{i,s}^2}{n}}. \tag{15.2}\]
15.2 Measuring Idiosyncratic Volatility
I regress the stock return in excess of the risk-free rate, \(r_{i,s}\), on factor returns at the same frequency. The Fama–French three-factor model uses market, size, and value returns.
\[ r_{i,s}=\alpha_i+\beta_{i,M}\mathrm{MKT}_s+\beta_{i,S}\mathrm{SMB}_s +\beta_{i,H}\mathrm{HML}_s+\varepsilon_{i,s}. \tag{15.3}\]
The CAPM uses the market factor.
\[ r_{i,s}=\alpha_i+\beta_{i,M}\mathrm{MKT}_s+\varepsilon_{i,s}. \tag{15.4}\]
The four-factor model (FFC) adds momentum.
\[ r_{i,s}=\alpha_i+\beta_{i,M}\mathrm{MKT}_s+\beta_{i,S}\mathrm{SMB}_s +\beta_{i,H}\mathrm{HML}_s+\beta_{i,U}\mathrm{MOM}_s+\varepsilon_{i,s}. \tag{15.5}\]
Let \(k\) denote the number of estimated coefficients, including the intercept. Here \(k\) equals 4 for FF, 2 for CAPM, and 5 for FFC.
\[ \operatorname{RSE}_i=\sqrt{\frac{\sum_{s=1}^{n}\widehat\varepsilon_{i,s}^{2}}{n-k}}. \tag{15.6}\]
Idiosyncratic volatility annualizes the residual standard error and expresses it in percent.
\[ \operatorname{IdioVol}_i=100\sqrt{m}\,\operatorname{RSE}_i. \tag{15.7}\]
Formation months run from June 1963 through November 2012. Each window ends in the formation month. The daily windows of 1, 3, 6, and 12 months require 15, 50, 100, and 200 observations. The monthly windows of 1, 2, 3, and 5 years require 10, 20, 24, and 24 observations. For factor models, the minimum applies to matched observations. I use CRSP’s reported stock returns to estimate volatility and download the June 2014 vintage of the factors, including daily momentum, with get_ff_factors().
first = pl.date(1963, 6, 1)
last = pl.date(2012, 11, 1)
last_holding = last.dt.offset_by("1mo")
keys = ["permno", "month"]
daily_windows = {"1m": (1, 15), "3m": (3, 50), "6m": (6, 100), "12m": (12, 200)}
monthly_windows = {"1y": (12, 10), "2y": (24, 20), "3y": (36, 24), "5y": (60, 24)}
windows = daily_windows | monthly_windowsI identify the formation stock-months and load enough earlier returns for the longest daily and monthly windows.
anchors = load_beta_universe(first, last).sort(keys).collect()
daily = load_parquet("dsf", "crsp").filter(
pl.col("date").is_between(first.dt.offset_by("-11mo"), last.dt.month_end())
)
monthly = (
load_parquet("msf", "crsp")
.filter(pl.col("date").is_between(first.dt.offset_by("-59mo"), last_holding.dt.month_end()))
.select("permno", "ret", date=pl.col("date").dt.month_start())
.with_columns(pl.when(pl.col("ret").is_finite()).then("ret").alias("ret"))
)I match momentum to the other factors by date at each frequency.
vintage = "201406"
daily_factors = get_ff_factors("daily", vintage=vintage).join(
get_ff_factors("momentum_daily", vintage=vintage), on="date", how="left", validate="1:1"
)
monthly_factors = get_ff_factors("monthly", vintage=vintage).join(
get_ff_factors("momentum", vintage=vintage), on="date", how="left", validate="1:1"
)I annualize daily volatility using 252 trading days.
with ptime():
daily_vol = rolling_volatility(anchors, daily, daily_factors, daily_windows, 252)Wall time: 36.241 s
I annualize monthly volatility using 12 months and join both sets of estimates by stock and formation month.
with ptime():
monthly_vol = rolling_volatility(anchors, monthly, monthly_factors, monthly_windows, 12)
volatility = daily_vol.join(monthly_vol, on=keys, validate="1:1")Wall time: 36.529 s
I use the 12-month daily market beta, one-month Amihud illiquidity from Chapter 13, and the five-year monthly co-skewness and idiosyncratic skewness measures from Chapter 14. I use log market capitalization (log_cap), the cumulative return over the preceding 11 months (mom), and the formation-month return (rev) as controls.
with ptime():
usable_days = (
daily
.filter(
pl.all_horizontal(pl.col("ret", "prc", "vol").is_finite()),
pl.col("prc") > 0,
pl.col("vol") > 0,
)
.with_columns(month=pl.col("date").dt.month_start())
)
illiquidity = (
usable_days
.filter(pl.col("month") >= first)
.group_by(keys)
.agg(illiq=(1e6 * pl.col("ret").abs() / (pl.col("prc") * pl.col("vol"))).mean(),
days=pl.len())
.filter(pl.col("days") >= 15)
.select(*keys, "illiq")
)
skewness = rolling_skewness(anchors, monthly, monthly_factors, {"5y": monthly_windows["5y"]})
sizes = build_sizes()
betas = load_monthly_betas(first, last, vintage=vintage)
adjusted = monthly_stock_returns(first.dt.offset_by("1mo"), last_holding).rename({"ret": "adjusted"})
holding_returns = (
monthly
.select("permno", month="date", unadjusted="ret")
.filter(pl.col("month").is_between(first.dt.offset_by("1mo"), last_holding))
.join(adjusted, on=keys, how="full", coalesce=True, validate="1:1")
.join(monthly_factors.lazy().select("rf", month="date", market=100 * pl.col("mktrf")),
on="month", validate="m:1")
.select("permno", pl.col("month").dt.offset_by("-1mo"), "market",
excess=100 * (pl.col("adjusted") - pl.col("rf")),
raw_excess=100 * (pl.col("unadjusted") - pl.col("rf")))
)
panel = (
volatility
.lazy()
.join(skewness.select(*keys, "coskew_5y", "idioskew_5y").lazy(), on=keys, validate="1:1")
.join(betas.lazy(), on=keys, how="left", validate="1:1")
.join(sizes.select(*keys, "cap", "log_cap"), on=keys, how="left", validate="1:1")
.join(build_bm(sizes).select(*keys, "bm"), on=keys, how="left", validate="1:1")
.join(
build_momentum(first, last).select(*keys, "mom").lazy(),
on=keys, how="left", validate="1:1",
)
.join(monthly.select("permno", month="date", rev=100 * pl.col("ret")),
on=keys, how="left", validate="1:1")
.join(illiquidity, on=keys, how="left", validate="1:1")
.join(holding_returns, on=keys, how="left", validate="1:1")
.collect()
)
controls = {
"beta": "Beta", "log_cap": "Size", "bm": "BM", "mom": "Momentum",
"rev": "Reversal", "illiq": "Illiquidity",
"coskew_5y": "Co-skewness", "idioskew_5y": "Idiosyncratic skewness",
}
families = {"vol": "`vol`", "vol_ss": "`vol_ss`", "iv_capm": "`iv_capm`",
"iv_ff": "`iv_ff`", "iv_ffc": "`iv_ffc`"}
labels = {
family: {f"{family}_{window}": window.upper() for window in windows}
for family in families
}Wall time: 25.470 s
15.3 Summary Statistics
I compute each statistic across stocks in a formation month and average each statistic over months. Missing factor returns or insufficient observations can change the number of usable stocks across measures.
Code
for terms in labels.values():
mean_cross_sections(panel, terms).eap.show_table()| Measure | Mean | SD | Skew | Kurt. | Min | 5% | 25% | Median | 75% | 95% | Max | n |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 50.71 | 40.12 | 4.22 | 61.10 | 1.26 | 13.56 | 26.82 | 41.11 | 62.70 | 118.32 | 743.60 | 4759 |
| 3M | 52.63 | 36.42 | 3.54 | 43.46 | 2.49 | 17.28 | 29.80 | 44.11 | 64.93 | 115.68 | 633.53 | 4695 |
| 6M | 53.24 | 34.38 | 3.14 | 33.87 | 3.53 | 18.78 | 31.00 | 45.30 | 65.75 | 113.91 | 571.11 | 4610 |
| 12M | 53.44 | 32.44 | 2.81 | 27.45 | 5.29 | 19.92 | 31.82 | 46.07 | 66.14 | 111.49 | 513.06 | 4439 |
| 1Y | 46.87 | 31.16 | 3.92 | 56.50 | 2.70 | 16.17 | 27.56 | 39.87 | 57.60 | 99.22 | 579.54 | 4421 |
| 2Y | 47.33 | 28.17 | 3.14 | 36.81 | 5.10 | 18.11 | 28.97 | 41.16 | 58.27 | 95.70 | 472.85 | 4071 |
| 3Y | 47.78 | 27.02 | 2.83 | 31.35 | 6.63 | 18.98 | 29.66 | 41.96 | 58.99 | 95.00 | 433.11 | 3958 |
| 5Y | 48.51 | 26.17 | 2.63 | 29.49 | 7.64 | 19.75 | 30.47 | 43.07 | 60.22 | 94.73 | 410.30 | 3994 |
| Measure | Mean | SD | Skew | Kurt. | Min | 5% | 25% | Median | 75% | 95% | Max | n |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 50.51 | 39.79 | 4.25 | 62.03 | 1.26 | 13.60 | 26.83 | 41.02 | 62.42 | 117.43 | 741.86 | 4759 |
| 3M | 52.56 | 36.33 | 3.56 | 43.98 | 2.49 | 17.31 | 29.80 | 44.07 | 64.85 | 115.38 | 634.97 | 4695 |
| 6M | 53.21 | 34.35 | 3.16 | 34.28 | 3.54 | 18.80 | 31.01 | 45.30 | 65.71 | 113.77 | 573.21 | 4610 |
| 12M | 53.43 | 32.44 | 2.82 | 27.81 | 5.30 | 19.93 | 31.83 | 46.07 | 66.13 | 111.44 | 515.21 | 4439 |
| 1Y | 47.11 | 30.91 | 3.91 | 56.61 | 2.88 | 16.58 | 27.89 | 40.18 | 57.91 | 98.91 | 574.90 | 4421 |
| 2Y | 47.50 | 28.04 | 3.14 | 36.97 | 5.27 | 18.41 | 29.19 | 41.37 | 58.44 | 95.62 | 471.01 | 4071 |
| 3Y | 47.93 | 26.90 | 2.84 | 31.58 | 6.84 | 19.25 | 29.87 | 42.15 | 59.13 | 94.87 | 432.08 | 3958 |
| 5Y | 48.66 | 26.04 | 2.64 | 29.84 | 7.95 | 20.02 | 30.70 | 43.27 | 60.33 | 94.63 | 409.49 | 3994 |
| Measure | Mean | SD | Skew | Kurt. | Min | 5% | 25% | Median | 75% | 95% | Max | n |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 48.49 | 40.19 | 4.27 | 61.20 | 1.23 | 12.34 | 24.59 | 38.45 | 60.00 | 116.69 | 745.12 | 4759 |
| 3M | 50.42 | 36.54 | 3.57 | 43.05 | 2.46 | 15.82 | 27.51 | 41.49 | 62.39 | 114.31 | 634.01 | 4695 |
| 6M | 51.02 | 34.55 | 3.16 | 33.21 | 3.49 | 17.17 | 28.67 | 42.67 | 63.24 | 112.58 | 571.24 | 4610 |
| 12M | 51.19 | 32.66 | 2.82 | 26.67 | 5.17 | 18.14 | 29.41 | 43.39 | 63.66 | 110.20 | 513.06 | 4439 |
| 1Y | 42.93 | 30.89 | 4.07 | 56.44 | 2.61 | 14.05 | 23.91 | 35.47 | 52.89 | 95.04 | 579.48 | 4421 |
| 2Y | 43.31 | 27.78 | 3.29 | 37.75 | 4.90 | 15.93 | 25.28 | 36.75 | 53.49 | 91.30 | 472.56 | 4071 |
| 3Y | 43.74 | 26.61 | 2.98 | 32.41 | 6.34 | 16.72 | 25.94 | 37.54 | 54.28 | 90.49 | 433.33 | 3958 |
| 5Y | 44.56 | 25.76 | 2.76 | 30.17 | 7.35 | 17.48 | 26.77 | 38.74 | 55.63 | 90.41 | 409.47 | 3994 |
| Measure | Mean | SD | Skew | Kurt. | Min | 5% | 25% | Median | 75% | 95% | Max | n |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 47.90 | 40.28 | 4.30 | 61.40 | 1.21 | 12.01 | 24.02 | 37.72 | 59.27 | 116.33 | 748.60 | 4759 |
| 3M | 49.88 | 36.53 | 3.59 | 43.30 | 2.45 | 15.53 | 27.02 | 40.85 | 61.70 | 113.84 | 634.46 | 4695 |
| 6M | 50.48 | 34.52 | 3.18 | 33.28 | 3.48 | 16.87 | 28.19 | 42.03 | 62.57 | 112.09 | 571.67 | 4610 |
| 12M | 50.65 | 32.63 | 2.84 | 26.69 | 5.14 | 17.83 | 28.94 | 42.76 | 62.99 | 109.74 | 513.16 | 4439 |
| 1Y | 40.95 | 30.17 | 4.09 | 53.12 | 2.31 | 12.92 | 22.51 | 33.59 | 50.45 | 91.96 | 554.45 | 4421 |
| 2Y | 41.59 | 26.95 | 3.27 | 33.72 | 4.73 | 15.14 | 24.23 | 35.18 | 51.25 | 88.12 | 448.39 | 4071 |
| 3Y | 42.04 | 25.75 | 2.93 | 27.59 | 6.20 | 15.99 | 24.92 | 36.02 | 51.96 | 87.29 | 408.79 | 3958 |
| 5Y | 42.85 | 24.91 | 2.70 | 25.64 | 7.21 | 16.78 | 25.79 | 37.21 | 53.32 | 87.17 | 386.79 | 3994 |
| Measure | Mean | SD | Skew | Kurt. | Min | 5% | 25% | Median | 75% | 95% | Max | n |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 47.74 | 40.35 | 4.31 | 61.56 | 1.19 | 11.88 | 23.83 | 37.51 | 59.07 | 116.30 | 751.94 | 4759 |
| 3M | 49.77 | 36.54 | 3.60 | 43.41 | 2.45 | 15.44 | 26.91 | 40.72 | 61.58 | 113.75 | 635.58 | 4695 |
| 6M | 50.37 | 34.53 | 3.18 | 33.35 | 3.47 | 16.78 | 28.10 | 41.92 | 62.46 | 112.00 | 572.21 | 4610 |
| 12M | 50.56 | 32.63 | 2.84 | 26.72 | 5.12 | 17.75 | 28.85 | 42.66 | 62.89 | 109.64 | 513.34 | 4439 |
| 1Y | 40.34 | 30.06 | 4.10 | 53.07 | 2.13 | 12.40 | 21.97 | 33.01 | 49.83 | 90.99 | 554.06 | 4421 |
| 2Y | 41.20 | 26.77 | 3.29 | 34.06 | 4.68 | 14.90 | 23.98 | 34.84 | 50.81 | 87.31 | 448.03 | 4071 |
| 3Y | 41.71 | 25.59 | 2.94 | 27.53 | 6.14 | 15.79 | 24.72 | 35.76 | 51.59 | 86.52 | 408.41 | 3958 |
| 5Y | 42.57 | 24.75 | 2.70 | 25.74 | 7.16 | 16.63 | 25.63 | 36.99 | 52.98 | 86.59 | 385.84 | 3994 |
15.4 Correlations
Within each formation month, I use stocks with both measures available and winsorize each variable at the 0.5th and 99.5th percentiles. Each table averages the resulting correlations across months. The square tables put Pearson coefficients below the diagonal and Spearman coefficients above it.
Code
def average_pairs(pairs):
expressions = []
for left, right in pairs:
a, b = pl.col(left), pl.col(right)
valid = pl.all_horizontal(a.is_finite(), b.is_finite())
a, b = (x.filter(valid).eap.winsorize(prob=0.005, quantile_method="linear")
for x in (a, b))
expressions.extend([
pl.corr(a, b).alias(f"Pearson {left}–{right}"),
pl.corr(a, b, method="spearman").alias(f"Spearman {left}–{right}"),
])
return (
panel
.group_by("month")
.agg(expressions)
.select(pl.exclude("month").fill_nan(None).mean())
.row(0, named=True)
)
def within_family(family):
terms = labels[family]
return correlation_matrix(average_pairs(combinations(terms, 2)), terms)
for family in ("vol", "vol_ss"):
within_family(family).eap.show_table()| Measure | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
| 1M | 0.87 | 0.82 | 0.79 | 0.64 | 0.65 | 0.65 | 0.64 | |
| 3M | 0.86 | 0.95 | 0.90 | 0.74 | 0.75 | 0.74 | 0.73 | |
| 6M | 0.80 | 0.94 | 0.96 | 0.79 | 0.80 | 0.79 | 0.77 | |
| 12M | 0.76 | 0.88 | 0.95 | 0.82 | 0.84 | 0.83 | 0.82 | |
| 1Y | 0.57 | 0.67 | 0.73 | 0.78 | 0.90 | 0.86 | 0.81 | |
| 2Y | 0.57 | 0.67 | 0.72 | 0.78 | 0.88 | 0.96 | 0.91 | |
| 3Y | 0.56 | 0.65 | 0.71 | 0.76 | 0.82 | 0.94 | 0.96 | |
| 5Y | 0.55 | 0.64 | 0.69 | 0.74 | 0.77 | 0.89 | 0.95 |
| Measure | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
| 1M | 0.87 | 0.82 | 0.79 | 0.66 | 0.66 | 0.65 | 0.64 | |
| 3M | 0.86 | 0.95 | 0.90 | 0.75 | 0.75 | 0.74 | 0.73 | |
| 6M | 0.80 | 0.94 | 0.96 | 0.80 | 0.80 | 0.79 | 0.77 | |
| 12M | 0.76 | 0.88 | 0.95 | 0.83 | 0.84 | 0.83 | 0.81 | |
| 1Y | 0.58 | 0.68 | 0.74 | 0.78 | 0.91 | 0.86 | 0.82 | |
| 2Y | 0.58 | 0.67 | 0.72 | 0.78 | 0.88 | 0.96 | 0.91 | |
| 3Y | 0.57 | 0.65 | 0.71 | 0.76 | 0.82 | 0.94 | 0.96 | |
| 5Y | 0.55 | 0.64 | 0.69 | 0.74 | 0.77 | 0.89 | 0.95 |
Code
for family in ("iv_capm", "iv_ff", "iv_ffc"):
within_family(family).eap.show_table()| Measure | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
| 1M | 0.87 | 0.83 | 0.79 | 0.64 | 0.66 | 0.66 | 0.65 | |
| 3M | 0.86 | 0.95 | 0.91 | 0.74 | 0.76 | 0.75 | 0.74 | |
| 6M | 0.80 | 0.94 | 0.96 | 0.79 | 0.80 | 0.80 | 0.78 | |
| 12M | 0.76 | 0.88 | 0.95 | 0.82 | 0.84 | 0.84 | 0.82 | |
| 1Y | 0.57 | 0.67 | 0.73 | 0.78 | 0.90 | 0.85 | 0.81 | |
| 2Y | 0.57 | 0.67 | 0.72 | 0.78 | 0.87 | 0.96 | 0.91 | |
| 3Y | 0.57 | 0.66 | 0.71 | 0.76 | 0.82 | 0.94 | 0.96 | |
| 5Y | 0.56 | 0.64 | 0.69 | 0.74 | 0.77 | 0.89 | 0.95 |
| Measure | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
| 1M | 0.87 | 0.82 | 0.79 | 0.61 | 0.64 | 0.64 | 0.64 | |
| 3M | 0.86 | 0.95 | 0.91 | 0.71 | 0.74 | 0.74 | 0.73 | |
| 6M | 0.80 | 0.94 | 0.96 | 0.76 | 0.79 | 0.79 | 0.78 | |
| 12M | 0.76 | 0.88 | 0.95 | 0.79 | 0.83 | 0.83 | 0.82 | |
| 1Y | 0.55 | 0.65 | 0.71 | 0.75 | 0.88 | 0.83 | 0.79 | |
| 2Y | 0.56 | 0.66 | 0.71 | 0.76 | 0.86 | 0.95 | 0.91 | |
| 3Y | 0.56 | 0.65 | 0.70 | 0.75 | 0.80 | 0.94 | 0.96 | |
| 5Y | 0.55 | 0.64 | 0.69 | 0.74 | 0.75 | 0.88 | 0.95 |
| Measure | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
| 1M | 0.87 | 0.82 | 0.79 | 0.60 | 0.64 | 0.64 | 0.63 | |
| 3M | 0.85 | 0.95 | 0.91 | 0.70 | 0.74 | 0.74 | 0.73 | |
| 6M | 0.80 | 0.94 | 0.96 | 0.75 | 0.79 | 0.79 | 0.78 | |
| 12M | 0.76 | 0.88 | 0.95 | 0.78 | 0.83 | 0.83 | 0.82 | |
| 1Y | 0.54 | 0.64 | 0.70 | 0.74 | 0.86 | 0.81 | 0.77 | |
| 2Y | 0.55 | 0.65 | 0.71 | 0.76 | 0.85 | 0.95 | 0.90 | |
| 3Y | 0.55 | 0.65 | 0.70 | 0.75 | 0.79 | 0.94 | 0.96 | |
| 5Y | 0.55 | 0.64 | 0.69 | 0.74 | 0.74 | 0.88 | 0.95 |
Code
family_pairs = list(combinations(families, 2))
matched_pairs = [(f"{a}_{w}", f"{b}_{w}") for a, b in family_pairs for w in windows]
cross = average_pairs(matched_pairs)
for method in ("Pearson", "Spearman"):
pl.DataFrame([
{"Pair": f"{families[a]} and {families[b]}",
**{w.upper(): f"{cross[f'{method} {a}_{w}–{b}_{w}']:.3f}" for w in windows}}
for a, b in family_pairs
]).eap.show_table()| Pair | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
vol and vol_ss |
0.999 | 1.000 | 1.000 | 1.000 | 0.993 | 0.998 | 0.999 | 0.999 |
vol and iv_capm |
0.990 | 0.994 | 0.995 | 0.995 | 0.968 | 0.979 | 0.983 | 0.986 |
vol and iv_ff |
0.983 | 0.991 | 0.993 | 0.994 | 0.932 | 0.964 | 0.971 | 0.977 |
vol and iv_ffc |
0.979 | 0.990 | 0.992 | 0.993 | 0.912 | 0.957 | 0.967 | 0.974 |
vol_ss and iv_capm |
0.989 | 0.994 | 0.995 | 0.995 | 0.963 | 0.977 | 0.982 | 0.986 |
vol_ss and iv_ff |
0.982 | 0.991 | 0.993 | 0.994 | 0.928 | 0.962 | 0.970 | 0.976 |
vol_ss and iv_ffc |
0.978 | 0.990 | 0.992 | 0.993 | 0.908 | 0.955 | 0.966 | 0.973 |
iv_capm and iv_ff |
0.994 | 0.999 | 0.999 | 1.000 | 0.962 | 0.984 | 0.989 | 0.992 |
iv_capm and iv_ffc |
0.991 | 0.998 | 0.999 | 0.999 | 0.943 | 0.979 | 0.986 | 0.990 |
iv_ff and iv_ffc |
0.997 | 1.000 | 1.000 | 1.000 | 0.981 | 0.995 | 0.997 | 0.998 |
| Pair | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
vol and vol_ss |
0.999 | 1.000 | 1.000 | 1.000 | 0.991 | 0.997 | 0.999 | 0.999 |
vol and iv_capm |
0.982 | 0.988 | 0.990 | 0.991 | 0.953 | 0.970 | 0.977 | 0.982 |
vol and iv_ff |
0.973 | 0.985 | 0.987 | 0.989 | 0.914 | 0.955 | 0.966 | 0.974 |
vol and iv_ffc |
0.969 | 0.983 | 0.986 | 0.988 | 0.893 | 0.949 | 0.962 | 0.971 |
vol_ss and iv_capm |
0.981 | 0.988 | 0.990 | 0.991 | 0.947 | 0.968 | 0.975 | 0.981 |
vol_ss and iv_ff |
0.972 | 0.985 | 0.987 | 0.989 | 0.909 | 0.953 | 0.964 | 0.973 |
vol_ss and iv_ffc |
0.968 | 0.983 | 0.986 | 0.988 | 0.889 | 0.947 | 0.961 | 0.971 |
iv_capm and iv_ff |
0.993 | 0.998 | 0.999 | 0.999 | 0.958 | 0.984 | 0.990 | 0.993 |
iv_capm and iv_ffc |
0.989 | 0.997 | 0.998 | 0.999 | 0.937 | 0.979 | 0.987 | 0.991 |
iv_ff and iv_ffc |
0.996 | 0.999 | 1.000 | 1.000 | 0.978 | 0.995 | 0.997 | 0.999 |
Code
iv_labels = labels["iv_ff"]
with_controls = average_pairs([(term, control) for term in iv_labels for control in controls])
for method in ("Pearson", "Spearman"):
pl.DataFrame([
{"Window": window,
**{name: with_controls[f"{method} {term}–{control}"]
for control, name in controls.items()}}
for term, window in iv_labels.items()
]).eap.show_table()| Window | Beta | Size | BM | Momentum | Reversal | Illiquidity | Co-skewness | Idiosyncratic skewness |
|---|---|---|---|---|---|---|---|---|
| 1M | 0.08 | -0.45 | 0.07 | -0.16 | 0.10 | 0.48 | -0.05 | 0.24 |
| 3M | 0.09 | -0.52 | 0.08 | -0.14 | 0.02 | 0.49 | -0.06 | 0.29 |
| 6M | 0.10 | -0.55 | 0.09 | -0.12 | -0.00 | 0.50 | -0.07 | 0.32 |
| 12M | 0.11 | -0.58 | 0.10 | -0.08 | -0.01 | 0.49 | -0.07 | 0.35 |
| 1Y | 0.13 | -0.42 | 0.04 | 0.10 | 0.04 | 0.24 | -0.08 | 0.39 |
| 2Y | 0.15 | -0.48 | 0.02 | 0.05 | 0.01 | 0.27 | -0.08 | 0.48 |
| 3Y | 0.16 | -0.50 | 0.00 | 0.03 | 0.00 | 0.27 | -0.09 | 0.52 |
| 5Y | 0.16 | -0.51 | -0.02 | 0.01 | -0.00 | 0.28 | -0.09 | 0.56 |
| Window | Beta | Size | BM | Momentum | Reversal | Illiquidity | Co-skewness | Idiosyncratic skewness |
|---|---|---|---|---|---|---|---|---|
| 1M | 0.17 | -0.47 | -0.02 | -0.21 | 0.00 | 0.54 | -0.07 | 0.25 |
| 3M | 0.17 | -0.55 | -0.01 | -0.22 | -0.06 | 0.57 | -0.09 | 0.30 |
| 6M | 0.17 | -0.59 | -0.01 | -0.21 | -0.07 | 0.59 | -0.09 | 0.33 |
| 12M | 0.18 | -0.62 | -0.00 | -0.19 | -0.08 | 0.60 | -0.10 | 0.35 |
| 1Y | 0.19 | -0.46 | -0.06 | -0.06 | -0.05 | 0.38 | -0.09 | 0.33 |
| 2Y | 0.20 | -0.52 | -0.07 | -0.11 | -0.06 | 0.44 | -0.10 | 0.40 |
| 3Y | 0.20 | -0.54 | -0.08 | -0.12 | -0.07 | 0.46 | -0.11 | 0.44 |
| 5Y | 0.20 | -0.55 | -0.10 | -0.12 | -0.07 | 0.47 | -0.12 | 0.47 |
15.5 Persistence
I match each stock’s volatility to its value an exact number of months later and average the monthly winsorized Pearson correlations. I omit lags shorter than the volatility window so the two estimates use disjoint sets of returns.
Code
lags = [1, 3, 6, 12, 24, 36, 48, 60, 120]
persistence(panel, iv_labels, lags).with_columns(
pl.when(pl.col("Lag (months)") >= months).then(pl.col(w.upper())).alias(w.upper())
for w, (months, _) in windows.items()
).eap.show_table()| Lag (months) | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
| 1 | 0.643 | |||||||
| 3 | 0.598 | 0.758 | ||||||
| 6 | 0.564 | 0.712 | 0.797 | |||||
| 12 | 0.522 | 0.656 | 0.730 | 0.805 | 0.515 | |||
| 24 | 0.460 | 0.581 | 0.646 | 0.710 | 0.462 | 0.606 | ||
| 36 | 0.423 | 0.535 | 0.596 | 0.654 | 0.435 | 0.566 | 0.639 | |
| 48 | 0.397 | 0.504 | 0.561 | 0.617 | 0.416 | 0.539 | 0.605 | |
| 60 | 0.381 | 0.483 | 0.538 | 0.590 | 0.399 | 0.519 | 0.581 | 0.662 |
| 120 | 0.338 | 0.427 | 0.475 | 0.519 | 0.362 | 0.466 | 0.518 | 0.586 |
15.6 Idiosyncratic Volatility and Stock Returns
15.6.1 Univariate Portfolio Analysis
I sort each formation month’s eligible stocks into deciles and calculate equal- and value-weighted next-month excess returns. Value weights use formation-month market capitalization. The spread buys the highest-volatility decile and sells the lowest. I compare returns with the delisting adjustments in Section 7.2 to returns from CRSP’s unadjusted monthly stock file.
I run the spread regressions on July 1963 through December 2012 holding returns. The FFCPS model augments the four-factor model with the Pástor–Stambaugh traded liquidity factor bundled with the package. For FFCPS the sample starts in January 1968, when that factor first becomes available. Inference uses six-lag Newey–West standard errors (Newey and West 1987).
factor_returns = (
monthly_factors
.select(
month="date", mkt=100 * pl.col("mktrf"),
smb=100 * pl.col("smb"), hml=100 * pl.col("hml"), mom_factor=100 * pl.col("mom"),
)
.join(load_pastor_stambaugh_2013().select(month="date", ps=100 * pl.col("psl")),
on="month", how="left", validate="1:1")
)
models = {"Return": [], "FFC α": ["mkt", "smb", "hml", "mom_factor"]}
models["FFCPS α"] = [*models["FFC α"], "ps"]I fit the spread regressions on holding-month returns and factors.
I use the same decile assignments and table calculations for both return series. The return column determines whether the delisting adjustment enters the portfolio outcome.
def decile_returns(return_column):
sample = panel.with_columns(excess=pl.col(return_column))
return {
term: portfolio_months(
assign_portfolio(sample.filter(pl.col(term).is_finite()), term, 10, "month"),
["portfolio"],
)
for term in iv_labels
}
adjusted_deciles = decile_returns("excess")
unadjusted_deciles = decile_returns("raw_excess")Code
def spread_statistics(series, weight):
sample = (
series
.select(pl.col("month").dt.offset_by("1mo"), weight)
.join(factor_returns, on="month", how="left", validate="1:1")
.sort("month")
)
return {
name: format_fit(hac(f"{weight} ~ " + (" + ".join(terms) or "1"),
sample.drop_nulls([weight, *terms])), "Intercept")
for name, terms in models.items()
}
def univariate_table(monthly_returns, weight):
rows = []
for term, monthly_return in monthly_returns.items():
means = monthly_return.group_by("portfolio").agg(pl.col(weight).mean()).sort("portfolio")
estimates = spread_statistics(spread(monthly_return, 10, 1, "portfolio", weight), weight)
rows.append({
"Window": iv_labels[term],
**{str(decile): value for decile, value in means.iter_rows()},
"10–1": estimates.pop("Return"),
**estimates,
})
return pl.DataFrame(rows)
for weight in ("VW", "EW"):
univariate_table(adjusted_deciles, weight).eap.show_table()| Window | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 10–1 | FFC α | FFCPS α |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 0.48 | 0.48 | 0.51 | 0.57 | 0.60 | 0.63 | 0.38 | 0.14 | -0.17 | -0.79 | -1.26 (-3.53) |
-1.43 (-5.38) |
-1.47 (-5.00) |
| 3M | 0.51 | 0.49 | 0.52 | 0.60 | 0.71 | 0.58 | 0.32 | -0.01 | -0.39 | -0.86 | -1.37 (-3.42) |
-1.58 (-6.07) |
-1.59 (-5.77) |
| 6M | 0.48 | 0.52 | 0.52 | 0.60 | 0.65 | 0.52 | 0.35 | -0.05 | -0.45 | -0.85 | -1.33 (-3.13) |
-1.53 (-4.82) |
-1.54 (-4.43) |
| 12M | 0.47 | 0.49 | 0.54 | 0.62 | 0.58 | 0.58 | 0.29 | 0.07 | -0.17 | -0.62 | -1.09 (-2.56) |
-1.41 (-5.00) |
-1.41 (-4.56) |
| 1Y | 0.54 | 0.42 | 0.50 | 0.51 | 0.46 | 0.49 | 0.54 | 0.48 | 0.33 | -0.15 | -0.70 (-2.02) |
-1.05 (-4.37) |
-1.00 (-3.85) |
| 2Y | 0.45 | 0.53 | 0.57 | 0.49 | 0.63 | 0.55 | 0.55 | 0.40 | 0.32 | -0.15 | -0.60 (-1.67) |
-0.97 (-3.60) |
-0.96 (-3.28) |
| 3Y | 0.43 | 0.57 | 0.49 | 0.60 | 0.58 | 0.64 | 0.60 | 0.62 | 0.17 | -0.13 | -0.56 (-1.60) |
-0.91 (-3.52) |
-0.91 (-3.27) |
| 5Y | 0.45 | 0.51 | 0.53 | 0.63 | 0.54 | 0.76 | 0.59 | 0.45 | 0.24 | -0.19 | -0.64 (-1.85) |
-0.95 (-3.79) |
-0.96 (-3.52) |
| Window | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 10–1 | FFC α | FFCPS α |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 0.62 | 0.75 | 0.86 | 0.94 | 0.93 | 0.91 | 0.86 | 0.70 | 0.57 | 0.28 | -0.34 (-0.96) |
-0.44 (-1.71) |
-0.46 (-1.70) |
| 3M | 0.66 | 0.78 | 0.85 | 0.93 | 0.97 | 0.93 | 0.84 | 0.62 | 0.48 | 0.34 | -0.31 (-0.76) |
-0.46 (-1.60) |
-0.50 (-1.63) |
| 6M | 0.67 | 0.77 | 0.84 | 0.93 | 0.89 | 0.90 | 0.76 | 0.60 | 0.50 | 0.53 | -0.14 (-0.33) |
-0.30 (-0.97) |
-0.33 (-1.00) |
| 12M | 0.66 | 0.75 | 0.84 | 0.90 | 0.85 | 0.88 | 0.71 | 0.65 | 0.64 | 0.76 | 0.10 (0.22) |
-0.11 (-0.35) |
-0.12 (-0.36) |
| 1Y | 0.76 | 0.80 | 0.82 | 0.85 | 0.81 | 0.79 | 0.80 | 0.85 | 0.74 | 0.46 | -0.30 (-0.79) |
-0.50 (-1.95) |
-0.50 (-1.82) |
| 2Y | 0.69 | 0.80 | 0.83 | 0.82 | 0.88 | 0.84 | 0.88 | 0.88 | 0.96 | 0.56 | -0.13 (-0.34) |
-0.32 (-1.17) |
-0.35 (-1.16) |
| 3Y | 0.68 | 0.78 | 0.81 | 0.82 | 0.85 | 0.92 | 0.90 | 1.02 | 0.91 | 0.61 | -0.07 (-0.19) |
-0.24 (-0.83) |
-0.26 (-0.86) |
| 5Y | 0.65 | 0.75 | 0.84 | 0.80 | 0.86 | 0.92 | 0.93 | 0.98 | 0.96 | 0.60 | -0.06 (-0.14) |
-0.17 (-0.60) |
-0.21 (-0.69) |
Code
for weight in ("VW", "EW"):
univariate_table(unadjusted_deciles, weight).eap.show_table()| Window | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 10–1 | FFC α | FFCPS α |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 0.47 | 0.48 | 0.51 | 0.57 | 0.60 | 0.63 | 0.38 | 0.14 | -0.17 | -0.70 | -1.17 (-3.24) |
-1.34 (-4.98) |
-1.37 (-4.60) |
| 3M | 0.50 | 0.49 | 0.52 | 0.60 | 0.71 | 0.58 | 0.31 | -0.01 | -0.39 | -0.75 | -1.26 (-3.11) |
-1.48 (-5.61) |
-1.48 (-5.30) |
| 6M | 0.48 | 0.52 | 0.52 | 0.60 | 0.66 | 0.51 | 0.33 | -0.05 | -0.45 | -0.71 | -1.19 (-2.75) |
-1.39 (-4.27) |
-1.39 (-3.89) |
| 12M | 0.47 | 0.49 | 0.54 | 0.62 | 0.56 | 0.56 | 0.29 | 0.07 | -0.17 | -0.50 | -0.98 (-2.26) |
-1.31 (-4.59) |
-1.30 (-4.17) |
| 1Y | 0.54 | 0.42 | 0.50 | 0.51 | 0.46 | 0.49 | 0.54 | 0.47 | 0.33 | -0.15 | -0.69 (-1.97) |
-1.06 (-4.38) |
-1.02 (-3.85) |
| 2Y | 0.45 | 0.52 | 0.57 | 0.49 | 0.62 | 0.55 | 0.55 | 0.40 | 0.31 | -0.11 | -0.57 (-1.55) |
-0.94 (-3.44) |
-0.93 (-3.13) |
| 3Y | 0.43 | 0.57 | 0.49 | 0.59 | 0.57 | 0.64 | 0.60 | 0.61 | 0.17 | -0.10 | -0.53 (-1.49) |
-0.87 (-3.37) |
-0.88 (-3.12) |
| 5Y | 0.45 | 0.51 | 0.53 | 0.62 | 0.54 | 0.76 | 0.58 | 0.44 | 0.26 | -0.16 | -0.61 (-1.75) |
-0.91 (-3.67) |
-0.92 (-3.41) |
| Window | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 10–1 | FFC α | FFCPS α |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1M | 0.64 | 0.75 | 0.86 | 0.94 | 0.94 | 0.91 | 0.86 | 0.73 | 0.64 | 0.67 | 0.02 (0.06) |
-0.06 (-0.23) |
-0.06 (-0.22) |
| 3M | 0.66 | 0.78 | 0.84 | 0.93 | 0.97 | 0.93 | 0.84 | 0.65 | 0.53 | 0.77 | 0.11 (0.26) |
-0.03 (-0.10) |
-0.05 (-0.15) |
| 6M | 0.67 | 0.77 | 0.84 | 0.93 | 0.90 | 0.89 | 0.77 | 0.63 | 0.57 | 0.96 | 0.29 (0.67) |
0.15 (0.45) |
0.14 (0.40) |
| 12M | 0.66 | 0.75 | 0.84 | 0.88 | 0.85 | 0.88 | 0.72 | 0.67 | 0.72 | 1.19 | 0.53 (1.18) |
0.33 (0.99) |
0.34 (0.95) |
| 1Y | 0.76 | 0.80 | 0.83 | 0.85 | 0.82 | 0.80 | 0.82 | 0.90 | 0.85 | 0.76 | -0.01 (-0.02) |
-0.20 (-0.77) |
-0.20 (-0.72) |
| 2Y | 0.69 | 0.79 | 0.83 | 0.82 | 0.88 | 0.85 | 0.89 | 0.94 | 1.09 | 0.85 | 0.16 (0.40) |
-0.03 (-0.10) |
-0.04 (-0.13) |
| 3Y | 0.68 | 0.78 | 0.81 | 0.82 | 0.85 | 0.92 | 0.93 | 1.09 | 1.04 | 0.88 | 0.20 (0.51) |
0.04 (0.14) |
0.03 (0.09) |
| 5Y | 0.65 | 0.75 | 0.83 | 0.80 | 0.87 | 0.94 | 0.96 | 1.05 | 1.09 | 0.85 | 0.20 (0.51) |
0.09 (0.31) |
0.06 (0.20) |
Code
target = "iv_ff_1m"
characteristics = {target: "`iv_ff_1m`",
**{("cap" if term == "log_cap" else term):
("Market cap ($ millions)" if term == "log_cap" else name)
for term, name in controls.items()}}
members = assign_portfolio(panel.filter(pl.col(target).is_finite()), target, 10, "month")
trait_means = (
members
.group_by("month", "portfolio")
.agg(pl.col(list(characteristics)).mean())
.group_by("portfolio")
.agg(pl.col(list(characteristics)).mean())
.sort("portfolio")
)
pl.DataFrame({
"Characteristic": list(characteristics.values()),
**{str(row[0]): list(row[1:]) for row in trait_means.iter_rows()},
}).eap.show_table()| Characteristic | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
iv_ff_1m |
11.02 | 18.84 | 24.02 | 29.14 | 34.70 | 41.09 | 48.92 | 59.50 | 76.53 | 135.25 |
| Beta | 0.47 | 0.65 | 0.73 | 0.79 | 0.85 | 0.89 | 0.92 | 0.92 | 0.87 | 0.76 |
| Market cap ($ millions) | 3694.90 | 2639.53 | 1635.05 | 1091.60 | 718.56 | 498.12 | 342.68 | 226.84 | 139.40 | 69.53 |
| BM | 0.97 | 0.87 | 0.86 | 0.86 | 0.88 | 0.90 | 0.93 | 0.98 | 1.04 | 1.20 |
| Momentum | 13.81 | 15.45 | 16.11 | 17.16 | 18.09 | 18.69 | 18.15 | 16.32 | 11.15 | -2.89 |
| Reversal | 0.26 | 0.38 | 0.41 | 0.45 | 0.47 | 0.47 | 0.58 | 0.80 | 1.52 | 6.81 |
| Illiquidity | 0.15 | 0.23 | 0.35 | 0.52 | 0.76 | 1.13 | 1.70 | 2.81 | 5.55 | 28.04 |
| Co-skewness | -0.80 | -0.65 | -0.77 | -0.86 | -1.00 | -1.12 | -1.30 | -1.52 | -1.85 | -2.29 |
| Idiosyncratic skewness | 0.48 | 0.40 | 0.44 | 0.49 | 0.56 | 0.63 | 0.71 | 0.80 | 0.92 | 1.08 |
15.6.2 Bivariate Portfolio Analysis
I sort on a control and one-month FF idiosyncratic volatility, using stocks with both variables available. In the dependent sort, I form control quintiles and then sort on volatility within each control quintile. In the independent sort, I form both sets of quintiles from the same monthly sample and intersect them. I report the volatility 5–1 spread within each control quintile and the 5–1 spread after averaging returns across control quintiles.
Code
def two_way_table(dependent, weight):
rows = []
sort_controls = {("cap" if term == "log_cap" else term):
("Market cap" if term == "log_cap" else name)
for term, name in controls.items()}
for control, name in sort_controls.items():
sample = panel.filter(pl.all_horizontal(pl.col(control, target).is_finite()))
cells = bivariate_months(sample, control, target, nyse=False, dependent=dependent)
groups = cells.partition_by("control", as_dict=True)
groups_by_name = {f"Control {i}": groups[i,] for i in range(1, 6)}
groups_by_name["Control avg."] = cells.group_by("month", "target").agg(
pl.col(weight).mean(), pl.col("market").first(),
)
estimates = {label: spread_statistics(spread(group, 5, 1, "target", weight), weight)
for label, group in groups_by_name.items()}
rows.extend({
"Characteristic": name, "Estimate": statistic,
**{label: results[statistic] for label, results in estimates.items()},
} for statistic in models)
return pl.DataFrame(rows)
two_way_table(dependent=True, weight="VW").eap.show_table()| Characteristic | Estimate | Control 1 | Control 2 | Control 3 | Control 4 | Control 5 | Control avg. |
|---|---|---|---|---|---|---|---|
| Beta | Return | -0.39 (-1.30) |
-0.21 (-0.85) |
-0.52 (-1.85) |
-0.56 (-2.19) |
-1.09 (-3.40) |
-0.55 (-2.35) |
| Beta | FFC α | -0.73 (-3.08) |
-0.45 (-2.61) |
-0.72 (-3.05) |
-0.77 (-3.71) |
-1.22 (-4.87) |
-0.78 (-5.08) |
| Beta | FFCPS α | -0.82 (-3.02) |
-0.54 (-2.85) |
-0.82 (-3.40) |
-0.76 (-3.45) |
-1.18 (-4.26) |
-0.82 (-4.90) |
| Market cap | Return | -0.83 (-2.45) |
-1.57 (-5.19) |
-1.23 (-4.42) |
-0.72 (-2.66) |
-0.18 (-0.77) |
-0.91 (-3.50) |
| Market cap | FFC α | -1.02 (-3.73) |
-1.71 (-7.43) |
-1.29 (-6.68) |
-0.75 (-4.18) |
-0.26 (-1.56) |
-1.01 (-6.13) |
| Market cap | FFCPS α | -1.03 (-3.48) |
-1.74 (-7.06) |
-1.29 (-6.17) |
-0.75 (-3.85) |
-0.28 (-1.49) |
-1.02 (-5.76) |
| BM | Return | -1.31 (-3.79) |
-0.84 (-3.04) |
-0.18 (-0.60) |
-0.06 (-0.19) |
0.25 (0.70) |
-0.43 (-1.57) |
| BM | FFC α | -1.37 (-5.14) |
-0.83 (-3.52) |
-0.25 (-1.16) |
-0.38 (-1.62) |
0.02 (0.06) |
-0.56 (-3.28) |
| BM | FFCPS α | -1.46 (-5.02) |
-0.94 (-3.62) |
-0.34 (-1.45) |
-0.54 (-2.13) |
-0.03 (-0.10) |
-0.66 (-3.53) |
| Momentum | Return | -2.48 (-7.16) |
-0.82 (-2.94) |
-0.42 (-1.60) |
-0.21 (-0.87) |
-0.38 (-1.45) |
-0.86 (-3.76) |
| Momentum | FFC α | -2.99 (-10.11) |
-1.27 (-5.75) |
-0.68 (-3.65) |
-0.35 (-2.24) |
-0.66 (-2.78) |
-1.19 (-8.74) |
| Momentum | FFCPS α | -3.01 (-8.82) |
-1.29 (-5.24) |
-0.79 (-3.83) |
-0.28 (-1.60) |
-0.66 (-2.52) |
-1.21 (-7.65) |
| Reversal | Return | -1.19 (-3.25) |
-0.83 (-2.51) |
-0.65 (-2.11) |
-0.55 (-1.86) |
-1.09 (-3.42) |
-0.86 (-3.09) |
| Reversal | FFC α | -1.34 (-4.29) |
-1.13 (-5.26) |
-0.99 (-5.77) |
-0.74 (-3.37) |
-1.24 (-4.24) |
-1.09 (-6.44) |
| Reversal | FFCPS α | -1.29 (-3.84) |
-1.22 (-5.10) |
-0.98 (-5.09) |
-0.77 (-3.26) |
-1.34 (-4.23) |
-1.12 (-6.04) |
| Illiquidity | Return | -0.21 (-0.86) |
-0.41 (-1.45) |
-0.90 (-2.84) |
-1.35 (-4.49) |
-2.07 (-6.91) |
-0.99 (-3.73) |
| Illiquidity | FFC α | -0.33 (-1.91) |
-0.44 (-2.29) |
-0.93 (-4.30) |
-1.39 (-6.33) |
-2.14 (-9.46) |
-1.05 (-6.52) |
| Illiquidity | FFCPS α | -0.34 (-1.76) |
-0.45 (-2.13) |
-0.96 (-4.03) |
-1.43 (-6.13) |
-2.22 (-8.84) |
-1.08 (-6.14) |
| Co-skewness | Return | -1.30 (-3.56) |
-0.53 (-1.70) |
-0.34 (-1.22) |
-0.58 (-2.23) |
-0.92 (-2.90) |
-0.73 (-2.81) |
| Co-skewness | FFC α | -1.08 (-3.47) |
-0.76 (-2.82) |
-0.52 (-2.64) |
-0.70 (-3.29) |
-1.06 (-4.50) |
-0.83 (-4.77) |
| Co-skewness | FFCPS α | -1.03 (-2.91) |
-0.78 (-2.61) |
-0.59 (-2.72) |
-0.79 (-3.45) |
-1.12 (-4.28) |
-0.86 (-4.42) |
| Idiosyncratic skewness | Return | -0.17 (-0.58) |
-0.51 (-1.66) |
-0.41 (-1.40) |
-0.70 (-1.96) |
-1.44 (-4.21) |
-0.65 (-2.35) |
| Idiosyncratic skewness | FFC α | -0.25 (-1.11) |
-0.63 (-2.91) |
-0.60 (-2.92) |
-0.88 (-3.10) |
-1.51 (-5.61) |
-0.77 (-4.68) |
| Idiosyncratic skewness | FFCPS α | -0.20 (-0.75) |
-0.62 (-2.57) |
-0.68 (-3.02) |
-0.99 (-3.24) |
-1.50 (-4.87) |
-0.80 (-4.27) |
Code
two_way_table(dependent=True, weight="EW").eap.show_table()| Characteristic | Estimate | Control 1 | Control 2 | Control 3 | Control 4 | Control 5 | Control avg. |
|---|---|---|---|---|---|---|---|
| Beta | Return | 0.65 (2.12) |
0.10 (0.35) |
-0.07 (-0.24) |
-0.51 (-1.72) |
-1.00 (-3.16) |
-0.17 (-0.60) |
| Beta | FFC α | 0.40 (1.71) |
-0.03 (-0.13) |
-0.13 (-0.59) |
-0.57 (-2.31) |
-1.00 (-3.29) |
-0.27 (-1.24) |
| Beta | FFCPS α | 0.40 (1.58) |
-0.05 (-0.21) |
-0.14 (-0.61) |
-0.60 (-2.33) |
-0.93 (-2.85) |
-0.26 (-1.16) |
| Market cap | Return | 0.32 (0.92) |
-1.51 (-5.02) |
-1.25 (-4.49) |
-0.73 (-2.70) |
-0.24 (-1.00) |
-0.68 (-2.61) |
| Market cap | FFC α | 0.18 (0.56) |
-1.65 (-7.15) |
-1.31 (-6.77) |
-0.77 (-4.35) |
-0.26 (-1.67) |
-0.76 (-4.40) |
| Market cap | FFCPS α | 0.30 (0.87) |
-1.69 (-6.82) |
-1.31 (-6.29) |
-0.77 (-4.01) |
-0.25 (-1.45) |
-0.74 (-4.04) |
| BM | Return | -0.71 (-2.10) |
-0.13 (-0.44) |
0.14 (0.49) |
0.33 (1.14) |
0.51 (1.82) |
0.03 (0.10) |
| BM | FFC α | -0.66 (-2.10) |
-0.09 (-0.35) |
0.15 (0.65) |
0.18 (0.88) |
0.47 (2.09) |
0.01 (0.05) |
| BM | FFCPS α | -0.74 (-2.26) |
-0.20 (-0.71) |
0.13 (0.54) |
0.14 (0.63) |
0.45 (1.92) |
-0.04 (-0.18) |
| Momentum | Return | -0.65 (-2.26) |
0.00 (0.00) |
0.16 (0.67) |
0.24 (0.91) |
-0.24 (-0.96) |
-0.10 (-0.40) |
| Momentum | FFC α | -0.92 (-3.56) |
-0.29 (-1.50) |
-0.12 (-0.83) |
-0.06 (-0.40) |
-0.52 (-2.93) |
-0.38 (-2.48) |
| Momentum | FFCPS α | -0.85 (-3.03) |
-0.30 (-1.49) |
-0.18 (-1.14) |
-0.08 (-0.46) |
-0.47 (-2.39) |
-0.37 (-2.24) |
| Reversal | Return | 1.35 (3.95) |
-0.46 (-1.60) |
-0.37 (-1.23) |
-0.50 (-1.68) |
-1.89 (-5.94) |
-0.38 (-1.34) |
| Reversal | FFC α | 1.42 (4.45) |
-0.58 (-3.11) |
-0.60 (-3.59) |
-0.73 (-4.12) |
-2.08 (-8.66) |
-0.52 (-3.00) |
| Reversal | FFCPS α | 1.57 (4.62) |
-0.64 (-3.24) |
-0.62 (-3.43) |
-0.78 (-4.04) |
-2.18 (-8.20) |
-0.53 (-2.87) |
| Illiquidity | Return | -0.19 (-0.74) |
-0.46 (-1.69) |
-0.89 (-2.85) |
-1.36 (-4.19) |
-0.71 (-2.10) |
-0.72 (-2.60) |
| Illiquidity | FFC α | -0.29 (-1.83) |
-0.48 (-2.53) |
-0.85 (-3.61) |
-1.28 (-4.52) |
-0.73 (-2.42) |
-0.73 (-3.67) |
| Illiquidity | FFCPS α | -0.25 (-1.49) |
-0.46 (-2.25) |
-0.84 (-3.28) |
-1.32 (-4.39) |
-0.69 (-2.07) |
-0.71 (-3.35) |
| Co-skewness | Return | -0.33 (-1.06) |
-0.11 (-0.39) |
-0.05 (-0.19) |
-0.03 (-0.11) |
-0.21 (-0.67) |
-0.15 (-0.53) |
| Co-skewness | FFC α | -0.28 (-1.03) |
-0.31 (-1.58) |
-0.20 (-1.17) |
-0.15 (-0.79) |
-0.19 (-0.64) |
-0.23 (-1.11) |
| Co-skewness | FFCPS α | -0.21 (-0.73) |
-0.33 (-1.58) |
-0.21 (-1.16) |
-0.17 (-0.82) |
-0.22 (-0.75) |
-0.23 (-1.07) |
| Idiosyncratic skewness | Return | 0.24 (0.81) |
0.09 (0.33) |
-0.07 (-0.23) |
-0.07 (-0.23) |
-0.69 (-2.29) |
-0.10 (-0.35) |
| Idiosyncratic skewness | FFC α | 0.19 (0.95) |
-0.01 (-0.06) |
-0.17 (-0.83) |
-0.20 (-0.80) |
-0.70 (-2.58) |
-0.18 (-0.87) |
| Idiosyncratic skewness | FFCPS α | 0.22 (1.04) |
-0.02 (-0.10) |
-0.23 (-1.05) |
-0.20 (-0.79) |
-0.72 (-2.58) |
-0.19 (-0.89) |
Code
two_way_table(dependent=False, weight="VW").eap.show_table()| Characteristic | Estimate | Control 1 | Control 2 | Control 3 | Control 4 | Control 5 | Control avg. |
|---|---|---|---|---|---|---|---|
| Beta | Return | -0.50 (-1.73) |
-0.46 (-1.73) |
-0.57 (-1.90) |
-0.65 (-2.43) |
-0.87 (-2.57) |
-0.60 (-2.44) |
| Beta | FFC α | -0.77 (-3.24) |
-0.64 (-3.18) |
-0.80 (-3.03) |
-0.87 (-4.11) |
-0.99 (-3.77) |
-0.81 (-5.09) |
| Beta | FFCPS α | -0.80 (-2.97) |
-0.72 (-3.45) |
-0.86 (-3.14) |
-0.85 (-3.72) |
-1.00 (-3.53) |
-0.84 (-4.83) |
| Market cap | Return | 0.01 (0.04) |
-1.13 (-3.60) |
-1.33 (-4.38) |
-1.34 (-4.14) |
-0.98 (-2.61) |
-0.95 (-3.28) |
| Market cap | FFC α | -0.14 (-0.53) |
-1.34 (-6.10) |
-1.42 (-6.71) |
-1.27 (-5.07) |
-1.01 (-3.06) |
-1.03 (-5.38) |
| Market cap | FFCPS α | -0.11 (-0.40) |
-1.35 (-5.74) |
-1.40 (-6.08) |
-1.24 (-4.49) |
-1.21 (-3.43) |
-1.06 (-5.01) |
| BM | Return | -1.31 (-3.72) |
-0.75 (-2.44) |
-0.34 (-1.07) |
-0.19 (-0.54) |
0.25 (0.74) |
-0.47 (-1.63) |
| BM | FFC α | -1.34 (-5.12) |
-0.74 (-2.81) |
-0.39 (-1.59) |
-0.57 (-2.27) |
0.02 (0.06) |
-0.61 (-3.20) |
| BM | FFCPS α | -1.38 (-4.66) |
-0.91 (-3.26) |
-0.54 (-2.04) |
-0.77 (-2.82) |
-0.06 (-0.18) |
-0.73 (-3.54) |
| Momentum | Return | -1.69 (-3.70) |
-0.85 (-2.72) |
-0.46 (-1.58) |
-0.21 (-0.71) |
-0.45 (-1.57) |
-0.73 (-2.73) |
| Momentum | FFC α | -2.10 (-4.57) |
-1.19 (-5.31) |
-0.75 (-3.46) |
-0.36 (-1.51) |
-0.61 (-2.43) |
-1.00 (-5.89) |
| Momentum | FFCPS α | -2.03 (-4.15) |
-1.21 (-4.72) |
-0.89 (-3.63) |
-0.30 (-1.15) |
-0.60 (-2.22) |
-1.01 (-5.23) |
| Reversal | Return | -1.12 (-3.11) |
-1.31 (-3.25) |
-1.43 (-3.48) |
-1.00 (-2.68) |
-0.59 (-1.74) |
-1.09 (-3.40) |
| Reversal | FFC α | -1.49 (-3.93) |
-1.51 (-5.75) |
-1.74 (-6.86) |
-1.04 (-3.65) |
-0.69 (-2.50) |
-1.30 (-6.62) |
| Reversal | FFCPS α | -1.44 (-3.61) |
-1.60 (-5.50) |
-1.80 (-6.41) |
-1.08 (-3.48) |
-0.74 (-2.46) |
-1.34 (-6.10) |
| Illiquidity | Return | -0.80 (-2.19) |
-0.91 (-2.82) |
-1.19 (-3.39) |
-1.23 (-3.90) |
-1.05 (-3.35) |
-1.05 (-3.53) |
| Illiquidity | FFC α | -0.92 (-3.11) |
-0.93 (-3.74) |
-1.20 (-4.74) |
-1.31 (-6.13) |
-1.21 (-5.22) |
-1.12 (-5.94) |
| Illiquidity | FFCPS α | -1.00 (-3.03) |
-0.94 (-3.43) |
-1.22 (-4.34) |
-1.34 (-5.93) |
-1.34 (-5.42) |
-1.17 (-5.57) |
| Co-skewness | Return | -1.24 (-3.88) |
-0.64 (-1.92) |
-0.70 (-2.27) |
-0.72 (-2.39) |
-0.80 (-2.58) |
-0.82 (-2.98) |
| Co-skewness | FFC α | -1.20 (-5.27) |
-0.82 (-2.69) |
-0.81 (-3.40) |
-0.95 (-3.79) |
-0.93 (-4.30) |
-0.94 (-5.15) |
| Co-skewness | FFCPS α | -1.23 (-4.92) |
-0.85 (-2.51) |
-0.82 (-3.26) |
-1.03 (-3.79) |
-0.97 (-4.03) |
-0.98 (-4.81) |
| Idiosyncratic skewness | Return | -0.83 (-2.48) |
-0.58 (-1.52) |
-0.50 (-1.56) |
-0.65 (-1.89) |
-1.05 (-3.37) |
-0.72 (-2.44) |
| Idiosyncratic skewness | FFC α | -0.96 (-3.98) |
-0.64 (-2.11) |
-0.58 (-2.57) |
-0.87 (-3.34) |
-1.21 (-4.94) |
-0.85 (-4.59) |
| Idiosyncratic skewness | FFCPS α | -0.99 (-3.78) |
-0.73 (-2.14) |
-0.63 (-2.61) |
-0.98 (-3.52) |
-1.23 (-4.44) |
-0.91 (-4.45) |
Code
two_way_table(dependent=False, weight="EW").eap.show_table()| Characteristic | Estimate | Control 1 | Control 2 | Control 3 | Control 4 | Control 5 | Control avg. |
|---|---|---|---|---|---|---|---|
| Beta | Return | 0.56 (1.84) |
-0.01 (-0.04) |
-0.07 (-0.21) |
-0.47 (-1.49) |
-0.76 (-2.21) |
-0.14 (-0.49) |
| Beta | FFC α | 0.34 (1.37) |
-0.08 (-0.37) |
-0.10 (-0.38) |
-0.55 (-2.18) |
-0.74 (-2.64) |
-0.23 (-1.02) |
| Beta | FFCPS α | 0.35 (1.33) |
-0.12 (-0.50) |
-0.09 (-0.33) |
-0.56 (-2.12) |
-0.67 (-2.22) |
-0.22 (-0.94) |
| Market cap | Return | 0.69 (2.18) |
-1.08 (-3.47) |
-1.34 (-4.42) |
-1.38 (-4.27) |
-1.18 (-3.19) |
-0.85 (-2.94) |
| Market cap | FFC α | 0.60 (1.96) |
-1.29 (-5.88) |
-1.43 (-6.64) |
-1.32 (-5.31) |
-1.09 (-3.49) |
-0.90 (-4.60) |
| Market cap | FFCPS α | 0.65 (2.09) |
-1.32 (-5.56) |
-1.41 (-6.06) |
-1.27 (-4.65) |
-1.25 (-3.63) |
-0.92 (-4.27) |
| BM | Return | -0.64 (-1.81) |
-0.06 (-0.21) |
0.12 (0.42) |
0.28 (0.94) |
0.48 (1.72) |
0.04 (0.13) |
| BM | FFC α | -0.57 (-1.89) |
-0.04 (-0.14) |
0.15 (0.58) |
0.12 (0.52) |
0.38 (1.73) |
0.01 (0.03) |
| BM | FFCPS α | -0.64 (-1.99) |
-0.18 (-0.60) |
0.10 (0.39) |
0.03 (0.13) |
0.35 (1.48) |
-0.07 (-0.28) |
| Momentum | Return | -0.67 (-2.28) |
0.07 (0.28) |
0.10 (0.36) |
0.07 (0.21) |
-0.36 (-1.26) |
-0.16 (-0.61) |
| Momentum | FFC α | -0.79 (-3.26) |
-0.19 (-0.93) |
-0.17 (-0.99) |
-0.23 (-1.15) |
-0.68 (-3.35) |
-0.42 (-2.47) |
| Momentum | FFCPS α | -0.76 (-2.93) |
-0.19 (-0.87) |
-0.24 (-1.29) |
-0.29 (-1.29) |
-0.66 (-2.93) |
-0.43 (-2.36) |
| Reversal | Return | 1.27 (3.70) |
-0.56 (-1.66) |
-0.87 (-2.45) |
-0.94 (-2.65) |
-1.30 (-3.56) |
-0.48 (-1.52) |
| Reversal | FFC α | 1.34 (4.20) |
-0.69 (-3.02) |
-1.06 (-4.63) |
-1.09 (-4.65) |
-1.51 (-5.80) |
-0.61 (-3.02) |
| Reversal | FFCPS α | 1.42 (4.30) |
-0.72 (-3.02) |
-1.13 (-4.58) |
-1.17 (-4.60) |
-1.58 (-5.39) |
-0.65 (-2.98) |
| Illiquidity | Return | -0.93 (-2.79) |
-0.96 (-3.06) |
-1.17 (-3.43) |
-1.16 (-3.39) |
-0.17 (-0.48) |
-0.89 (-2.92) |
| Illiquidity | FFC α | -0.91 (-3.77) |
-0.94 (-3.72) |
-1.12 (-4.14) |
-1.15 (-4.21) |
-0.30 (-1.00) |
-0.89 (-4.11) |
| Illiquidity | FFCPS α | -0.88 (-3.22) |
-0.91 (-3.26) |
-1.10 (-3.72) |
-1.18 (-4.06) |
-0.37 (-1.19) |
-0.90 (-3.75) |
| Co-skewness | Return | -0.19 (-0.63) |
-0.18 (-0.62) |
-0.11 (-0.38) |
-0.13 (-0.41) |
-0.12 (-0.38) |
-0.15 (-0.51) |
| Co-skewness | FFC α | -0.21 (-0.85) |
-0.36 (-1.76) |
-0.23 (-1.07) |
-0.25 (-1.06) |
-0.13 (-0.46) |
-0.24 (-1.09) |
| Co-skewness | FFCPS α | -0.19 (-0.76) |
-0.37 (-1.70) |
-0.23 (-1.02) |
-0.27 (-1.08) |
-0.15 (-0.53) |
-0.24 (-1.09) |
| Idiosyncratic skewness | Return | 0.11 (0.32) |
0.03 (0.10) |
-0.03 (-0.09) |
-0.14 (-0.47) |
-0.41 (-1.40) |
-0.09 (-0.30) |
| Idiosyncratic skewness | FFC α | 0.04 (0.16) |
-0.04 (-0.19) |
-0.09 (-0.38) |
-0.29 (-1.24) |
-0.50 (-2.04) |
-0.18 (-0.81) |
| Idiosyncratic skewness | FFCPS α | 0.08 (0.30) |
-0.03 (-0.13) |
-0.14 (-0.60) |
-0.29 (-1.20) |
-0.51 (-2.02) |
-0.18 (-0.80) |
15.6.3 Fama–MacBeth Regressions
I regress next-month excess returns on volatility and the available controls, using a separate cross-section each month. The full specification is
\[ \begin{aligned} r_{i,t+1} ={}& a_t + b_t X_{i,t} + c_{1,t}\beta_{i,t} + c_{2,t}\mathrm{Size}_{i,t} + c_{3,t}\mathrm{BM}_{i,t} + c_{4,t}\mathrm{Mom}_{i,t} \\ &+ c_{5,t}\mathrm{Rev}_{i,t} + c_{6,t}\mathrm{Illiq}_{i,t} + c_{7,t}\mathrm{CoSkew}_{i,t} + c_{8,t}\mathrm{IdioSkew}_{i,t} + u_{i,t+1}, \end{aligned} \tag{15.8}\]
where \(X_{i,t}\) is either idiosyncratic or total volatility. I winsorize regressors within each month’s complete cases at the 0.5th and 99.5th percentiles. The tables report time-series means of monthly coefficients with six-lag Newey–West \(t\)-statistics.
Code
short_label = {target: "`iv_ff_1m`"} | controls
specifications = [[target], *([target, term] for term in controls), [target, *controls]]
fits = [
fama_macbeth_table(panel.drop_nulls(["excess", *terms]), [terms], short_label, digits=3)
for terms in specifications
]
fits[0].select("Term").with_columns(
fit["(1)"].alias(f"({i})") for i, fit in enumerate(fits, 1)
).eap.show_table()| Term | (1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
|---|---|---|---|---|---|---|---|---|---|---|
iv_ff_1m |
-0.008 (-2.48) |
-0.007 (-2.29) |
-0.013 (-5.12) |
-0.004 (-1.37) |
-0.007 (-2.34) |
-0.006 (-1.60) |
-0.018 (-5.47) |
-0.007 (-2.31) |
-0.007 (-2.40) |
-0.013 (-6.07) |
| Beta | -0.206 (-1.64) |
0.002 (0.01) |
||||||||
| Size | -0.218 (-5.77) |
-0.178 (-4.28) |
||||||||
| BM | 0.344 (4.85) |
0.138 (2.08) |
||||||||
| Momentum | 0.006 (3.02) |
0.007 (3.89) |
||||||||
| Reversal | -0.056 (-11.56) |
-0.060 (-11.56) |
||||||||
| Illiquidity | 0.096 (4.11) |
0.069 (3.79) |
||||||||
| Co-skewness | -0.013 (-2.57) |
0.001 (0.14) |
||||||||
| Idiosyncratic skewness | -0.004 (-0.09) |
-0.121 (-3.84) |
||||||||
| Intercept | 1.016 (5.00) |
1.124 (5.97) |
2.219 (6.65) |
0.617 (2.88) |
0.824 (4.13) |
0.971 (4.61) |
1.351 (6.78) |
1.020 (5.18) |
1.037 (5.22) |
1.917 (5.78) |
| Adjusted R² | 0.02 | 0.03 | 0.02 | 0.02 | 0.03 | 0.03 | 0.03 | 0.02 | 0.02 | 0.07 |
| n | 4749 | 4423 | 4748 | 3393 | 4406 | 4737 | 3599 | 3944 | 3944 | 2563 |
Code
def horizon_regressions(family):
table = {"Term": [families[family], *controls.values(), "Intercept", "Adjusted R²", "n"]}
for term, window in labels[family].items():
terms = [term, *controls]
fit = fama_macbeth_table(panel.drop_nulls(["excess", *terms]), [terms],
{term: families[family]} | controls, digits=3)
table[window] = fit["(1)"]
return pl.DataFrame(table)
horizon_regressions("iv_ff").eap.show_table()| Term | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
iv_ff |
-0.013 (-6.07) |
-0.016 (-5.31) |
-0.016 (-4.27) |
-0.011 (-2.75) |
-0.015 (-5.71) |
-0.012 (-3.46) |
-0.011 (-2.79) |
-0.010 (-2.06) |
| Beta | 0.002 (0.01) |
0.036 (0.27) |
0.021 (0.16) |
-0.018 (-0.15) |
-0.008 (-0.06) |
-0.009 (-0.07) |
-0.010 (-0.08) |
-0.029 (-0.23) |
| Size | -0.178 (-4.28) |
-0.198 (-5.27) |
-0.190 (-5.30) |
-0.166 (-4.87) |
-0.170 (-4.03) |
-0.165 (-4.15) |
-0.163 (-4.28) |
-0.154 (-4.18) |
| BM | 0.138 (2.08) |
0.138 (2.09) |
0.146 (2.21) |
0.150 (2.21) |
0.144 (2.16) |
0.132 (2.01) |
0.121 (1.86) |
0.118 (1.85) |
| Momentum | 0.007 (3.89) |
0.007 (4.08) |
0.008 (4.42) |
0.008 (4.51) |
0.009 (4.74) |
0.008 (4.49) |
0.008 (4.36) |
0.008 (4.22) |
| Reversal | -0.060 (-11.56) |
-0.061 (-12.01) |
-0.062 (-12.22) |
-0.063 (-12.37) |
-0.061 (-11.88) |
-0.062 (-12.09) |
-0.062 (-12.26) |
-0.063 (-12.37) |
| Illiquidity | 0.069 (3.79) |
0.074 (4.15) |
0.071 (4.03) |
0.064 (3.76) |
0.057 (3.07) |
0.056 (3.10) |
0.054 (2.99) |
0.053 (2.92) |
| Co-skewness | 0.001 (0.14) |
-0.000 (-0.06) |
-0.001 (-0.17) |
-0.001 (-0.25) |
-0.001 (-0.12) |
-0.000 (-0.09) |
-0.000 (-0.04) |
-0.000 (-0.00) |
| Idiosyncratic skewness | -0.121 (-3.84) |
-0.106 (-3.45) |
-0.103 (-3.32) |
-0.117 (-3.74) |
-0.086 (-2.71) |
-0.064 (-1.82) |
-0.048 (-1.24) |
-0.040 (-0.87) |
| Intercept | 1.917 (5.78) |
2.125 (6.85) |
2.038 (6.71) |
1.806 (6.03) |
1.834 (5.60) |
1.800 (5.83) |
1.792 (6.08) |
1.720 (6.03) |
| Adjusted R² | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 |
| n | 2563 | 2563 | 2563 | 2563 | 2563 | 2560 | 2560 | 2563 |
Code
horizon_regressions("vol").eap.show_table()| Term | 1M | 3M | 6M | 12M | 1Y | 2Y | 3Y | 5Y |
|---|---|---|---|---|---|---|---|---|
vol |
-0.013 (-6.10) |
-0.017 (-5.33) |
-0.016 (-4.27) |
-0.012 (-2.71) |
-0.013 (-4.59) |
-0.009 (-2.39) |
-0.008 (-1.84) |
-0.006 (-1.24) |
| Beta | 0.078 (0.58) |
0.118 (0.92) |
0.089 (0.73) |
0.032 (0.27) |
0.024 (0.19) |
-0.006 (-0.05) |
-0.019 (-0.17) |
-0.050 (-0.45) |
| Size | -0.176 (-4.20) |
-0.193 (-5.10) |
-0.187 (-5.19) |
-0.165 (-4.80) |
-0.166 (-4.09) |
-0.155 (-4.07) |
-0.148 (-4.14) |
-0.137 (-3.99) |
| BM | 0.138 (2.07) |
0.138 (2.09) |
0.146 (2.21) |
0.150 (2.21) |
0.140 (2.11) |
0.130 (1.98) |
0.124 (1.92) |
0.128 (2.03) |
| Momentum | 0.007 (3.91) |
0.008 (4.10) |
0.008 (4.43) |
0.008 (4.51) |
0.009 (4.90) |
0.008 (4.58) |
0.008 (4.46) |
0.008 (4.30) |
| Reversal | -0.060 (-11.56) |
-0.062 (-12.01) |
-0.062 (-12.22) |
-0.063 (-12.36) |
-0.063 (-12.05) |
-0.064 (-12.23) |
-0.064 (-12.39) |
-0.064 (-12.47) |
| Illiquidity | 0.069 (3.85) |
0.075 (4.21) |
0.071 (4.04) |
0.064 (3.74) |
0.057 (3.17) |
0.055 (3.10) |
0.053 (2.96) |
0.051 (2.86) |
| Co-skewness | 0.001 (0.12) |
-0.000 (-0.05) |
-0.001 (-0.20) |
-0.001 (-0.26) |
-0.001 (-0.16) |
0.000 (0.06) |
0.000 (0.01) |
-0.000 (-0.09) |
| Idiosyncratic skewness | -0.123 (-3.91) |
-0.107 (-3.50) |
-0.104 (-3.37) |
-0.118 (-3.76) |
-0.096 (-2.94) |
-0.085 (-2.36) |
-0.079 (-1.98) |
-0.076 (-1.67) |
| Intercept | 1.905 (5.73) |
2.097 (6.72) |
2.025 (6.64) |
1.797 (5.99) |
1.799 (5.77) |
1.705 (5.85) |
1.659 (6.11) |
1.557 (5.95) |
| Adjusted R² | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 | 0.07 |
| n | 2563 | 2563 | 2563 | 2563 | 2563 | 2560 | 2560 | 2563 |
15.6.4 Cumulative Returns
The low-minus-high portfolio buys the lowest and sells the highest one-month idiosyncratic volatility decile, with value weights in each leg. If \(r_s\) is its decimal return for holding month \(s\), its cumulative simple and log returns, both expressed in percent, are
\[ C_t = 100\left[\prod_{s\le t}(1+r_s)-1\right], \qquad L_t = 100\sum_{s\le t}\log(1+r_s). \tag{15.9}\]
Code
low_high = (
spread(adjusted_deciles[target], 1, 10, "portfolio", "VW")
.select(date=pl.col("month").dt.offset_by("1mo").dt.month_end(), ret=pl.col("VW") / 100)
.sort("date")
.with_columns(compounded=(1 + pl.col("ret")).cum_prod() - 1,
cumulative_log=pl.col("ret").log1p().cum_sum())
)
(
plot_cumulative_returns(low_high)
.labs(x="Holding month")
.geom_hline(yintercept=0, color="#777777", size=0.4)
)