Lots of detail on the continuing “Q collar” scandal and why we should probably be doing more coverage of that sort of science-adjacent medical scams and less on repulsively self-promoting but ultimately less harmful academic grifters.

The Q collar, I hope you don’t remember, is a neck accessory that is advertised as “proven” to protect athletes’ brains, but the studies purporting to offer this proof are suspect.

This is an interesting example of science-adjacent incompetence or fraud or grifting or whatever you want to call it, as it overlays junk science with big business (according to journalist Stephanie Lee, the device costs at least $200 and “investment in the Q-collar has totaled more than $30 million”), the government (including the U.S. Army, a U.S. senator, and the Food and Drug Administration), news and social media, and some aspects of the scientific establishment (medical journals).

You can think of Q collar as a baby version of health scams promoted by wealthy and powerful medical-adjacent celebrities such as Dr. Oz, Andrew Huberman, and RFK Jr. It’s junk science, but junk science with a purpose, in this case not so much to promote an ambitious social climber (as with Agus and Arday), it seems to be more about the money. And in that way it could be seen as a more typical (if less dramatic) example of a science scam. It doesn’t involve any plagiarized giraffes or implausible claims of ultra-marathoning, just the exploitation of people’s legitimate health concerns and the lure of the filthy lucre.  It could even be that the scammers believe their own claims (remember, the first step is to fool yourself; the rest then comes easy) and believe they’re doing well be doing good.

We should probably be doing more coverage of science-adjacent medical scams like the “Q collar” and less on the repulsively self-promoting but ultimately less harmful Aguses, Ardays, Wansinks, Hausers, and Arielys of the world who each in his way degrades the reputation of science but isn’t so closely locked in to a moneymaking scheme. (OK. I guess Wansink did ok as a consultant, and Agus and Ariely founded a few businesses which probably netted them a good chunk of change.  They might well be first-class wealthy, even if not in the private-jet stratum.)

Here’s a Q-collar update from science sleuth Mu Yang:

Two new articles on Q collar came out today:

The duplicated tables are almost cute compared to the real issue yet to be addressed. — I mumbled about it in a comment to your post back inJanuary.

Basically, the design is what one would use to teach “confounding factor” in Stats 101:

  • 5 studies (3 on Q collar and 2 on helmet type) reported data from subjects from the same cohort.
  • The subjects in the helmet studies are the controls from the Q collar studies.
  • Two types of helmets were worn by Q-collar-controls, and helmet type had significant impact on brain white matter parameters
  • What helmets Q collar subjects wore is unknown.
  • Q collar is said to affect the same brain white matter parameters as helmet type, in the same direction (the good one)

I [Yang] wrote more about it here and posted on Pubpeer.

Things are at a standstill. The authors have been contacted many times (and I made sure that they are notified about my Pubpeer posts), but remain reticent. It seems that FDA does not care.

Awhile later, Yang added:

Due to the incurable stubborness of some of us, we have been digging deeper in the Q collar junkyard long after Stephanie’s article, your blog post, and the BMJ article.

To put it extremely simply: The control subjects in the Q collar studies were described in two studies on helmet types —which were shown to have substantial impacts on the same brain imaging metrics as Q-collar does. Given controls and Q-collar subjects were students in the same schools, Q collar subjects likely also wore different helmets. BUT, this key confounding factor was never mentioned, quantified, controlled for, or discussed in Q collar papers. I commented on this here. Following that, Dr. M. Shane Tutwiler, a quantitative researcher in the field of educational psychology in the University of Rhode Island, became interested in the case, and wrote a very comprehensive comment on Pubpeer. Shane’s detailed analysis argues that the design and analysis of one of the key studies are grossly inadequate to support the claims of the study—which was crucial for the FDA clearance.

Before posting on PubPeer, Shane spoke to the authors directly to alert them of his concerns and request the data—the 2021 article has a data sharing agreement—but they denied his request because he was critical of their work.

This “silly” and “messy” case is looking much worse than previously thought. However, Dr. Smoliga and I are being stonewalled by SAGE — the six papers under EoC never moved forward. Dr. Tutwiler’s reports to Wiley are also not getting meaningful replies.

We are wondering if you are willing to take a look at the new thread of evidence and weigh in.

My quick answer is that the story seems clear enough already, even without this new thread! I also noticed that one of the authors of one of the papers under discussion is certain “Jeffery N Epstein.” Not the same guy, and I’m guessing that my Columbia colleague Richard “Axel” Foley wouldn’t spend any time responding to his emails.

But I digress.

To return to this horrible “Q collar” story, Shane Tutwiler writes:

I just wanted to close the loop, as it were, on the “Investigation” of the paper I evaluated on PubPeer. The authors shared the data with the editors, and the editors were seemingly content that the paper was perfectly fine as-is (despite many of the issues I pointed out being raised in peer review and ignored by the authors and managing editor at the time). Wiley has closed the case (see below).

If this were a run of the mill journal article that nobody was going to read, I wouldn’t feel so upset. But this research was used by the FDA as part of the evidence chain to justify the device’s use in public. It’s one of those cases where questionable analyses can have real world consequences.

Without any additional knowledge of this particular case, just based on my general understanding of such things, my guess is that the journals’ decision to do nothing here is motivated less by corruption and more by simple laziness. If you retract an article, the authors can scream at you. If you do nothing, people like Tutwiler and me will scream at you . . . but people like us are much less dangerous than authors who refuse to let go of bad research: Those people have money and reputations on the line and can lash out or even sue! So safer to just do nothing and pretend that all is well. The turtle strategy was not so effective recently with Cambridge University, but usually it works just fine, so I guess I can understand why the editors are doing this, even though I think it’s unethical behavior on their part.

And James Smoliga adds some additional context:

The investigation we raised with the Journal of Neurotrauma has been ongoing for over two years now. In the 10 months since the Expressions of Concern were issued, no further action has taken place.

Those six papers are separate from the one that Shane flagged to Wiley… And importantly, that study was the key one that resulted in the FDA’s authorization of the product, which further generated millions in venture capital investment, DoD funding, and consumer purchasing.

This is a mess at every level – improper statistics, inappropriate interpretation, sloppy errors, and allegations of p-hacking (an admission from a collaborator on their research, who doesn’t seem excited to publicly state this).

If you have any interest in writing more about it, or know of any journalists who may be interested in covering this story further, any help is appreciated!

I know lots of journalists, but they usually don’t like covering this sort of story. The outlet most likely to cover it might be Defector, but I don’t know anyone there. Actually, it would fit wonderfully into their Only If You Get Caught podcast. Maybe I can do the contacts-of-contacts thing and see if I can reach anyone there to make the suggestion.

