How to Draw an Elephant Using Trigonometry

Alex Tabarrok points to a new paper this morning that should thrill data nerds and chart enthusiasts everywhere. Steven Piantadosi of the University of Rochester has produced a simple equation with one variable that is “not novel mathematically” but can perfectly fit any set of scatterplot points. Here it is:

As long as you pick your value of θ with extreme precision, this equation will provide a fit of any data, no matter how complex. Piantadosi demonstrates how this works by fitting a scatterplot of an elephant:

How about that? Give me any set of points, and I can describe them precisely with a universal, single-valued equation. All I have to do is choose θ really, really carefully.

As it happens, this is more a novelty than anything else, but Piantadosi says it contains a warning for artificial intelligence:

The existence of this model has implications for statistical model comparison, and shows that great care must be taken in machine learning efforts to discover equations from data since some simple models can fit any data set arbitrarily well.

A human mathematician is unlikely to be fooled by this, but a machine-learning algorithm could easily decide that the best fit for a bunch of data is an equation like the one above. After all, it works, doesn’t it?

THE BIG QUESTION...

as we head into 2020 is whether politics and media will be a billionaires’ game, or a playing field where the rest of us have a shot. That's what Mother Jones CEO Monika Bauerlein tackles in her annual December column—"Billionaires Are Not the Answer"—about the state of journalism and our plans for the year ahead.

We can't afford to let independent reporting depend on the goodwill of the superrich: Please help Mother Jones build an alternative to oligarchy that is funded by and answerable to its readers. Please join us with a tax-deductible, year-end donation so we can keep going after the big stories without fear, favor, or false equivalency.

THE BIG QUESTION...

as we head into 2020 is whether politics and media will be a billionaires’ game, or a playing field where the rest of us have a shot.

Please read our annual column about the state of journalism and Mother Jones' plans for the year ahead, and help us build an alternative to oligarchy by supporting our people-powered journalism with a year-end gift today.

We Recommend

Latest

Sign up for our newsletters

Subscribe and we'll send Mother Jones straight to your inbox.

Get our award-winning magazine

Save big on a full year of investigations, ideas, and insights.

Subscribe

Support our journalism

Help Mother Jones' reporters dig deep with a tax-deductible donation.

Donate

We have a new comment system! We are now using Coral, from Vox Media, for comments on all new articles. We'd love your feedback.