Open Family Office Datasets Tickers Strategies Portfolios Research Posts About Changelog

Quality Minus Junk

Source

Citation. Clifford S. Asness (AQR Capital Management), Andrea Frazzini (AQR and NYU) and Lasse Heje Pedersen (AQR, NYU, Copenhagen Business School and CEPR). "Quality minus junk". Review of Accounting Studies 24(1), 2019, pp. 34–112. doi.org/10.1007/s11142-018-9470-2. Published online on 5 November 2018, open access under CC BY 4.0. The issue's citation is correct. The authors work at AQR, which "may or may not apply similar investment techniques or methods of analysis as described herein." The factor data are at aqr.com/library/data-sets.

Status. Planned. #425 builds strategies from these reviews, and QMJ is a candidate once sec-xbrl has its inputs (#589). No code in the repo uses it yet.

Read. Read on 2026-11-28 from the publisher's PDF, 79 pages, extracted with pdftotext. Three subagents read the whole text: the body to Section 5.2, the rest of the body, and the appendices with the variable definitions. I checked their main quotes and the rows of Tables 3, 4, 5, 15, 19, 20 and 21 against the text. The figures came through as axis labels only, so I use no number from a figure. The equations came through garbled, and I rebuilt them from the appendix's prose. I did not read the electronic supplementary material.

Summary

Claim. Quality stocks are profitable, growing and safe. They trade at higher prices, but not by much: quality explains about 9% of the spread in price to book. A factor that is long quality and short junk earns significant returns after the usual factors, in the US and in 24 countries.

Method.

Findings, as the source reports them. Monthly, in percent, gross of costs, with t-statistics in brackets.

Setting Measure US, 1957–2016 Global, 1989–2016
Table 4, QMJ excess return 0.29 [3.62] 0.38 [3.33]
The same four-factor alpha 0.60 [9.95] 0.61 [8.07]
The same Sharpe ratio, a year 0.47 0.64
The same information ratio, a year 1.40 1.70
The same market beta −0.20 −0.27
Table 5, QMJ, from 1963 (US) and 1990 (global) alpha to the Fama–French five factors plus momentum 0.33 [6.81] 0.28 [4.46]
The same loading on RMW, Fama–French profitability 0.55 [24.07] 0.65 [13.63]
Table 15, QMJ, US excess return, 1957–1988 / 1989–2005 / 2006–2016 0.21 [2.29] / 0.42 [2.57] / 0.32 [1.35]
Table 15, QMJ, global excess return, 1989–2005 / 2006–2016 0.35 [2.52] / 0.43 [2.18]
Table 20, BAB, with QMJ added to four factors BAB's alpha, without / with QMJ 0.42 [3.63] / 0.17 [1.40] 0.24 [1.67] / −0.10 [−0.64]
Table 21, RMW, with QMJ added to five factors and momentum RMW's alpha, without / with QMJ 0.34 [4.13] / −0.11 [−1.71] 0.37 [5.22] / 0.07 [1.17]
Table 19, lending fee, lowest / highest quality decile basis points a year, 2006–2016 151 / 38 127 / 63
Section 4 share of the spread in price to book that quality explains about 9% about 9%

Quality stocks did well in down markets: "We find no evidence of compensation for tail risk." Analysts are more optimistic about junk stocks than about quality stocks. A low price of quality predicts a high return on QMJ. The paper reports no turnover, cost or capacity figure.

Where the claims go beyond the evidence

Every return is gross. The paper gives no turnover, cost or capacity. Table 19 shows that junk stocks cost about four times as much to borrow as quality stocks. QMJ's short leg is the costly one, and the returns don't charge it.

Compustat is not point in time. Compustat's annual files overwrite a restated value with the restatement. The paper's backtest therefore reads some numbers that weren't public then. The June lag is generous, 6 to 17 months, so it hides late filings, but it doesn't remove restatements.

Many choices, one combination. The score has 16 inputs in three components, each with its own formula and window. The authors say they chose the inputs "to avoid data mining", from their valuation model. Each input is still one of several reasonable choices. An earlier version had a payout component, and the published one moved it to an appendix. The paper reports no correction for these choices.

