This is a standalone version of an article first published on quantstr.at . The Python and R code, the data files and the line-by-line walk-through are in the original.
TL;DR
Strategy: Section 4.3 of 151 Trading Strategies ranks funds by the R-squared of a four-factor regression (low R-squared means the fund does something of its own), then by alpha, and buys the low-R-squared, high-alpha group.
What we did: followed the working-paper design of Amihud and Goyenko (2013), the research the book relies on, on 1,362 US equity mutual funds from Yahoo Finance, 2012 to 2025 (18,677 fund-years).
Result: the lowest-R-squared, highest-alpha group earned a four-factor alpha of −1.10% a year (t-statistic −4.5). Amihud and Goyenko report +2.81%. The average fund-year alpha here was −1.45%.
Predictive regression: the coefficient on transformed R-squared is 0.031 (t-statistic 0.52), against −0.680 (t-statistic 7.69) in the original, which also had fund-characteristic controls.…