The New York Times already had this article in 2022 that was critical of the Q collar, so I don’t see them running more stories on it. Once you get to the point of junk-science-is-refuted-but-still-keeps-on-making-money, you’re entering “dog bites man” territory, no?

Maybe you could convince noted science skeptics Sean Carroll and Steven Levitt to cover this story . . . ha ha, just kidding! More seriously, maybe If Books Could Kill would be interested, but I don’t know them either.

P.S. More here.

Bayesian computation meeting in France in May, 2027

OK, this one’s time constrained so I’ll post it right away, not on the usual lag.

Christian Robert points to this conference announcement:

We invite proposals for the BayesComp 2027 mirror event in Aussois, France, that will take place on 17-21 May, 2027. The event will complement the main BayesComp 2027 meeting in Texas and provide a European forum for researchers in Bayesian computation and related areas. Plenary sessions will be broadcasted from Texas, while talks in Aussois will be recorded.

Please submit one form per proposed contribution. Proposals may be for contributed talks, or poster presentations. The programme committee will review submissions based on scientific quality, timeliness, coherence, and expected appeal to the BayesComp community. Unless the submission mentions otherwise, talk proposals that are rejected will be automatically added as posters.

Details about the venue (CAES Paul Langevin), potential registration fees, and technical details are being finalized and will be announced on the event website.

Looks like fun! And Bayesian computation is important.

Who were “The Makers of Public Policy” in 1965?

I was in the Playroom the other day and noticed this book on the shelf, The Makers of Public Policy, by R. J. Monsen and M. W. Cannon, copyright 1965. Here’s the table of contents:

It’s interesting to see here what is and isn’t included.

1. The section on Formal Power Groups contains one chapter on business, one on agriculture, and two on labor. Organized labor is so much less now that I don’t think it would merit even one chapter.

2. There’s a chapter on “negroes.” I guess makes sense from the standpoint on 1965 that there are no chapters on other social outgroups such as Latinos, women, gays, involuntary celibates, immigrants, disabled people, etc.

3. There’s no chapter at all on organized religion, which is a notable missing power group now but even more so for the 1960s.

4. There’s a chapter on “intellectuals” but nothing on political ideology.

5. There is no chapter regarding the organized Left, but I guess it’s covered in the penumbra of “labor” and “intellectuals.”

6. There’s no chapter regarding the organized Right, and that’s more of a loss. The organized Right has been very influential in American politics and policy ever since the late 1970s, but it was a big deal even as of 1965. This book does have one section on “the white reaction” in the “Negroes” chapter, but that’s hardly enough to cover it.

7. There’s no chapter on the ultra-rich, which in 1965 would pretty much fall in the “business” category but now surely deserves its own chapter.

8. There’s no chapter on science and technology. The book is called The Makers of Public Policy, and my point here is that scientists and technologists make public policy even without (or in addition to) traditional lobbying, on issues ranging from vaccines and DNA testing to social media to climate change.

So I think it’s instructive to look at the topics covered in this sixty-year-old book, partly to see what they missed even then and partly to reflect on how much things have changed.

Also, this won’t be news to many of you but it’s still interesting to see:

And here’s the first page of the index:

Lots has changed in what’s considered important.

Also relevant to the question of how things have changed: What rule did Louis Menand use to select what went into his book on U.S. “cold war” culture of 1945-1965?

Survey Statistics: wanting workflow

Last week Andrew commented that we need a more transparent workflow for survey statistics. So I looked in the new Bayesian Workflow book:

Chapter 19 “Building up to a hierarchical model: Coronavirus testing” is a case study about a 2020 survey that tested n = 3330 residents of Santa Clara County, California for SARS-CoV-2 antibodies (Bendavid et al. 2020a, 2020b). y = 50 people tested positive.

To estimate population prevalence, they want to account for measurement error in the test (“Measurement“) and differences between sample and population (“Representation“), both sides of Groves et al. Figure 2.5:

Image

The measurement error model includes specificity gamma = P[test negative | no disease] and sensitivity delta = P[test positive | disease], which take population prevalence pi to test positivity rate p:

Bendavid et al. (2020a) analyzed their data using gamma = 0.995 and delta = 0.80. But these aren’t known exactly, so Gelman and Carpenter 2020 recommended using priors from previous studies to reflect uncertainty:

They extend these priors to account for multiple studies. They look at sensitivity to these priors (overloaded term here: “sensitivity”). Cool stuff !

In this Survey Statistics series we hadn’t yet talked about models for measurement error in the outcome variable y. We’ve seen measurement error in an adjustment variable X, e.g. recalled vote (“is a mismeasured X better than none at all ?”, “more adventures in mismeasured X”, “more on recalled vote”, “it is (still) the people”).

On the “Representation” side, Bendavid et al. (2020a, 2020b) adjusted for differences between sample and population using weights and encountered the difficulty we saw last week: adjusting for lots of variables can lead to very large weights. Maybe modeling can help (see last week’s “structured MRP to smooth survey weights”).

So Gelman and Carpenter 2020 proposed replacing (19.2) above with

y_i ~ bernoulli(p_i)
p_i = (1-gamma) (1 - pi_i) + delta pi_i

and using Multilevel Regression and Poststratification (MRP):

I thought this story sounded familiar and remembered Andrew talked about it at his Birthday workshop‘s closing talk (this part on YouTube, minute 2 to minute 8).

Andrew said that when his friend tried the method from Gelman and Carpenter 2020 it “crashed and burned” ! There is a new paper about this: Kuh, Kennedy, Chen, and Gelman 2026. They present “a statistical workflow for diagnosing unexpected results in complex models”. These authors have researched a lot about evaluating MRP models (see “should MRP workflow include LOCO-CV ?”). We will have to revisit their new paper later in this series.

Computer scientists today are in the position of economists in the early 2000s and Freudian psychiatrists in the 1950s

Regular readers of this blog will trace my short career as a Freud expert to a post from 2012, Economics now = Freudian psychology in the 1950s: More on the incoherence of “economics exceptionalism”.

But recently I thought we need to update this analogy.

Back in the early part of this century, economists were riding high: they were the country’s all-purpose pundits, they had tons of influence but were lamenting that they didn’t have enough, and they were going on and on about how special they were, most amusingly in the self-contradictory argument that they were different because they “assume everyone is fundamentally alike; we believe circumstances, not culture, drive people’s decisions.” I’m still not sure what is the difference between “circumstance” and “culture” except that maybe talking about the former is associated with overconfidence.

