Choosing an Index P/E Measure for Funds and Stock Selection
Summary
This discussion compares ways to summarize the price-to-earnings ratios of stocks in an index. For a free-float market-capitalization-weighted index used to represent an index fund or a portfolio holding stocks at index weights, it recommends the weighted harmonic mean. That measure corresponds to total constituent market capitalization divided by earnings aggregated according to the portfolio’s ownership weights. The reasoning treats the fund as a holding company whose value and earnings reflect its weighted stakes in the constituents.
For active stock selection where allocations do not follow index weights, the answer instead recommends the simple median as a description of a typical constituent. It argues that a weighted median can be unrepresentative and that negative earnings require careful handling: ranking negative P/E values as very low can misleadingly make loss-making stocks appear cheapest. The response proposes assigning them a high P/E in one suggested use case, while cautioning against automatically excluding every loss-making stock when comparing indices or dates. These recommendations assume a free-float capitalization index and may need adjustment for other index construction methods or analytical purposes.
Key ideas
- A weighted harmonic mean matches the aggregate valuation of a portfolio invested in constituents at index weights.
- The answer recommends the simple median when describing typical stocks for active selection without index-weighted allocations.
- A weighted median may be unrepresentative when extreme or negative P/E values occur.
- Negative earnings can make P/E rankings misleading because negative ratios appear numerically low.
- The appropriate summary depends on index construction and the intended use of the measure.
Tags
Full text
# P/E Ratio of a stock index # P/E Ratio of a stock index I tried to find the P/E ratio of a stock index. Should I calculate the weighted harmonic mean of all constituents OR select the weighted median P/E ratio as the index's P/E? many thanks! ## Answer by Alper (score 7, accepted) https://quant.stackexchange.com/a/68325 The preferred method for calculating the P/E of a stock index depends on how that index is calculated and what you are planning to do with it. Let’s assume the stock index you are looking into is calculated based on the free-float market capitalizations (mcaps) of stocks in it, i.e. the index tracks changes in total free-float mcaps of the stocks in the index. If you are planning to buy an index fund or report the P/E of an index fund to its investors or form a portfolio with the same index (free-float mcap) weights, then I recommend using the weighted harmonic mean with weights being the index weights. Note that the weighted harmonic mean of the P/E's of the index stocks would be the same as the sum of their free-float mcaps divided by the sum of their free-float ratio-weighted earnings. (This equality can be mathematically proven without much ado.) To understand why the weighted harmonic mean should be the preferred method if one is buying an index fund, consider the fact that an index fund is quite like a holding company that has the same percentage ownerships in index stocks as the respective free-float ratios of the index stocks. Such a holding company’s mcap would ideally be the sum of mcaps of the stocks weighted by the holding company’s respective percentage ownerships. The holding company’s income statement would show earnings same as the sum of the respective earnings of the stocks, again weighted by the holding company’s respective percentage ownerships. As the P/E of a holding company, like any other company, is normally calculated by dividing its mcap with its earnings, so should the P/E of an index fund, i.e. using the weighted harmonic mean, if you wish to simply buy the index fund’s shares. If are not buying an index fund but choosing among the stocks in an index like an active fund manager and planning to pay little attention to index weights of the stocks, which would mean that the amount of money you plan to allocate to the purchasing of stocks in the index is much less than total free-float mcaps of the index stocks (say 1% or less), I recommend using the (simple) median P/E of the index stocks. I don’t think the weighted median is a useful method for measuring the P/E of a stock index. Using the P/E’s as weights is unlikely to give useful results in too many cases including, for example, when a few stocks with significantly high or negative P/Es exist among the stocks in an index. Because the mcaps of stocks are more correlated with their earnings than their P/E's, a median weighted by mcaps is unlikely to give a result representative of most of the stocks in an index frequently. If you decide to go with the (simple) median, I advise paying attention to how stocks with negative earnings are treated. The median algorithm ranks negative P/E's at the bottom as if they are the cheapest by P/E! As a practical solution, and assuming less than half of all stocks in the index you are considering have negative earnings, I suggest assigning stocks with negative earnings a very high P/E such as 999x by default and calculating the median accordingly. In general, I don’t recommend simply excluding only all stocks with negative earnings from the P/E calculations because the ratio of stocks with negative earnings may change significantly over time or between indices. Always excluding the same percentage of a number of stocks from the calculations might be more reasonable and provide better results than simply excluding only all stocks with negative earnings when calculating the P/E's of an index at different points in time or of different indices for comparison. It might be possible to further improve the above methods for the mentioned use cases or come up with new methods for other use cases for a free-float mcap-based index. If the index being dealt with is based on factors other than the free-float mcap, these methods, also with the help of reasonings I have outlined, might still be applied after being modified as necessary.
Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.