P-values, Probability, Priors, Rabbits, Quantifauxcation, and Cargo-Cult Statistics

Philip B. Stark, www.stat.berkeley.edu/~stark, @philipbstark<br /> Department of Statistics, University of California, Berkeley

In the South Seas there is a cargo cult of people. During the war they saw airplanes land with lots of good materials, and they want the same thing to happen now. So they’ve arranged to imitate things like runways, to put fires along the sides of the runways, to make a wooden hut for a man to sit in, with two wooden pieces on his head like headphones and bars of bamboo sticking out like antennas–he’s the controller–and they wait for the airplanes to land. They’re doing everything right. The form is perfect. It looks exactly the way it looked before. But it doesn’t work. No airplanes land. So I call these things cargo cult science, because they follow all the apparent precepts and forms of scientific investigation, but they’re missing something essential, because the planes don’t land.

Now it behooves me, of course, to tell you what they’re missing. But it would he just about as difficult to explain to the South Sea Islanders how they have to arrange things so that they get some wealth in their system. It is not something simple like telling them how to improve the shapes of the earphones. But there is one feature I notice that is generally missing in Cargo Cult Science. That is the idea that we all hope you have learned in studying science in school–we never explicitly say what this is, but just hope that you catch on by all the examples of scientific investigation. It is interesting, therefore, to bring it out now and speak of it explicitly. It’s a kind of scientific integrity, a principle of scientific thought that corresponds to a kind of utter honesty–a kind of leaning over backwards. For example, if you’re doing an experiment, you should report everything that you think might make it invalid–not only what you think is right about it: other causes that could possibly explain your results; and things you thought of that you’ve eliminated by some other experiment, and how they worked–to make sure the other fellow can tell they have been eliminated.

Details that could throw doubt on your interpretation must be given, if you know them. You must do the best you can–if you know anything at all wrong, or possibly wrong–to explain it. If you make a theory, for example, and advertise it, or put it out, then you must also put down all the facts that disagree with it, as well as those that agree with it. There is also a more subtle problem. When you have put a lot of ideas together to make an elaborate theory, you want to make sure, when explaining what it fits, that those things it fits are not just the things that gave you the idea for the theory; but that the finished theory makes something else come out right, in addition.

In summary, the idea is to try to give all of the information to help others to judge the value of your contribution; not just the information that leads to judgment in one particular direction or another.

[] We’ve learned from experience that the truth will come out. Other experimenters will repeat your experiment and find out whether you were wrong or right. Nature’s phenomena will agree or they’ll disagree with your theory. And, although you may gain some temporary fame and excitement, you will not gain a good reputation as a scientist if you haven’t tried to be very careful in this kind of work. And it’s this type of integrity, this kind of care not to fool yourself, that is missing to a large extent in much of the research in cargo cult science.

The first principle is that you must not fool yourself–and you are the easiest person to fool. So you have to be very careful about that. After you’ve not fooled yourself, it’s easy not to fool other scientists. You just have to be honest in a conventional way after that.

–Richard Feynman, 1974. http://calteches.library.caltech.edu/51/2/CargoCult.htm

The Rabbit Axioms

  1. For the number of rabbits in a closed system to increase, the system must contain at least two rabbits.
  2. No negative rabbits.

Freedman’s Rabbit-Hat Theorem

You cannot pull a rabbit from a hat unless at least one rabbit has previously been placed in the hat.

Corollary

You cannot “borrow” a rabbit from an empty hat, even with a binding promise to return the rabbit later.

Applications of the Rabbit-Hat Theorem

  • Probablility doesn’t come out of a calculation unless probability went into the calculation.
  • Can’t turn a rate into a probability without assuming the phenomenon is random in the first place.
  • Can’t conclude that a process is random without making assumptions that amount to assuming that the process is random. (Something has to put the randomness rabbit into the hat.)
  • Testing whether the process appears to be random using the assumption that it is random cannot prove that it is random. (You can’t borrow a rabbit from an empty hat.)
  • Posterior distributions don’t exist without prior distributions.