Nowadays, though, economics is just one more social science. OK, I don’t want to overstate things. I assume they still get paid more than sociologists and political scientists, and, yeah, there’s a Council of Economic Advisers but no Council of Sociology Advisers. Still, I think that economics has lost some of its standing in the past twenty years, partly as a result of the crash of 2008 and its aftermath (political polarization, Brexit, etc.) and partly just the natural ebb and flow of influence, the inevitable cycle of hype and disappointment. Econ hero Steven Levitt was supplanted by data analyst Nate Silver (who identifies as a poker player, not an economist), and we’re not hearing from economists so much anymore, except to hear them fighting in vain against tariffs.

There’s a new hegemonic science in town, and it’s information science, or computer science.

Computer scientists currently have a lot of prestige. Fair enough: they’ve earned it through all the amazing things they’ve built. Indeed, it’s worth comparing to the earlier alpha-dog social scientists. Freudian psychiatry and neoclassical economics were powerful, all-explaining theories that addressed people’s concerns about mental health, happiness, prosperity, and future prospects. They had big theories, which is great. (The theories were not falsifiable, but that can be fine, as the function of such all-encompassing theories is not to make predictions or to explain the world but rather to supply a framework by which the social world can be studied.) Computer science is different: they didn’t develop a theory of society, but they built impressive tools that change how we live in the world.

Now I’d say that computer science today is like economics at the beginning of the century or Freudian psychiatry in the 1950s in being at apex academic and social prestige and influence. Computer scientists, or computer-science-associated businessmen, are the new gurus, in a way that wasn’t the case before. Yes, Steve Jobs and Bill Gates were culture heroes back in the 80s and 90s, but nobody was particularly interested in what they had to say outside of their narrow technological realms. Nowadays, many computer scientists and tech lords present themselves, and are often taken as, all-purpose pundits. (Many of the tech lords are actually tech investors; they’ve absorbed the prestige of information science through the transitive property of money.) As with the economists and Freudians of past eras, they are presented as having some special authority derived in part from their almost inhuman hyper-rationality, a willingness to tell uncomfortable truths.

But then you get the same problem we had before, which is when the gurus and their hangers-on start to believe their own hype.

One of the benefits of living a long time is that you get to see the aftermath of the hype wave. Back when academic economists were on the top of the world, they were complaining that they didn’t have even more power and influence than they already did. Now that economists are just one more group—more influential than political scientists or sociologists to be sure, but no longer apex academics—they’re no longer doing that. It’s when a group is at its most overvalued that it wants even more, and we’re seeing that with the tech industry (and, to extent, their academic allies) today.

I recommend this book on Applied Regression and Causal Inference

This post offers two recommendations and a story.

First, the recommendations.

• Here’s the book referred to in the title of the post. I highly recommend it! My only regret is that we didn’t call it Applied Regression and Causal Inference, cos that’s what it’s about.

• I also recommend our book, Active Statistics, which has literally hundreds of stories, class-participation activities, computer demonstrations, and discussion problems. A great teaching resource and also just a good read. Really!

Now, the story.

This came in the email one day:

Dear Professor Andrew Gelman,

I hope this message finds you well. I’m part of the Cambridge University Press sales support team and I work with your local Cambridge Sales Representative ** **@cambridge.org

We wanted to follow up regarding your course(s) for Fall 2025 and ensure you’ve had a chance to review Regression and Other Stories, 1 ed by Andrew Gelman/Jennifer Hill/Aki Vehtari as a potential option for your course materials.

If you’ve decided to adopt this title, I’d be happy to provide access to any available instructor resources. If you’ve chosen a different title or are still considering your options, I’d appreciate a quick update so I can ensure our records are accurate.

Also, please don’t forget to check with your bookstore about any Equitable or Inclusive Access programs that may be available. These programs can provide your students with more affordable digital access to their course materials.

I am sincerely grateful for your attention to this matter; I look forward to the opportunity to hear from you at your earliest convenience.

Cordially,

**
Sales Support Assistant
Higher Education Sales, Americas
**

On one hand, hey, I’m thrilled that they’re promoting our book. On the other hand, it seems like they’re kinda flying blind if they’re sending this promotional message to the author of the book.

“Sane-washing”

After quoting Donald Trump at a political rally with Robert Kennedy Jr.,

That is why today I am repeating my pledge to establish a panel of top experts, working with Bobby, to investigate what is causing the decades-long increase in chronic health problems and childhood diseases, including auto-immune disorders, autism, obesity, infertility, and more.

Palko writes:

Coming at this from a conspiracy theorist/pseudoscience crank worldview, the one word that should set off immediate alarm bells is “autism.” . . . If you had to list the remaining terms in order of tinfoil hat appeal, they would be infertility, autoimmune disorders, and at a distant fourth, obesity. A reporter covering the speech might also feel compelled to add that the causes which RFK Junior has proposed in the past include not just vaccines but also chemtrails, Wi-Fi, and 5G.

Sounds about right: the candidate who endorses the ludicrous Pizzagate conspiracy theory, tried to overturn an election, and is allied with child-murder-denialist Alex Jones is teaming up with a public figure whose big political issue is opposing vaccines.

Palko continues:

Here’s how the NYT covered that quote in the third paragraph from the end of the article on Kennedy endorsing Trump:

Earlier in the day in Phoenix, at his speech announcing the suspension of his campaign, Mr. Kennedy said Mr. Trump had offered him a role in a second Trump administration, dealing with health care and food and drug policy. In Glendale, Mr. Trump said that, if elected to a second term, a panel of experts “working with Bobby” would investigate obesity rates and other chronic health issues in the United States.

I agree with Palko that this is absolutely ridiculous in the context of the actual quote from Trump. The Times is “sane-washing” Trump and Kennedy, working really hard to take dangerous and extreme positions and treat them as reasonable and normal.

I guess this doesn’t matter to political junkies for whom Kennedy Jr. is associated with anti-vaxx conspiracy theories. To many normies, though, I’m guessing that he’s perceived more as a generic Kennedy heir—maybe they don’t know that he makes Dr. Oz and Andrew Huberman look like purveyors of solid medical advice.

This seems like another example of how junk science and conspiracy theories have moved from the periphery of our culture to the mainstream, and I agree with Palko that it was bad journalism for the Times to report on that speech and sane-wash it.

Newspapers make mistakes all the time; the reasons for posting this one are: (1) this was the first time I’d heard of “sane-washing,” and (2) it’s scary to see pseudoscience escape the narrow world of Lancet/PNAS/Ted/NPR/Gladwell/Freakonomics and potentially become government policy.

I do think it’s possible that the mainstreaming of pseudoscience into elite discourse through the Lancet/PNAS/Ted/NPR/Gladwell/Freakonomics nexus has made it easier for pseudoscience like election denial and vaccine denial to get elite traction (even if it’s different subset of elites).

