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?

This is how change happens.

One story at a time.

This investigative reporting takes time too. Months of research. Weeks of writing, editing, and fact checking—and putting together the photography, art, video, and audio that tell the stories in a new way, illuminating new perspectives and voices.

We can afford to take our time because we don’t report to oligarchs or corporations. We report to you, and for you.

And the stakes are high. Democracy is on the defense. We’ve been exposing corruption and scandal for five decades, and this is a pivotal moment in our country’s history. Will democracy prevail? We won’t wait for time to tell—independent journalism is essential for democracy, and we’ll keep doing our part to amplify the free press.

So, we’re asking: Will you join the fight? Mother Jones has been here for 50 years, and we need your support to fuel the future of investigative journalism. Mark our 50th anniversary with a gift of any amount.

This is how change happens.

One story at a time.

This investigative reporting takes time too. Months of research. Weeks of writing, editing, and fact checking—and putting together the photography, art, video, and audio that tell the stories in a new way, illuminating new perspectives and voices.

We can afford to take our time because we don’t report to oligarchs or corporations. We report to you, and for you.

And the stakes are high. Democracy is on the defense. We’ve been exposing corruption and scandal for five decades, and this is a pivotal moment in our country’s history. Will democracy prevail? We won’t wait for time to tell—independent journalism is essential for democracy, and we’ll keep doing our part to amplify the free press.

So, we’re asking: Will you join the fight? Mother Jones has been here for 50 years, and we need your support to fuel the future of investigative journalism. Mark our 50th anniversary with a gift of any amount.

We Recommend

Latest

Sign up for our free newsletter

Subscribe to the Mother Jones Daily to have our top stories delivered directly to your inbox.

Get our award-winning magazine

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

Subscribe

INDEPENDENT. BECAUSE OF YOU.

Mother Jones has no billionaires calling the shots—just readers like you making fearless reporting possible

Donate