Out of sample is short. The conclusion claims robustness "out-of-sample, relative to the first draft of the paper." The paper doesn't date its first draft. If it is the working paper of about 2013, that period is about four years. In the US from 2006 to 2016, QMJ's excess return is 0.32% a month with t = 1.35, not significant. The alpha stays significant over the same years because QMJ's betas are negative.

The alpha depends on the factor model. QMJ's US alpha falls from 0.60% with four factors to 0.33% with six. The authors state that RMW is "a quality factor", so the six-factor alpha controls for a narrow version of the same idea.

The text and the tables disagree in places. Table 3's and Table 4's headers date the global sample from 7/1998, but the notes say June 1989. One caption gives an information ratio from four factors in a six-factor table. These look like typesetting errors, but a reader can't check which one is right.

Use in this repo

The strategy rule, for #425. A strategy unit can state QMJ as the paper does:

select refuses absolute weights that sum to more than 1, so the long and short sides are 0.5 each. The financing charge (#554) applies the borrow fee to the short side. Its 0.20% a year is about the fee of the paper's best-quality decile. The paper's junk decile paid 1.51% (Table 19), so the default undercharges this strategy's short leg. The harness already flags the borrow fee as a default.

What sec-xbrl gives (point 1). open_familyoffice/xbrl.py reads seven fields. QMJ needs these inputs:

Input XBRL field here Needed for
Revenue, sales revenue GPOA, GMAR
Current assets, current liabilities current_assets, current_liabilities working capital, O-score
Long-term debt long_term_debt leverage
Stockholders' equity equity ROE
Total assets missing every profitability and growth input, leverage
Cost of goods sold missing GPOA, GMAR
Net income before extraordinary items missing ROE, ROA, CFOA, O-score
Depreciation, capital expenditure missing CFOA, accruals
Cash, short-term debt, taxes payable missing working capital, leverage
Total liabilities, retained earnings, EBIT, pretax income missing O-score, Z-score
Preferred stock, minority interest missing book equity, leverage
Shares outstanding missing per-share growth, market value
Quarterly net income missing (#565) ROE volatility

So sec-xbrl has only five of the items, and #589 adds the rest. Two inputs come from elsewhere: beta from Yahoo's daily prices, and market value from the price times the shares.

History. XBRL starts in about 2009. The growth inputs need values from t−6, so a full score starts in about 2015. The ROE volatility needs 12 quarters at least. A backtest of QMJ here has about ten years, too short for the 26-year global sample's precision. The French library has RMW (ff5.RMW) but no QMJ factor. AQR's data library appears to publish one.

Restatements (point 2). sec-xbrl already does what the paper's data can't. Each value is public from the day after its filing, and a later filing that restates it is a new vintage. Store.as_of reads only the vintages filed by then. A 10-K restates the prior year as a comparative, and that restatement becomes visible only from its own filing date. The value as first filed is what the backtest sees until then. The filing date is also faster than the paper's June rule, so the repo's version would react to a 10-K sooner.

Overlap with other factors (point 3).

Turnover and costs (point 4). The paper gives no turnover. trading-costs-anomalies.md gives gross profitability a turnover of 1.96% a month and a cost of 0.03% a month. UMD's turnover is 24.64%. QMJ's inputs are annual, except the beta and the price, so its turnover should be closer to profitability's than to momentum's. Table 1 supports this: the quality spread between the top and bottom deciles keeps about a third of its size after ten years. The cost model (#9) can test this, because the paper can't.

Trials to count (#7). These choices count as trials in the ledger:

A repo run that tries the score with and without payout has two trials.

The benchmark (#261). QMJ is long-short, with a beta of about −0.2. Buy-and-hold of the market is the wrong comparison for its return. The paper's comparison is the excess return over the T-bill, and the alpha on the factors. excess_sharpe (open_familyoffice/cash.py) gives the first, and the French library's factors give the second.

Decay (#65). The paper's own recent decade is the weakest in the US. post-publication-decay.md predicts a fall of about 58% after publication. A repo run from about 2015 would start after the first draft, so it is nearly all out of sample.

A question for the maintainer. AQR's data library appears to publish QMJ's returns. I didn't check its terms. Should the repo register them as a benchmark, if their terms allow it? The same question is open on value-momentum-everywhere.md.