President Trump does look better with nonlinear functional forms

…So says the White House Council of Economic Advisors, anyway.

I’d wanted to learn how to do K-means image compression in R. So I decided to fact-check CEA’s claim by seeing what President Trump would look like if I compressed his image. Total time from googling R code to posted image: 15 minutes. Props to this guy for the clear code.

On the whole, I would have to say that CEA’s claim checks out…

Some other cool compressed images below

Author: Harold Pollack

Harold Pollack is Helen Ross Professor of Social Service Administration at the University of Chicago. He has served on three expert committees of the National Academies of Science. His recent research appears in such journals as Addiction, Journal of the American Medical Association, and American Journal of Public Health. He writes regularly on HIV prevention, crime and drug policy, health reform, and disability policy for American Prospect, tnr.com, and other news outlets. His essay, "Lessons from an Emergency Room Nightmare" was selected for the collection The Best American Medical Writing, 2009. He recently participated, with zero critical acclaim, in the University of Chicago's annual Latke-Hamentaschen debate.

2 thoughts on “President Trump does look better with nonlinear functional forms”

  1. No, he looks horrible under any combination of variables. Nothing could possibly obscure the level of violence that exists in his mind.

  2. "Nonlinear functional forms make Trump look even better in most cases."

    Of course they do, if you pick the right ones.

Comments are closed.