On the other hand, Merchants of Doubt, etc: Cigarette companies and fossil fuel companies have been working for many decades to blur the lines between science and propaganda, so maybe this would all be happening even without all the junk science that entered the mainstream in the replication-crisis era. I don’t know.

“Denial, when you are not part of it, is actually a terrifying thing. One watches one’s fellow humans doing things that will damage themselves, while being wholly unable to help.”

Picking up a thread from awhile ago, another item from my review of that Daniel Davies book:

Davies writes, “Denial, when you are not part of it, is actually a terrifying thing. One watches one’s fellow humans doing things that will damage themselves, while being wholly unable to help.”

I agree. This is how I felt when corresponding with the ovulation-and-clothing researchers and with the elections-and-lifespan researchers, and other examples too. The people on the other side of these discussions seemed perfectly sincere; they just couldn’t consider the possibility they might be on the wrong track. (You could say the same about me, except: (1) I did consider the possibility I could be wrong in these cases, and (2) there were statistical arguments on my side; these weren’t just matters of opinion.) Anyway, setting aside if I was right or wrong in these disputes, the denial (as I perceived it) really upset me. Seeing young researchers, with their whole careers ahead of them, turning their eyes away from reality, it just makes me want to cry.

I don’t think graduate students are well trained in handling mistakes—indeed, they’re effectively trained to respond to criticism by deflecting it, and then when they grow up and publish research, they can remain stuck in this attitude of denial.

How to avoid the “clean data, clean model” trap when teaching statistics and data science

Parthsarthi Joshi writes:

There is a stark problem that I have observed with how data science is taught in most books and tutorials – the concepts are taught on an individual level but fail to give a complete idea. The so-called “real-world” projects are carefully orchestrated like an “act” already setup by the instructor. The students are not given the taste of the real world – where data is messy, models do not continuously improve, and assumptions are almost always broken. We teach them the concepts of statistics and ML but not the art of data science, which includes curiosity and hit-and-trial experiments.

I am writing a one-of-its-kind book on Data Science that would be completely based on projects. The data will be messy, not everything we do will improve the performance. The aim is to give a feel of uncertainty and challenges that promotes learning from failure and develops an analytical bent of mind.

I agree with Joshi’s concerns, and it’s something that’s bothered me for a long time. Textbooks and research articles are full of examples that work, they’re full of estimates that are a bit more than 2 standard errors from zero, everything’s a bit too clean.

I’ve tried to push against this in my own teaching and writing. Here are some examples:

1. Decision analysis textbooks often use examples that are trivial and artificial (a college student is trying to choose an apartment or dorm room, balancing the factors of cost, amenities, and commute time) or important but vague (a company is deciding where or whether to build a new plant, it’s an interesting problem of decision making under uncertainty but the details are not given). A bit reason I wanted to do the full decision analysis with Phil for the home radon problem was that I wanted a real problem, with real data, going from beginning to end.

2. A few years ago there was a heart-stent study reported in the news. The experiment yielded results that were not statistically significant (the p-value was 0.20) and it was inappropriately reported as a null effect. We looked at the paper carefully, and a more reasonable analysis gave a p-value of 0.09–still not reaching conventional levels of significance. We wrote this up, and it’s a good example where the result is not clean. Again, something you don’t usually see much discussion of in textbooks, applied research papers, or articles on research methods.

3. Our book Active Statistics is full of stories with real-world complexity.

4. Appendix A of Regression and Other Stories, on computing in R, has examples where you have to download and clean the data. One problem with a lot of computer-friendly textbooks is that they’ll have clean data already loaded into packages so you can just click and do the analysis. I like there to be a bit of a struggle, to give a sense of what data analysis really feels like.

We try also to convey a sense of real-world complexity in the worked examples and homework problems in our textbooks.

The flip side of this is that, when you’re using live problems in your teaching, it’s good to come to class prepared! It’s fine to show students the steps of data cleaning and the frustration of messy data and models that don’t fit–but it’s best for you, the teacher, to encounter and resolve those problems on your own first, so that you don’t confuse the students even further. In class it’s good to have a sense of what’s coming next, so that when something doesn’t work, you’re not surprised and you can contextualize it for the students right away.

The blessing of dimensionality

Jonathan “No Trump” Falk writes:

Your post this week on Integration and Differentiation got me thinking, never a good sign. Adding to this, I only really learned in January what Attention means, the foundation of LLM. And what it means is that in a vector space of 14,000 dimensions or so, you can express all manner of nuance… enough to start vitriolic arguments about the humanity of the output.

As I started thinking about this, and as your post crystallized, I have spent 50 years fighting the Curse of Dimensionality. I know this curse in my marrow. Brilliant inferences await me, but the space in which these insights are found is simply too vast to explore. So we simplify, reducing the dimensionality to something that while still vast, is confined to a hyperplane where we can, like Plato, see the projections of truth, not the truth itself.

But then what LLMs and their generation have taught me is that nuance, which is really just the inverse of inference (in that it’s the vast set of all things consistent with some inference) has an amazing boon of dimensionality. There appears to be no thought that can’t be described by a 14,000 dimension or so vector whose tuning has the huge advantage that 14,000-dimensional space is so empty that tiny nuances can be readily distinguished in such a space, so that you can hide uniqueness in the vastness of 14000-dimensional space that you couldn’t recover in a raw search in that same space.

I’m sure this inversion of the Curse of dimensional search into the Boon of nuance in high dimensions is not original to me, but I think it’s worth noting, and your post was the impetus.

I replied by pointing to our of our very earliest blog posts, The blessing of dimensionality, where I wrote:

The phrase “curse of dimensionality” has many meanings (with 18800 references, it loses to “bayesian statistics” in a googlefight, but by less than a factor of 3). In numerical analysis it refers to the difficulty of performing high-dimensional numerical integrals.

But I am bothered when people apply the phrase “curse of dimensionality” to statistical inference.

In statistics, “curse of dimensionality” is often used to refer to the difficulty of fitting a model when many possible predictors are available. But this expression bothers me, because more predictors is more data, and it should not be a “curse” to have more data. Maybe in practice it’s a curse to have more data (just as, in practice, giving people too much good food can make them fat), but “curse” seems a little strong.

With multilevel modeling, there is no curse of dimensionality. When many measurements are taken on each observation, these measurements can themselves be grouped. Having more measurements in a group gives us more data to estimate group-level parameters (such as the standard deviation of the group effects and also coefficients for group-level predictors, if available).

In all the realistic “curse of dimensionality” problems I’ve seen, the dimensions–the predictors–have a structure. The data don’t sit in an abstract K-dimensional space; they are units with K measurements that have names, orderings, etc.