What’s a P-value?

  • A probability
  • But of what?

\(P\)-values

  • Observe data \(X \sim \mathbb{P}\).
  • Null hypothesis \(\mathbb{P} = \mathbb{P}_0\) (or more generally, \(\mathbb{P} \in \mathcal{P}_0\)).
  • Nested (monotone) hypothesis tests:
    • \(\{A_\alpha : \alpha \in (0, 1] \}\)
    • \(\mathbb{P}_0 \{ X \notin A_\alpha \} \le \alpha\) (or more generally, \(\mathbb{P} \{ X \notin A_\alpha \} \le \alpha, \; \forall \mathbb{P} \in \mathcal{P}_0\))
    • \(A_\alpha \subset A_\beta\) if \(\beta < \alpha\) (Can always re-define \(A_\alpha \leftarrow \cup_{\beta \ge \alpha } A_\beta\))
  • If we observe \(X = x\), \(P\)-value is \(\sup \{ \alpha: x \in A_\alpha \}\).

C.f. informal definition in terms of “extreme” values?

  • What does “more extreme” mean?

It’s all about the null hypothesis

  • P-values measure the strength of the evidence against the null: smaller values, stronger evidence.
  • If \(P\)-value \(p\), either:
    1. the null hypothesis is false
    2. an event occurred that had probability no greater than \(p\)
  • Alternative hypothesis matters for power, but not for level.
  • Rejecting the null is not evidence for the alternative: it’s evidence against the null.
  • If null is unreasonable, no surprise if we reject it. Null needs to make sense.
  • Unreasonable null is not support for the alternative.

When did the rabbit enter the hat?

Anytime you see a \(P\)-value, you should ask what the null hypothesis is.

E.g., \(\mu = 0\) is not the whole null hypothesis:

  • null has to completely specify (a family of possible) probability distributions of the data
  • otherwise, can’t set acceptance regions \(\{A_\alpha\}\).

Anytime you see a posterior probability, you should ask what the prior was.

  • You can’t have a posterior distribution without a prior distribution.
  • The rabbit has to get in somehow.
  • It usually matters, despite claims about asymptopic results.

Complaints about \(P\)-values

  • “Don’t tell us what we want to know.”
  • Often abused.
  • Confusing

Where does probability come from?

  • Rates are not probabilities
  • Not all uncertainty is probability. Haphazard/random/unknown
  • A coefficient in a model may not be a “real” probability, even if it’s called “probability”

What is Probability?

Axiomatic aspect and philosophical aspect.

  • Kolmogorov’s axioms:
    • “just math”
    • triple \((S, \Omega, P)\)
      • \(S\) a set
      • \(\Omega\) a sigma-algebra on \(S\)
      • \(P\) a non-negative countably additive measure with total mass 1
  • Philosophical theory that ties the math to the world
    • What does probability mean?
    • Standard theories
      • Equally likely outcomes
      • Frequency theory
      • Subjective theory
    • Probability models as empirical commitments
    • Probability as metaphor

How does probability enter a scientific problem?

  • underlying phenomenon is random (radioactive decay)
  • deliberate randomization (randomized experiments, random sampling)
  • subjective probability
    • Constraints versus priors
    • No posterior distributions without prior distributions
    • Prior generally matters
    • elicitation issues
    • arguments from consistency, “Dutch book,” …
    • why should I care about your subjective probability
  • invented model that’s supposed to describe the phenomenon
  • in what sense?
  • to what level of accuracy?
  • description v. prediction v. predicting effect of intervention
  • testable to desired level of accuracy?
  • metaphor: phenomenon behaves “as if random”

Two very different situations:

  1. Scientist creates randomness by taking a random sample, assigning subjects at random to treatment or control, etc.
  2. Scientist invents (assumes) a probability model for data the world gives.
  1. allows sound inferences.
  2. is only as good as the assumptions.

