O'Reilly logo

Business Data Science: Combining Machine Learning and Economics to Optimize, Automate, and Accelerate Business Decisions by Matt Taddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Images

Introduction

A Tale of Two Plots

Consider the graph in Figure I.1. This shows seven years of monthly returns1 for stocks in the S&P 500 index. Each dashed line denotes an individual stock’s return series. Their weighted average—the value of the S&P 500—is marked with a bold black line. The thin black line shows returns on three-month U.S. treasury bills.

Images

FIGURE I.1: A fancy plot: monthly stock returns for members of the S&P 500 and their average (the bold line). What can you learn?

This is a fancy plot. It looks cool, with lots of different lines. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required