For example, Marina gave us an example in the seminar the other day where the predictors were the values of a spectrum at 100 different wavelengths. The 100 wavelengths are ordered. Certainly it is better to have 100 than 50, and it would be better to have 50 than 10. (This is not a criticism of Marina’s method, I’m just using it as a handy example.)

For an analogous problem: 20 years ago in Bayesian statistics, there was a lot of struggle to develop noninformative prior distributions for highly multivariate problems. Eventually this line of research dwindled because people realized that when many variables are floating around, they will be modeled hierarchically, so that the burden of noninformativity shifts to the far less numerous hyperparameters. And, in fact, when the number of variables in a a group is larger, these hyperparameters are easier to estimate.

I’m not saying the problem is trivial or even easy; there’s a lot of work to be done to spend this blessing wisely.

It’s been over 20 years so worth sharing the point again.

Manned Mars Mission Miscellanea

Maciej Cegłowski writes:

Unlike the Moon, which hangs in the sky like a lonely grandparent waiting for someone to visit, Mars leads a rich orbital life of its own and is not always around to entertain the itinerant astronaut. There is just one brief window every 26 months when travel between our two planets is feasible, and this constraint of orbital mechanics is so fundamental that we’ve known since Lindbergh crossed the Atlantic what a mission to Mars must look like. . . .

We shouldn’t send human beings to Mars, at least not anytime soon. Landing on Mars with existing technology would be a destructive, wasteful stunt whose only legacy would be to ruin the greatest natural history experiment in the Solar System. It would no more open a new era of spaceflight than a Phoenician sailor crossing the Atlantic in 500 B.C. would have opened up the New World. And it wouldn’t even be that much fun. . . .

It wasn’t always like this. There was a time when going to Mars made sense, back when astronauts were a cheap and lightweight alternative to costly machinery, and the main concern about finding life on Mars was whether all the trophy pelts could fit in the spacecraft. No one had been in space long enough to discover the degenerative effects of freefall, and it was widely accepted that not just exploration missions, but complicated instruments like space telescopes and weather satellites, were going to need a permanent crew.

But fifty years of progress in miniaturization and software changed the balance between robots and humans in space. Between 1960 and 2020, space probes improved by something like six orders of magnitude, while the technologies of long-duration spaceflight did not. Boiling the water out of urine still looks the same in 2023 as it did in 1960, or for that matter 1060. . . .

Mars is also not the planet we took it for. . . . The surface might be dry, but in most places there was water ice just underneath. Dynamic surface features hinted that water (or at least brine) was flowing to the surface from deep underground. . . . The news from the ground also got better. Arriving at Gale Crater in 2012, the Curiosity rover found itself looking at an ordinary lake bed, complete with organic sediment and odd stick-like structures that would be called fossils if we found them on Earth. The crater had been habitable for millions of years in the past, and something in it was still emitting methane at night. Over in its own crater, the Perseverance rover found complex organic molecules of indeterminate origin.

But the really exciting news for Mars was the discovery of unexpected life on Earth. . . . not just dozens of unsuspected microbial phyla, but two entire new branches of life . . . These new techniques confirmed that earth’s crust is inhabited to a depth of kilometers by a ‘deep biosphere’ of slow-living microbes nourished by geochemical processes and radioactive decay. . . . This underground ecology, which we have barely started to explore, might account for a third of the biomass on earth.

The fact that we failed to notice 99.999% of life on Earth until a few years ago is unsettling and has implications for Mars. The existence of a deep biosphere in particular narrows the habitability gap between our planets to the point where it probably doesn’t exist—there is likely at least one corner of Mars that an Earth organism could call home. . . . if our distant relatives are still alive in some deep Martian cave, then just about the worst way to go looking for them would be to land in a septic spacecraft.

But the fact that a Mars landing stopped making sense has not had the slightest impact on NASA’s plan to go there in a rocket-propelled terrarium.

And more:

The chief technical obstacle to a Mars landing is not propulsion, but a lack of reliable closed-loop life support. . . . The technology program required to close this gap would be remarkably circular, with no benefits outside the field of applied zero gravity zookeeping. The web of Rube Goldberg devices that recycles floating animal waste on the space station has already cost twice its weight in gold and there is little appetite for it here on Earth, where plants do a better job for free. I would compare keeping primates alive in spacecraft to trying to build a jet engine out of raisins. Both are colossal engineering problems, possibly the hardest ever attempted, but it does not follow that they are problems worth solving. In both cases, the difficulty flows from a very specific design constraint, and it’s worth revisiting that constraint one or ten times before starting to perform miracles of engineering. . . . The only way to explore Mars in our lifetime is to ditch the requirement that people accompany the machinery. . . .

In recent years, there’s been a remarkable division in space exploration. On one side of the divide are missions like Curiosity, James Webb, Gaia, or Euclid that are making new discoveries by the day. These projects have clearly defined goals and a formidable record of discovery.

On the other side, there is the International Space Station and the now twenty-year old effort to return Americans to the moon. These projects have no purpose other than perpetuating a human presence in space, and they eat through half the country’s space budget with nothing to show for it. Forget even Mars—we are further from landing on the Moon today than we were in 1965.

In going to Mars, we have a choice about which side of this ledger to be on.

This all makes sense. I’ve never thought much about this Mars mission thing because it’s always seemed like a bit of a joke. But if powerful people are really gonna try to use this as pretext to take a big chunk out of our national resources, then, yeah, it’s good to have people like Cegłowski pushing back.

Survey Statistics: structured MRP to smooth survey weights

Last week, Raphael K shared a concern: adjusting for lots of variables can lead to very large weights. So today let’s dive into Si et al. 2020, who saw this in constructing survey weights for the NYC Longitudinal Study of Wellbeing.

To adjust for lots of variables, Si et al. 2020 turned to MRP (Multilevel Regression and Poststratification) and equivalent weights based on these models (see “struggles with equivalent weights”, continued struggles, and “equivalent models, equivalent weights (locally)”).

In a simulation study they compare:

  • Ind-P: MRP with commonly-used Independent Normal priors
  • Str-P: MRP with a structured prior, see below.
  • Ind-W: equivalent weights version of Ind-P
  • Str-W: equivalent weights version of Str-P
  • Rake-W: classical raking weights, a type of calibrated weights
  • PS-W: classical poststratification weights, another type of calibrated weights
  • IP-W: inverse probability of selection weights

They cover the “3 flavors of survey weights”: equivalent weights, calibrated weights, IP-W.

I won’t bury the lead, they found MRP performed best, then equivalent weights, then classical weights (calibrated or IP-W). See their Figure 4.1 for the simulation scenario without terribly many empty poststratification cells:

With many empty poststratification cells, Str-P outperforms Ind-P. (They don’t redo Figure 4.1 for this scenario, which confused me a bit.) So what is this structure that helps ?

