liveBook · Manning

Price-to-earnings ratio

As explained in Build a Robo-Advisor with Python (From Scratch)

A valuation ratio comparing a stock's market price with its earnings per share.

The price-to-earnings ratio (P/E) compares a stock’s market price with its earnings per share. It measures valuation using the most recent earnings. section 3.1.3

P/E can help adjust historical stock returns when valuation changes distort comparisons across periods. A rising valuation ratio can contribute to returns that historical averages may not represent sustainably. section 3.1.3

Distinguish the standard ratio from its cyclically adjusted variant:

  • Standard P/E uses the most recent earnings. section 3.1.3
  • The CAPE ratio averages earnings over the prior 10 years and adjusts them for inflation, smoothing business-cycle fluctuations. section 3.1.3
  • Other valuation measures include the book-to-market ratio. section 3.1.3

Adjusting stock-return estimates

A historical-return analysis uses annual VFINX returns and CAPE data, computes percentage changes in CAPE, and regresses excess stock returns on those changes. section 3.1.3

How Build a Robo-Advisor with Python (From Scratch) covers it

How deep it goes
Defines standard P/E through its earnings input, contrasts CAPE, and applies the adjusted measure in a regression workflow.
Examples
Uses VFINX stock returns, CAPE percentage changes, and regression of excess returns on valuation changes.
What it assumes
Assumes familiarity with stock returns and introduces the distinction between recent and smoothed earnings measures.
What you can do after
Evaluate how changing equity valuations may affect historical-return estimates.
How it connects
Connects P/E with CAPE ratio, book-to-market ratio, valuation changes, and expected returns.

Also explained in

Compare how 2 books explain price-to-earnings ratio →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build a Robo-Advisor with Python (From Scratch). The section links point to the parts of the book it draws on.