Gotta check the assumptions against the world

  • Empirical support?
  • Plausible?
  • Iffy?
  • Absurd?

Quantifauxcation

Assign a meaningless number, then pretend that since it’s quantitative, it’s meaningful.

Many P-values and other “probabilities” and most cost-benefit analyses are quantifauxcation.

Cargo-cult statistics

Usually involves some combination of data, pure invention, ad hoc models, inappropriate statistics, and logical lacunae.

Example: The 2-sample problem

  • Randomization model: two lists. Are they “different”?
  • \(t\)-test. Assumptions?
  • Permutation distribution

Example: Effect of treatment in a randomized controlled experiment

11 pairs of rats, each pair from the same litter.

Randomly—by coin tosses—put one of each pair into “enriched” environment; other sib gets “normal” environment.

After 65 days, measure cortical mass (mg).

enriched

689

656

668

660

679

663

664

647

694

633

653

impoverished

657

623

652

654

658

646

600

640

605

635

642

difference

32

33

16

6

21

17

64

7

89

-2

11

How should we analyze the data?

Cartoon of Rosenzweig, M.R., E.L. Bennet, and M.C. Diamond, 1972. Brain changes in response to experience, Scientific American, 226, 22–29 report an experiment in which 11 triples of male rats, each triple from the same litter, were assigned at random to three different environments, “enriched” (E), standard, and “impoverished.” See also Bennett et al., 1969.

Informal Hypotheses

Null hypothesis: treatment has “no effect.”

Alternative hypothesis: treatment increases cortical mass.

Suggests 1-sided test for an increase.

Test contenders

  • 2-sample Student \(t\)-test:
\[\frac{\mbox{mean(treatment) - mean(control)}} {\mbox{pooled estimate of SD of difference of means}}\]
  • 1-sample Student \(t\)-test on the differences:
\[\frac{\mbox{mean(differences)}}{\mbox{SD(differences)}/\sqrt{11}}\]

Better, since littermates are presumably more homogeneous.

  • Permutation test using \(t\)-statistic of differences:

same statistic, different way to calculate \(P\)-value.

Assumptions of the tests

  1. 2-sample \(t\)-test:
    • masses are iid sample from normal distribution, same unknown variance, same unknown mean.
    • Tests weak null hypothesis (plus normality, independence, non-interference, etc.).
  2. 1-sample \(t\)-test on the differences:
    • mass differences are iid sample from normal distribution, unknown variance, zero mean.
    • Tests weak null hypothesis (plus normality, independence, non-interference, etc.)
  3. Permutation test:
    • Randomization fair, independent across pairs.
    • Tests strong null hypothesis.

Assumptions of the permutation test are true by design: That’s how treatment was assigned.

If we reject the null for the 1-sample \(t\)-test, what have we learned?

That the data are not (statistically) consistent with the assumption that they are an IID random sample from a normal distribution with mean 0.

So what? We never thought they were.

Making sense of probabilities in applied problems

  • Probability often applied without thinking
  • Reflexive way to try to represent uncertainty
  • Not all uncertainty can be represented by a probability
  • “Aleatory” versus “Epistemic”
  • Aleatory
    • Canonical examples: coin toss, die roll, lotto, roulette
    • under some circumstances, behave “as if” random (but not perfectly)
  • Epistemic: stuff we don’t know
  • Standard way to combining aleatory variability epistemic uncertainty puts beliefs on a par with an unbiased physical measurement w/ known uncertainty.
    • Claims by introspection, can estimate without bias, with known accuracy, just as if one’s brain were unbiased instrument with known accuracy
    • Bacon’s triumph over Aristotle should put this to rest, but empirically:
      • people are bad at making even rough quantitative estimates
      • quantitative estimates are usually biased
      • bias can be manipulated by anchoring, priming, etc.
      • people are bad at judging weights in their hands: biased by shape & density
      • people are bad at judging when something is random
      • people are overconfident in their estimates and predictions
      • confidence unconnected to actual accuracy.
      • anchoring effects entire disciplines (e.g., Millikan, c, Fe in spinach)
  • what if I don’t trust your internal scale, or your assessment of its accuracy?
  • same observations that are factored in as “data” are also used to form beliefs: the “measurements” made by introspection are not independent of the data