In “improving with structure” we saw that Gao et al. 2021 found it helpful to use the ordinal structure of variables like age. Si et al. 2020 use the interaction structure:

We induce structured prior distributions to be able to handle deep interactions and account for their hierarchy structure, where the high-order interaction terms will be excluded if one of the corresponding main effects is not selected.

I asked about sparse priors for MRP back in “Sparsified MRP”. I didn’t remember that Si et al. 2020 had worked on this ! Ok so they write their structure more generally but I find it easier to read with a specific example. Consider just 2 variables from their motivating NYC Longitudinal Study of Wellbeing: age (5 categories) and race (5 categories). Here’s how their Ind-P prior differs from the Str-P:

(I had Claude type up my hand-drawn notes, though I still share Brendan Leonard’s preference for hand-drawn materials.)

Si et al. 2020 say these are similar to the Horseshoe prior. It differs in two ways, I think ? First, Si et al. 2020 have the selection at the batch level (e.g. age or race). The usual Horseshoe would have local scale lambdas for each age and race category. Second, the usual Horseshoe would use a half-Cauchy rather than half-Normal prior on these local scales.

Ok let’s get back to the original concern: adjusting for lots of variables can lead to very large weights. Si et al. 2020 show in Figure 5.1 that the equivalent weights based on this structured prior model look much less variable than calibration weights (I don’t see the IP-W weights in the figure itself):

 

Walnutpie version 0.0.1 Released

We are happy to announce the official release of Walnutpie version 0.0.1.

Walnutpie is an MCMC sampler for continuously differentiable densities coded in Python, accepting models coded in Stan, PyMC, NumPyro, JAX, and plain old Python.

Walnutpie is not an official Stan project

I thought this was worth saying up front. It may eventually migrate to Stan, but for now, we followed the Nutpie approach of building a standalone sampling package that worked with a range of packages for defining models.

R version

We plan to develop an R interface after we release version 1.0.0 of the Python interface. So hopefully in 2026.

pip installable

Walnutpie is on PyPI, so it’s pip installable. The documentation includes information on getting started, running models, and posterior analysis. We have not yet included case studies for modeling tools other than Stan and Python.

Stan through C++

Walnutpie runs Stan models through C++ using BridgeStan, so there is no Python dispatch overhead for Stan sampling. The basic architecture of the API is based on Adrian Seyboldt’s sampler Nutpie. We are working on doing that for other packages like NumPy and JAX to the extent that we can.

GitHub source

Development discussions and source code are managed through GitHub.

Features of Walnutpie

We are almost ready to release the paper on arXiv with all of the gory pseudocode details of all of the algorithms used for Walnutpie. It will explain the following points in detail.

  1. Walnuts: The underlying Hamiltonian Monte Carlo sampler is Walnuts. Walnuts uses Nuts for choosing the number of steps per iteration. It further allows step sizes within the Hamiltonian dynamics simulation to be lowered when necessary to preserve simulation accuracy. This helps with robustness and with accuracy in multi-scale distributions (i.e., ones where the curvature as represented by the Hessian varies around the posterior). With a high tolerance threshold, Walnuts reverts to Nuts’s behavior.

  2. Mass-matrix warmup: The mass-matrix warmup strategy is an online form of Nutpie (links to: the paper and software). Nutpie minimizes Fisher divergence by estimating the inverse mass matrix as the midpoint (in the appropriate manifold) between an estimate based on the variance of the draws and the covariance of the scores (gradients of the log density). The target is better than Nuts’s variance of draws in both convergence speed and sampling efficiency. Walnutpie only supports diagonal mass matrices (Nuts supports dense matrices and Nutpie supports low-rank plus diagonal and even more general normalizing flow approaches). The approach is online in the sense that it is not blocked like warmup in Nuts or Nutpie—it updates every iteration by exponentially discounting the past to mimic Stan’s exponentially increasing history sizes. We also borrow Nutpie’s mass matrix initialization based on a regularized outer product of gradients at the initial point.

  3. Step-size warmup: The step size adaptation strategy has not changed, but the underlying stochastic gradient descent algorithm is Adam rather than dual averaging. We found Adam to be faster to converge and much more stable. Matt Hoffman included a hack in the original Nuts approach to stabilize dual averaging, but even with that it is not as stable as Adam.

  4. Concurrency and automatic stopping: The underlying sampler is multi-threaded (using C++11 threads) with shared data. On top of the multi-threading, we have layered a convergence monitor in a separate thread that communicates with the chains through lock-free, latest-only, single-producer/single-consumer (SPSC) buffers (specifically, a triple buffer). The monitor automatically stops warmup when the mass matrices and step sizes have converged within tolerance to their cross-chain averages. The monitor automatically stops sampling when a target (traditional, non-split, non-ranked) R-hat; threshold is satisfied for the unnormalized log density, which typically converges more slowly than any of the individual parameters. It can also be configured to run for a fixed number of warmup and/or sampling iterations. The link between the original R-hat and effective sample size makes this essentially an unscaled ESS target.

  5. Ragged chain summaries: Asynchronous concurrent execution of chains with automatic stopping produces chains of different lengths. Because ArviZ does not accept ragged chain input of this kind, we have included posterior analysis tools for means, variances/standard deviations, quantiles, traditional R-hat, effective sample size, and Monte Carlo standard error that work with ragged chains.

  6. C++20: Walnutpie is implemented in C++20. As a programming language type fanatic (I’ve written two books with “type” in the title!), I don’t know how I survived without C++ concepts before C++20.

  7. ctypes FFI: The foreign function interface in Python uses ctypes rather than a higher-level interface, which sidesteps the requirement of ABI compatibility of C++ binaries.

Developers

We would also like to welcome new developers who may want to get involved. There are already a stack of improvements we’d like to make, which we have enumerated on the GitHub issues.

Sources of algorithms

The Walnuts algorithm was a joint effort among Nawaf Bou-Rabee, Sifan Liu, Tore Kleppe, and Milo Marsden. Nutpie was developed by Adrian Seyboldt. Nuts, in the form used currently in Stan, was originally developed by Matt Hoffman and Andrew Gelman, then improved with multinomial sampling and mass matrix adaptation by Michael Betancourt. We haven’t yet added cross-chain adaptation as developed by Ben Bales, but the pieces are all in place to do so.

Brian Ward and I wrote all of the version 0.0.1 code with design advice and code review from Steve Bronder. Claude (the LLM) helped with code review and testing, but we didn’t use it to write the actual code (not out of principle, but because Brian and I both prefer the control of doing things manually).

Feedback

We would very much appreciate any feedback people have, including feedback on the documentation and ease of use, the source code, and performance.

We are happy to get feedback through issues on GitHub, through replies to this post, or through mail to one of the developers.

