Joel Greenblatt is a successful hedge fund manager and adjunct professor at the Columbia University Graduate school. In 2006 he published the bestseller 'The little book that beats the market', a book he supposedly wrote to teach his children how to make money. In this book he encourages people to take control of their own money and invest it themselves. Most people entrust their money to investment professionals but Greenblatt observes that most of them don't beat the market. They make investing sound quite complicated but as Greenblatt explains, it's actually quite simple. He devised a very straightforward model that can be implemented easily by everyone and has proven to beat the market significantly in the past.
According to Greenblatt, you should be interested in 2 things when investing money into a business:
Combining these 2 points is the secret to make lots of money.
By eliminating companies that earn ordinary or poor returns on capital, the magic formula starts with a group of companies that have a high return on capital. It then tries to buy these above-average companies at below-average prices.
Joel Greenblatt
The formula is calculated based on 2 ratios:
The individual components of this formula are calculated as follows:
Earnings-related numbers are based on the latest 12 months, balance sheet items are based on the latest available balance sheet, and market prices are based on the most recent closing price.
Rank companies based on each of these ratios individually. Make the sum of the results and rank this again.
This formula doesn't work on all companies, so Greenblatt advises to set the following filters:
Invest in the top 20-30 companies, accumulating 2-3 positions per month over a 12-month period. Re-balance the portfolio once a year. The formula won't beat the market every year, but should do if correctly applied over a period of 3 to 5 year.
Studies have shown that combining the Magic Formula with for instance the Piotroski F-Score increases return. If for instance you take the top 20% results of the magic formula and then take the 20% of stocks with the highest 6-month price index, the total return increases from 235% to 784% during the period 1999-2011. You can find more details about this in our latest paper.
In their book ‘Quantative Value: a practitioner’s guide to automating intelligent investment and eliminating behavioral errors’, authors Wesley Gray and Tobias Carlisle discuss some of the most popular quantitative investing screens and factors. For each model, they also present an alternative that outperforms the original model. One of the improved models is what they call ”Quality and Price”. This model is based on the same ranking method as the Magic Formula, but it uses a different quality and price factor. Gray and Carlisle got the idea to replace the factors based on 2 academic papers.
The Greenblatt Magic Formula uses return on capital (ROC) as a proxy of a stock’s relative quality. The problem with ROC is that it’s not a very clean measure of a firm’s profitability. A firm that quickly grows its sales by spending heavily on marketing or R&D will see its short term profitability impacted. Moreover, management can implement actions to increase short term profitability while putting long-term profit growth in jeopardy. In his paper ‘The Other Side of Value: Good Growth and the Gross Profitability Premium’ Robert Novy-Marx suggested to use gross profitability, which is a much cleaner measure of a firm’s true economic profitability. Find more about this measure in our glossary.
The Magic Formula uses EBIT/EV as its price measure to rank stocks. The problem with this measure is that it can vary significantly from period to period. For this reason, Nobel price winner Eugene Fama and Ken French consider book to market capitalization to be a superior metric as it varies less. This is important to keep turnover down in a value portfolio. Find more about this measure in our glossary.
In their tests, the quality and price model significantly outperformed the magic formula. Between 1964 and 2011, the quality and price model showed an average yearly compound rate of 15.31% compared to 12.79% for the Magic Formula. This model also had higher volatility and worse drawdowns, but on a risk-adjusted basis it was the clear winner.
In 1670, Isaac Newton concluded that “What goes up must come down”. Centuries later Werner DeBondt and Nobel prize winner Richard Thaler reported in their 1986 article, ’Does the stock market overreact’ in the Journal of Finance, that the same was true for the stock market. Most people tend to overreact to unexpected and dramatic news events and eventually stock prices correct.
They explained the overreaction effect as follows:
“If stock prices systematically overshoot, then their reversal should be predictable from past return data alone, with no use of any accounting data such as earnings. Specifically, two hypotheses are suggested: (1) Extreme movements in stock prices will be followed by subsequent price movements in the opposite direction. (2) The more extreme the initial price movement, the greater will be the subsequent adjustment."
De Bondt and Thaler tested this overreaction hypothesis by focusing on stocks that had experienced either extreme capital gains or losses over the last years. They tested this on data for the period 1926-1982, constructed loser and winner portfolios and evaluated the performance of these portfolios for a period up to 5 years after the portfolio construction. When using a 3-year look-back, the loser portfolio outperformed the market by 19.6% over the next 3 years. The winner portfolio underperformed by 5%. The difference between the loser and winner portfolios was 24.6%. They also examined portfolios formed on a 5-year look-back and found that the loser portfolio outperformed the past winner portfolio by 31.9% over the next 5 years. This phenomenon is also called the winner-loser effect and was the first attempt to apply a test for a behavioral principle to the stock market.
The authors also made the following observations:
Glen Arnolds, who published a paper proving the presence of the overreaction effect in the UK, also discovered that returns on the loser portfolio could be further enhanced by applying the Piotroski F-score.
The Return reversal with Piotroski template screen replicates the enhanced loser portfolio by going through the following steps:
Although this theory was later confirmed by papers proving its effectiveness in markets around the world, it's a difficult one to put in practice. In her 1998 Wall Street Journal column headed 'Your money matters: investors' overreactions may yield opportunities in the stock market', Thaler was quoted saying:
It's scary to invest in these stocks. When a group of us thought of putting money on this strategy last year, people chickened out when they saw the list of losers we picked out. They all looked terrible...
De Bondt added:
The theory says I should buy them, but I don't know if I could personally stand it. But then again, maybe I'm overreacting.
In the fourth edition of his bestselling value quant book 'What works on Wall Street', James O'Shaughnessy devised a new screen which is called "the top stock-market strategy of the past 50 years". Instead of focussing on a particular ratio, he ranks companies according to 5-6 ratios and then combines this with a momentum factor.
First the companies are split into 100 groups (percentiles) based on the following ratios:
If a company's price-to-book ratio is in the lowest 1% of the dataset, it gets a score of 1. For some ratios it's the other way around, for instance EBITDA/EV. If a company belongs to the highest 1%, it gets a score of 1. If a value is missing, it gets a score of 50. We repeat the same calculation for each of the ratios and then sum up these values. Companies are again divided into 100 groups based on this score. This final result is called value composite. A value composite of 1 means that the company belongs to the 1% cheapest companies according to these factors.
In a second step, we select the top 10% stocks ranked according to this value composite score. Then he filters these stocks by a momentum factor, i.e. the 6-month price index. The result is an extremely cheap group of stocks that have been on the rise during the last 6 months.
“Trending Value is the top stock-market strategy of the past 50 years.”
O'Shaughnessy tested 3 different value composite scores
The trended value screener template is based on VC2, but you can change this very easily to use VC1 or VC2 by adjusting the primary factor.
While O'Shaughnessy recommends to use the VC as primary factor and then apply a value ranking, you can also choose to switch it around. Instead of starting with the VC, select the 20% stocks with the highest share price increase during the last 6 months and then sort these by one of the VCs. We have been using this strategy for our European and US newsletter portfolios and this has allowed us to find some real jewels and significantly beat the market.
Many scientific studies confirm that buying a portfolio of low price-to-book companies will beat the market over time. This makes sense: you buy companies for less than what they're worth on paper. Other experienced investors, however, would argue that book value doesn't always provide an accurate picture of the company value. If you want a better understanding of the real value of the company, a full review of the assets is needed. This is true, of course. But the conclusions of the above studies can't be denied. Furthermore, studying these companies in great detail takes a considerable amount of time and the information necessary to perform an accurate estimate of all assets is not always available to all investors.
Joseph Piotroski, a professor in accounting at the Stanford University Graduate School of Business, had a closer look at the data used in these studies and found that in a portfolio consisting of the lowest price-to-book companies, the profits were generated by only a few stocks. In fact 44% of the companies performed worse than the market. So he thought to himself: wouldn't it be great if I could find an easy way to filter out these companies?
Piotroski wondered whether he could remove these bad apples by looking at the company financial data for the last year. He devised a scoring system called the Piotroski F-Score, a 9 points scoring system based on profitability, funding and operational efficiency. It looks at simple things such as: 'has the company made more profit compared to last year?' (+1 point) but also: 'is the company cooking the books by adjusting accruals?' (0 points). By using 9 points he was able to get enough signals to determine whether the company is really improving or not.
His research showed that his Piotroski F-score helped to predict the performance of low price-to-book stocks. In his backtests he found that this strategy outperformed the market by 10% a year on average between 1976 and 1996. The tests also displayed that this was even more the case for small and medium sized companies. Piotroski attributes to the fact that these stocks are often outside of the radar of analysts and new information about a company doesn't get reflected in the share price as quickly.
You can read his influential 2000 paper by clicking on the following link.
“by selecting low Price-to-Book companies and by filtering out the best companies using a set of accounting signals, one could have generated a 23% average yearly return from 1976 to 1996.”
Our Piotroski screener selects the 20% lowest price-to-book companies and filters out the ones with an F-score of less than 7.
The F-score is the sum of 9 binary scores in 3 categories:
Profitability
Funding
Efficiency
To calculate this year's number we use the last trailing 12 month (TTM) number available. For last year we use the same number 1 year ago.
The F-Score is often used in combination with other screens. Our tests showed that if you filter the results of the ERP5 screen by only selecting companies with an F-Score of 7 or more, the return increases from 18,66% to 19,5% per annum. (1999-2010). Many of our members also like to use it in combination with the Greenblatt Magic Formula. We added both screens to our templates and called them the ERP5 Best Selection and the Magic Formula Best Selection.
The enhanced dividend yield strategy was developed by Jim O'Shaughnessy to provide a fixed income strategy based on stocks instead of bonds. O'Shaugnessy argued that while bonds appeal to investors because of their inherent principal protection advantage, they have a number of important disadvantages.
To remedy these issues of the traditional fixed income strategies, O'Shaugnessy designed a quantitative investing strategy based on stocks, with as primary objectives a growing yearly income combined with capital appreciation. The results of his study show that by implementing the enhanced dividend yield strategy, yearly income would have increased by 10%per annum and between 1962 and 2009, the principal increased by 5538%. What's more, this strategy never had a five-year period in which it lost money, very enticing for risk-averse investors.
O'Shaughnessy created a dividend yield strategy with a twist. Sometimes high yielding stocks are value traps and this strategy tries to get rid of these stocks in 2 ways.
Non-utility stocks
Shares outstanding > dataset average
Cash flow > dataset average
Sales > 1.5 times dataset average
Finally, he builds a portfolio in which he overweights the stocks with the highest dividend yield, in the following manner:
The portfolio should be rebalanced every year.
You can read more about this strategy and the results by clicking on this link. This strategy is quite cumbersome to calculate for small investors, but with our screener it becomes a breeze. Just select the high dividend yield template screen, select your countries, and the screener will show the list of stocks for the dataset of the selected countries.
Pim van Vliet is a Dutch portfolio manager for the quantitative equities team at Robeco. He’s the author of different scientific papers and books, primarily about low-volatility investing. In his book ‘High returns from low risk: a remarkable stock market paradox’ he devised a strategy that provides above market returns by investing in low volatility stocks.
The Capital Asset Pricing Model (CAPM) is widely used to predict the risk of investments. The model assumes that returns can be predicted by a lineair model that uses volatility of the asset compared to the market. While this model was widely adopted throughout the finance industry, different academics soon challenged the assumptions used as they were not supported by empirical evidence. One of the first to do this was professor Robert Haugen, who questioned the methodology used to produce the supporting empirical evidence. (link: click here) Different studies confirmed Mr Haugen’s findings, however as it was counterintuitive, the investment community still uses the CAPM to this day.
Pim built his strategy around this low-volatility anomaly or investment paradox, but he added two other factors into the mix.
To get the list of stocks, Pim runs through the following steps:
This formula selects:
low-risk companies that ‘conservatively’ deploy their capital, as they would rather distribute money to their shareholders than spend it on corporate activities themselves. The formula is also ‘conservative’ with regards to the timing. These stocks are only included when their business momentum improves and other investors have started to bid up their prices.
The author backtested this model over the period 1929-2015 and found that this model generated a 15% return per year. Compared to a portfolio of high-volatility stocks, it also proved to be more stable during more difficult periods.
Click here to go to Pim van Vliet's website.
Pim was so kind to provide us with guidance and feedback on how to best build his screen. We took the following steps:
This screen was designed by the MFIE Capital team in 2010 and reveals companies with consistent earnings power for which the shares are trading at a considerable margin of safety. It can be seen as an extension of the Greenblatt Magic Formula as it uses the same calculation method and shares 2 ratios with the latter. The big difference is that it looks for companies that trade at a discount compared to book value and filters out companies that showed exceptional results during the last year. We made this screen available to all our users since it showed superior performance in our backtest.
“Our ERP5 screen generated a return of 18,66% annually in the period 1999-2010. By filtering out companies with an f-score less than 7, the return increased to 19,5% per annum.”
We rank companies based on 4 ratios:
EBIT/Enterprise Value
. This compares the earnings of a company compared
to its theoretical purchase price. (market capitalization + debt) A company with a high EY can be purchased
at a relatively low price compared to the earnings it generated during the last 12 months.
EBIT / (Net Working Capital + Net Fixed Assets)
. A company
with a high ROIC demonstrates that it's lean, i.e. it's able to generate high earnings compared to the money invested.
Average ROIC during the last 5 years
. Has the company demonstrated that
it's been able to generate relatively high returns in a consistent manner in the past.Market Cap/Common Shareholders Equity
. How big is the margin of safety, i.e. the price
you pay for a share compared to the book value of the company. Research shows that buying companies with a low price-to-book value
generates superior returns. (e.g., Rosenberg, Reid-, and Lanstein 1984; Fama and French 1992; and Lakonishok, Shleifer, and Vishny 1994)
We rank each company on these 4 ratios and then sum up the rankings. We rank this score to get the ERP5 score.
We created a variation of this screen and named it the ERP5 Best Selection. This screen ranks the companies based on ERP5 score but also filters out ones with a f-score of less than 7. This way we only select companies for which the prospects are improving compared to last year. Adding this extra filter increased the yearly return in our 1999-2010 backtest by almost 1%, from 18,66% to 19,5%.