Freakonomics (2005) was a book Steven D. Levitt, an economist from U Chicago, that expounded on a number of issues. One of those was Levitt's contention that that legalized abortion had brought down the crime rates from their high points during the Crack Wars.
At first, when he made the argument in a magazine article in 1999, it had a eugenicist tinge, essentially "more black babies were aborted after Roe, and that casued the later lessening in crime." The argument got a little more PC for the 2005 book and ended up being something to the effect, "the babies born after legalized abortion were the wanted babies and would therefore be brought up better by their parents." Never mind just which demographic had, proportionally, the most abortions. So, Levitt compounded his earlier technical data-torture errors by applying white upper class templates on the black underclass.
He used some rather esoteric statistical analyses to tease the data to say what he thought it should say, to prove his premise. Problem was, the historical data ran up against his theory, knocked it down, and took its lunch money. Add on to that, some other economists got a hold of his code (think Excel spreadsheet macros for big databases...most likely the SPSS tool) and found that he screwed up a formula. When the formula was corrected, the data that had shown a negative correlation between legal abortion and crime (abortion goes up, crime goes down) disappeared.
Thing was, damn near nobody in the chattering classes took the time to google up some data to compare the historical data with the theory. And none tried to check Levitt's work in the realm of statistics. They just trumpeted the guy as a genius and he made millions of dollars.
The few who called "BS" were pooh-poohed by Levitt as not understanding his sophisticated statistical methodology. (Well, yeah, when that methodology amounts to "screwing up your coding.")
Folks still cite the dude as a Really Smart Guy, rather than an exposed hack.
And, here he is with a sequel.
Not everything was crap, just the most incendiary and controversial section. And Levitt has never come clean.
Compare that to Murray's The Bell Curve, which got the data and methodology right and was excoriated by the chattering classes.