“In that era, undergrad males at Madison and elsewhere, had to take ROTC classes, and he kept intentionally failing them because he was very leftwing politically.”

Paul Alper writes:

Regarding your blog of today, believe it or not, I knew Marshall Brickman pretty well before he became famous. He was an undergrad at the University of Wisconsin in Madison when I was a grad student there. We belonged to the same very left-wing eating co-op, “The Green Lantern.” In that era, undergrad males at Madison and elsewhere, had to take ROTC classes, and he kept intentionally failing them because he was very leftwing politically.

Inasmuch as I am a helpful sort, I offered to nominate him for “Military Ball King,” but he declined. Marshall was a really gifted musician as well as a writer. In addition, he looked strikingly like the actor Richard Carlson who played Herb Philbrick in the 1950s television series I Led 3 Lives.

Stand-up comedy—like teaching, and book writing—requires “a collaboration with the audience.”

In our bathroom we have this book, “And here’s the kicker: Conversations with 21 top humor writers on their craft,” edited by Mike Sacks. It’s well suited for the throne, as you can dip in and read as little or as much as you want.

The gimmick is that you’d buy the book if you wanted to enter the comedy field. Which doesn’t seem very likely, but, then again, who reads books either? So maybe I’m one of the few people reading this one for entertainment value alone.

One of the interviews is with Woody Allen collaborator Marshall Brickman, coauthor of the 1970s classics Sleeper, Annie Hall, and Manhattan. Lots of interesting stuff in this interview, including this:

Marshall Brickman: [Woody] found a whole new area of insight: relationships of a certain kind, psychoanalysis, and the creation of the so-called loser—mostly with women. To some extent, the lower-with-women character was someone Bob Hope would play, but in a much more general and mainstream way. Woody’s character was more ethnically and culturally specific.

Mike Sacks: It takes true genius to develop a comic character like that.

Brickman: It does, but it also requires a collaboration with the audience. It’s the only way you can do it. You have to get out there and do a variety of material. Over times, certain things, statistically, will continue to work, and other things will drop away, and the audience will tell you what seems correct for you—for what you project onstage as a personality.

Sacks: But even with that said, you can work for twenty years and never connect with the audience half as much as Woody Allen.

Brickman: That’s right. That’s the genius. Creating something that somehow resonates with an audience that strongly.

If only Allen had died in 1986 (after releasing Hannah and Her Sisters) or maybe 1992 (after Husbands and Wives), just think how high his reputation would be. Even setting aside his personal life, releasing a series of flawed projects takes a toll. Not everyone’s a Scorsese or Spielberg who can keep it up into their old age. If Woody had gone in 1986, we’d still be speculating about the amazing work he didn’t have the opportunity to do.

But the thing that really interested me in the above-quoted interview is what Brickman said about collaboration with the audience.

This is true of teaching too! Teaching a class, even writing a book, is a collaboration with the audience. A book doesn’t read itself. With books, the challenge is that the audience doesn’t see it until it comes out. To continue the analogy, a live class is like stand-up; a book is like a movie.

When writing books, we always have the audience in my mind. The trouble is that the book might never reach the audience. That’s what I think has happened with Active Statistics. I’d like to rearrange it and rerelease it as a book called Statistics Stories. Or maybe, Important Concepts of Statistics in Story Form. Also I wish we’d given Regression and Other Stories the more serious and descriptive title, Applied Regression and Causal Inference. Maybe we can rerelease it under that title.

Anyway, yeah, “collaboration with the audience”: definitely.

“Placebo tests deserve a model, not just a glance.”

Miha Gazvoda shares this post with the above title and the subtitle, “Using Bayesian multilevel models to correct bias and calibrate uncertainty.”

He’s using the chickens model from our Slamming the Sham paper in the more general setting of placebo control tests.

In econometrics, a “placebo control test” does not need to literally involve a placebo treatment; it more generally is used to describe a procedure in which the same statistical analysis that was used to estimate a causal effect is applied to a different dataset, or a different part of the existing dataset, in which the treatment did not occur.

For example, if you want to measure the effect of an intervention that occurred in 2021, you could repeat the analysis but using data from a different year. Or if you want to measure the effect on a particular outcome, you could repeat the analysis but looking at a different outcome that should be unaffected by the treatment.

The idea is that, if your estimation method has an artifact or systematic bias, this should show up in the placebo analysis as well, indicating a problem. Conversely, if the placebo analysis does not show an effect, this is taken as evidence that there is no artifact.

In his post, Gazvoda argues that, rather than using the result of the placebo check to make a go/no-go decision, it should be possible to partially adjust the treatment effect to account for the information in that supplementary analysis.

This makes sense to me, and of course I’m happy that he’s using our chickens model.

There’s a tricky thing going on here with the placebo check, which, interestingly, arose in the chicken example too, and that is that we usually don’t have any good theory for where the effect is coming from in the placebo control. After all, if our causal identification is working as designed, we shouldn’t even need the placebo comparison, as we’re already getting an unbiased estimate of the treatment effect. The placebo control is typically there to address unspecified concerns of bias. And, indeed, in practice, researchers don’t always do placebo controls. And when, as hoped, the placebo control shows no statistically significant effect, the inclination is to take that as a reassurance and move on, in the same way that is done with other robustness checks.

The lesson Gasvoda takes from the chickens example is that if replications are available, you can assess the evidence for the placebo adjustments being relevant: you can fit a multilevel model to estimate how much adjustment needs to be done.

From a sociology-of-science point of view, it’s interesting to me that the conventions in biomedical statistics and econometrics go in opposite directions:

– In biomedical statistics, the default recommended behavior is to compute the difference in differences, taking the estimated effect from the main experiment and subtracting the estimate from the placebo experiment. As we explain in the chickens paper, this correction has the disadvantage of doubling the variance of the estimate, a true statistical crime if, as is often the case, the effect of the placebo treatment is indistinguishable from zero.

– In econometrics, the default procedure, if you’re calling it “difference-in-differences estimation,” is the same as above. But if you’re calling it “placebo control,” and the placebo estimate is not statistically significant from zero, the default is to ignore the placebo results entirely, not to adjust for them.

In general we recommend a partial adjustment, with the amount of adjustment depending on the problem at hand. If there is internal replication, as in the chickens example, the appropriate adjustment factor can be estimated from the data. If it’s a one-shot experiment, you’ll need to use prior information. I don’t have any good examples demonstrating how to do that; it’s something we should do.

What gets you is not what you don’t know but what you don’t know you don’t know.

I was thinking about the above saying in the context of bad regression discontinuity analyses.