Rates versus probabilities

  • In a series of trials, if each trial has the same probability p of success, and if the trials are independent, then the rate of successes converges (in probability) to p. Law of Large Numbers
  • If a finite series of trials has an empirical rate p of success, that says nothing about whether the trials are random.
  • If the trials are random and have the same chance of success, the empirical rate is an estimate of the chance of success.
  • If the trials are random and have the same chance of success and the dependence of the trials is known (e.g., the trials are independent), can quantify the uncertainty of the estimate.

Thought experiments

You are one of a group of 100 people, of whom one will die in the next year.

What’s the chance it is you?

You are one of a group of 100 people, of whom one is named “Philip.”

What’s the chance it is you?

Why does the first invite an answer, and the second not?

Ignorance ≠ Randomness

Cargo Cult Confidence Intervals

  • Have a collection of numbers, e.g., MME climate model predictions of warming
  • Take mean and standard deviation.
  • Report mean as the estimate; construct a confidence interval or “probability” statement from the results, generally using Gaussian critical values
  • IPCC does this, as do many others.

What’s wrong with it?

  • No random sample; no stochastic errors.
  • Even if there were a random sample, what justifies using normal theory?
  • Even if random and normal, misinterprets confidence as probability. Garbled; something like Fisher’s fiducial inference
  • Ignores known errors in physical approximations
  • Ultimately, quantifauxcation.

Random/haphazard/unpredictable/unknown

  • Consider taking a sample of soup to tell whether it is too salty.
    • Stirring the soup, then taking a tablespoon, gives a random sample
    • Sticking in a tablespoon without looking gives a haphazard sample
  • Tendency to treat haphazard as random
    • random requires deliberate, precise action
    • haphazard is sloppy
  • Notions like probability, p-value, confidence intervals, etc., apply only if the sample is random (or for some kinds of measurement errors)
    • Do not apply to samples of convenience, haphazard samples, etc.
    • Do not apply to populations.

Two brief examples

  • Avian / wind-turbine interactions
  • Earthquake probabilities

Wind power: “avian / wind-turbine interactions”

Wind turbines kill birds, notably raptors.

  • how many, and of what species?
  • how concerned should we be?
  • what design and siting features matter?
  • how do you build/site less lethal turbines?

Measurements

Periodic on-the-ground surveys, subject to:

  • censoring
  • shrinkage/scavenging
  • background mortality
  • is this pieces of two birds, or two pieces of one bird?
  • how far from the point of injury does a bird land? attribution…

Is it possible to …

  • make an unbiased estimate of mortality?
  • reliably relate the mortality to individual turbines in wind farms?

Stochastic model

Common: Mixture of a point mass at zero and some distribution on the positive axis. E.g., “Zero-inflated Poisson”

Countless alternatives, e.g.:

  • observe \(\max\{0, \mbox{Poisson}(\lambda_j)-b_j\}\), \(b_j > 0\)
  • observe \(b_j\times \mbox{Poisson}(\lambda_j)\), \(b_j \in (0, 1)\).
  • observe true count in area \(j\) with error \(\epsilon_j\), where \(\{\epsilon_j\}\) are dependent, not identically distributed, nonzero mean

Consultant

  • bird collisions random, Poisson distributed
  • same for all birds
  • independent across birds
  • rates follow hierarchical Bayesian model that depends on covariates: properties of site and turbine design

What does this mean?

  • when a bird approaches a turbine, it tosses a coin to decide whether to throw itself on the blades
  • chance coin lands heads depends on site and turbine design
  • all birds use the same coin for each site/design
  • birds toss their coins independently

Where do the models come from?

  • Why random?
  • Why Poisson?
  • Why independent from site to site? From period to period? From bird to bird? From encounter to encounter?
  • Why doesn’t chance of detection depend on size, coloration, groundcover, …?
  • Why do different observers miss carcasses at the same rate?
  • What about background mortality?