Statistical methods can be characterized in terms of how they can go wrong. Some common modes of “how can things go wrong” include:
– biased measurements,
– selection bias into the observed dataset,
– differences between treatment and control groups,
– nonstationarity or, in general, differences between sample and population of interest,
– biased or noisy statistical estimates,
– missing data,
– problems with functional forms (for example, using a linear model for a nonlinear relation, or not including important interactions),
– problems with error terms (dependence, choice of distribution, etc.),
– unmodeled spillovers, hierarchical structure, or other violations of causal model assumptions,
– researcher degrees of freedom and forking paths,
and lots more!

Regression discontinuity is used for observational studies, and the #1 thing that can go wrong in an observational study is #3 on the above list: differences between treatment and control groups.

The problem is that when researchers perform regression discontinuity analysis, they focus on the problem with the functional form of the expected outcome given the one predictor, often ignoring other potential predictors even if they are screaming to be included (as with age in this example). There’s all this obsessing over the functional form (and I guess Guido and I contributed to this) that’s kind of missing the point (as we discuss briefly here).

So, the problem is not that these users of regression discontinuity don’t know what to do with other predictors; it’s that they don’t know that they don’t know this.

As Tolstoy might have said had he been a data analyst, Models that fit are all alike; every poorly-fitting model is poorly fitting in its own way.

P.S. Here’s some background from the Quote Investigator on various version of the saying that I used as the title of this post.

Why quantitative understanding of effect sizes matters, even if all you care about is the presence of the effect

In reaction to my article with Andy King proposing post-publication review, Dan “Fast and Frugal” Goldstein writes:

Your process limits information search, computation, and time so it seems fast and frugal to me. Happy you still associate me with that term. It was something I coined as a grad student.

In your proposal, only hit papers get audited. It reminds me a bit of Mel Brooks’ The Producers in which the protagonists use the logic “who would audit a flop?” and stay under the radar by intentionally producing a bad show. Fraudsters have likely attempted to make their work seem worthy of publication while ensuring it doesn’t attract too much attention. Just like in The Producers, though, this sometimes backfires.

I don’t know about that! My impression with fraudsters is that they think that fraud is normal science, perhaps out of some mixture of bad education in research methods, a view that “everybody does it,” and a general lack of understanding of how non-cheaters (like you and me!) think. Think of people like Wansink who gave general advice to to the world on how to p-hack, or Gino and Ariely, who published papers on dishonesty, or Mary Rosh, who surely believes that whatever shady statistical manipulations she does are nothing compared to the dastardly deeds done by the Democrats.

I’m sure there’s tons of below-the-radar cheating and bad science that we don’t hear about, but a fair number of prominent science fraudsters seem to enjoy the limelight. One reason for this seemingly self-sabotaging behavior, I think, is that cheating enabled these people to attain great professional success for years. They had no reason to think the juice would stop flowing.

To return to my proposal with Andy King: I think it’s ok that only the hit papers get audited. Bad papers that get no intention aren’t doing much damage, right?

Goldstein adds:

By the way, I was just having a conversation about your sensing that something was amiss with the LaCour study. For years now I have used this quote of yours in a talk I give about putting numbers into perspective. I argue that it’s really important that people learn how to put numbers into perspective because if they don’t, they won’t notice that something is unusual and worthy of a deeper audit. You somehow sensed something was up with the Lacour result. You didn’t think it was fraud yet but you knew it was strange because you know how to put such differences into perspective:

A difference of 0.8 on a five-point scale . . . wow! You rarely see this sort of thing. Just do the math. On a 1-5 scale, the maximum theoretically possible change would be 4. But, considering that lots of people are already at “4” or “5” on the scale, it’s hard to imagine an average change of more than 2. And that would be massive. So we’re talking about a causal effect that’s a full 40% of what is pretty much the maximum change imaginable. Wow, indeed. And, judging by the small standard errors (again, see the graphs above), these effects are real, not obtained by capitalizing on chance or the statistical significance filter or anything like that.

My colleagues and I recently wrote a paper on this general topic of average effect sizes. It’s our contention that people generally are way too optimistic about possible effect sizes, in large part because they don’t think about variation. If you ask someone to hypothesize an effect size, you’ll typically get a guess of the largest effect that might occur.

But what if you don’t really care about effect size–you just want to know about the effect?

For example, maybe you don’t believe that women during certain times of the month are three times more likely to wear red or pink shirts, but you are interested in some sort of evolutionary psychology theory of sexual display. In that case, why should the effect size matter? Why care that a study reported an estimate that was ridiculously implausible?

I have two to this questions, and thus two reasons why effect size is important even for problems where you don’t directly care about effect sizes:

1. Effect sizes vary. An treatment that has an effect (that is, a true effect, not just an estimated effect) of 0.1 for one group of people in one setting could have an effect of -0.2 in some other scenario. A treatment effect in an experiment is the sum of all sorts of things, positive and negative, and there’s no logical reason to think the sign of the effect will be preserved. Effect size matters. The issue is not just that a smaller and more realistic effect size is less important; it’s also that smaller effects can be more easily produced by other factors, and this reduces the generality of any claims, even if the experiment at hand was done well.

2. Experiments produce standard errors as well as estimates. If the standard error from a study is large compared to any realistic effect size, then the study contains very little information. Effect size is important in understanding the informativeness of an experiment, and to do this right you need to have some sense of what the true effect size could be. You can’t just use a point estimate from the study itself, as this estimate will inherently be too noisy to use to judge the information in the study. As I wrote in this note for the Annals of Surgery, Post-hoc power using observed estimate of effect size is too noisy to be useful.

What do we learn from bestseller regressions?

Gaurav Sood writes:

I was reading ‘The Bestseller Code.’ The book reports results from some regressions of the form:

bestseller or not ~ features of content

This got me thinking about what you can recover from such an exercise.

Say that there are two types of novels: type x and y. Let’s say that people prefer reading novels of type x. They are k% more likely to read a novel of type x than y.

At time t, the total number of novels is T, with novels of type x being 50%. And we can recover k% by regressing the number of people who read a novel on the type of novel.

Reader preference for type x novels leads writers to produce more novels of type x. At time t+1, the percentage of type of novels x being produced is 70%. But say that the total number of novels of type x that people can read is fixed at n_t. When we regress the number of people who read a novel on the type of novel, we can get that people are less likely to read novels of type x than y because we have more novels of type x at t+1.

I wrote a brief post based on the point here.

I agree, and this sort of thing has always puzzled me. I’m sure economists have looked into the matter, but I don’t know the literature so I’m just guessing here. Whenever people talk about the relative profitability of different genres, I wonder about what happens when the more profitable genre gets flooded with content. That doesn’t mean that bestseller regressions are useless, just that they represent at best some equilibrium of a process that I don’t understand very well.