Complications at Altamont

  • Why is randomness a good model? Random is not the same as haphazard or unpredictable.
  • Why is Poisson in particular reasonable? Do birds in effect toss coins, independently, with same chance of heads, every encounter with a turbine? Is #encounters \(\times P(\mbox{heads})\) constant?
  • Why estimate the parameter of a contrived model rather than actual mortality?
  • Do we want to know how many birds die, or the value of \(\lambda\) in an implausible stochastic model?
  • Background mortality—varies by time, species, etc.
  • Are all birds equally likely to be missed? Smaller more likely than larger? Does coloration matter?
  • Nonstationarity (seasonal effects—migration, nesting, etc.; weather; variations in bird populations)
  • Spatial and seasonal variation in shrinkage due to groundcover, coloration, illumination, etc.
  • Interactions and dependence.
  • Variations in scavenging. (Dependence on kill rates? Satiation? Food preferences? Groundcover?)
  • Birds killed earlier in the monitoring interval have longer time on trial for scavengers.
  • Differences or absolute numbers? (Often easier to estimate differences accurately.)
  • Same-site comparisons across time, or comparisons across sites?

Earthquake probabilities

  • Probabilistic seismic hazard analysis (PSHA): basis for building codes in many countries & for siting nuclear power plants
  • Models locations & magnitudes of earthquakes as random; mags iid
  • Models ground motion as random, given event. Distribution depends on the location and magnitude of the event.
  • Claim to estimate “exceedance probabilities”: chance acceleration exceeds some threshold in some number of years
  • In U.S.A., codes generally require design to withstand accelerations w probability ≥2% in 50y.
  • PSHA arose from probabilistic risk assessment (PRA) in aerospace and nuclear power. Those are engineered systems whose inner workings are known but for some system parameters and inputs.
  • Inner workings of earthquakes are almost entirely unknown: PSHA is based on metaphors and heuristics, not physics.
  • Some assumptions are at best weakly supported by evidence; some are contradicted.

The PSHA equation

Model earthquake occurrence as a marked stochastic process with known parameters.

Model ground motion in a given place as a stochastic process, given the quake location and magnitude.

Then,

probability of a given level of ground movement in a given place is the integral (over space and magnitude) of the conditional probability of that level of movement given that there’s an event of a particular magnitude in a particular place, times the probability that there’s an event of a particular magnitude in that place
  • That earthquakes occur at random is an assumption not based in theory or observation.
  • involves taking rates as probabilities
    • Standard argument:
      • M = 8 events happen about once a century.
      • Therefore, the chance is about 1% per year.

Earthquake casinos

  • Models amount to saying there’s an “earthquake deck”
  • Turn over one card per period. If the card has a number, that’s the size quake you get.
  • Journals and journals full of arguments about how many “8”s in the deck, whether the deck is fully shuffled, whether cards are replaced and re-shuffled after dealing, etc.

But this is just a metaphor!

Earthquake terrorism

  • Why not say earthquakes are like terrorist bombings?
    • don’t know where or when
    • know they will be large enough to kill
    • know some places are “likely targets”
    • but no probabilities
  • What advantage is there to the casino metaphor?

Rabbits and Earthquake Casinos

What would make the casino metaphor apt?

  1. The physics of earthquakes might be stochastic. But it isn’t.
  2. A stochastic model might provide a compact, accurate description of earthquake phenomenology. But it doesn’t.
  3. A stochastic model might be useful for predicting future seismicity. But it isn’t (Poisson, Gamma renewal, ETAS)

3 of the most destructive recent earthquakes were in regions seismic hazard maps showed to be relatively safe (2008 Wenchuan M7.9, 2010 Haiti M7.1, & 2011 Tohoku M9) Stein, Geller, & Liu, 2012

See also Mulargia, Geller, & Stark, 2017

What good are the numbers?