Module 5: Bayes Is Everywhere

Note for Instructors: Like the rest of BayesJump, this module is written for both instructors and students, so feel free to assign it. Unlike the earlier modules, it’s built to be browsed. Use the “Find Your Field” table below to jump to the examples closest to your discipline (or your students’ interests), then come back for the big picture in Section 8.

Introduction

Over the last four modules you learned why Bayesian reasoning answers the questions scientists actually want to ask, how the pieces of Bayes’ theorem fit together, how to think in distributions instead of true/false, and how to run and interpret a Bayesian t-test.

If you’ve made it this far, you might be filing Bayes under “statistical techniques.” That’s like filing the internet under “cat videos.” It’s technically accurate, but it misses most of what’s going on.

Every living thing has to act on information that is incomplete, noisy, and arriving in real time. A bacterium deciding which way to swim, a stem cell deciding what to become, a bird deciding whether to abandon a berry bush, your brain deciding whether that shape in the dark hallway is a coat rack or an intruder: they all face the problem Bayes’ theorem was built for. How much should what I just observed change what I already believe?

This module tours that problem from molecules to minds to entire populations. By the end, I hope you’ll agree with the claim this whole course has been building toward: you are already a Bayesian. So are your brain, your immune system, and nearly every organism you study. The earlier modules just gave you the vocabulary for it.

What “Bayesian” means in this module: Researchers use the word in two ways when they talk about living systems. Sometimes they mean a system literally computes something equivalent to Bayes’ theorem. More often, they mean the system behaves the way an ideal Bayesian observer would, whatever machinery is doing the work underneath. Most of the evidence below is the second kind. That still tells us a lot (what problem the system is solving, and how well it’s solving it), but keep the distinction in mind. Where the Bayesian account is debated, I’ll say so.

Learning Objectives

Upon completion of this module, you will be able to:

  • Explain perception, pain, movement, and language as processes that combine prior expectations with noisy sensory evidence
  • Describe learning and memory (in brains, biological clocks, and immune systems) as the updating and storage of beliefs
  • Apply Bayesian decision logic and signal detection theory to foraging, predator avoidance, and mate choice
  • Give examples of Bayesian-style inference in development and in molecular and cellular decision-making
  • Explain how population-level patterns, from collective cell migration to evolution and epidemics, can emerge from individual updating
  • Describe how hallucinations, delusions, and chronic pain have been modeled as miscalibrated inference, and how some features of autistic perception have been modeled as a different balance of priors and evidence
  • Recognize Bayesian methods already built into common tools for genomics and other high-throughput data
  • Articulate why natural selection tends to produce systems that approximate optimal inference

Key elements of this unit:

  • Focused on examples and interpretation, not calculation
  • No programming required
  • Built to be browsed: each section stands on its own

Find Your Field

If you work in or teach… Start here
Sensory, cognitive, or behavioral neuroscience Section 1: Your Brain Is a Bayesian Machine
Learning, chronobiology, or immunology Section 2: Learning and Memory
Behavioral ecology, animal behavior, or diagnostics Section 3: Decision-Making Under Uncertainty
Developmental, cell, or molecular biology; microbiology Section 4: Building Life
Ecology, evolution, epidemiology, or social behavior Section 5: From Individuals to Populations
Clinical psychology, psychiatry, neurology, or pain science Section 6: When Inference Fails
Genomics, bioinformatics, microbiome, or systems biology Section 7: Modern Biology Meets Bayes
Everyone (the big picture) Section 8: The Universal Pattern

One Idea to Carry Through the Whole Module

Remember the three pieces from Module 2: a prior (what you believed before), a likelihood (how well each possibility explains what you observed), and a posterior (your updated belief). One more principle shows up in nearly every example below, so let’s name it now:

Evidence is weighted by its reliability. Precise evidence moves your beliefs a lot. Noisy evidence moves them a little, and your prior carries more of the weight. When two sources of evidence disagree, the more reliable one wins more of the argument.

A classic demonstration: Ernst and Banks (2002) had people judge the height of a bar they could both see and feel. When the researchers made the visual information blurrier, people’s judgments shifted toward what they felt, by almost exactly the amount an ideal Bayesian combining the two cues would predict. This pattern comes up again and again in the rest of the module.

A quick notation note: in this module I’ll often write Bayes’ theorem as Posterior ∝ Likelihood × Prior. The ∝ symbol means “is proportional to.” All we’ve done is drop the marginal likelihood from the bottom of the equation. As you saw in Module 2, its job is to rescale everything so the probabilities add up to 1, so we can set it aside when we’re just asking which possibility wins. (It will make a surprise comeback in Section 5.)


1. Your Brain Is a Bayesian Machine

Right now you probably feel like you’re directly perceiving the world: reading these words, sitting in a chair, hearing whatever is happening around you. It feels immediate, but what you’re experiencing is the result of an inference.

Your brain sits in a dark, silent skull receiving electrical signals. From those signals alone it has to work out what’s out there, a problem with many possible answers. Every sight, sound, touch, and pain you experience is your brain’s best guess (its posterior) about what’s most likely happening in the world. The idea that the brain works this way is called the Bayesian brain hypothesis, and this section walks through some of the evidence for it.

Perception: Seeing What You Expect

Scale: Neural · Fields: Sensory neuroscience, cognitive psychology

Photons hit your retina and create a flat, 2D pattern of activity. Somehow you experience a stable 3D world full of recognizable objects. The problem is that the data are badly ambiguous:

  • The retinal image is 2D, but you see depth
  • You and everything around you are constantly moving, but the world looks stable
  • Lighting changes dramatically, but colors look consistent
  • Objects hide behind other objects, but you “know” what’s back there

Your brain resolves the ambiguity the way Bayes would:

P(World | Sensory Data) ∝ P(Sensory Data | World) × P(World)

The likelihood asks, “If there’s a coffee mug on the table, what pattern would hit my retina?” The prior asks, “Given everything I’ve ever seen, what’s likely to be out there?” (Faces stick out. Light comes from above. Mugs don’t float.) The posterior is what you actually experience. Kersten, Mamassian, and Yuille (2004) review how well this framework explains object perception.

When priors override reality. Sometimes your priors are strong enough to win the argument against the data, and many visual illusions are examples. They let you see the assumptions your brain is making.

  • The hollow face. Look at the inside of a mask (the concave side), especially with one eye closed or while the mask rotates. Most people see a normal, convex face anyway. You’ve seen many thousands of faces, and every one of them stuck outward, so your prior that “faces are convex” overwhelms the depth cues telling you this one curves inward (Gregory, 1997). People with schizophrenia, on the other hand, are far less susceptible to this illusion (Dima et al., 2009). We’ll come back to why in Section 6.

A white mask rotating so that its hollow back turns toward the viewer As the mask turns, its hollow back still looks like a face that sticks out toward you. Image: Empetrisor, CC BY-SA 4.0, via Wikimedia Commons.

  • The Dress and color constancy. In 2015 a photo of a dress split the internet: blue and black, or white and gold? People weren’t being stubborn; they genuinely saw different colors (Lafer-Sousa et al., 2015). The reason is color constancy, your brain’s ability to infer an object’s “true” color despite changes in lighting. To pull that off, your brain has to assume something about the light source, and the photo was ambiguous about lighting. People who implicitly assumed the dress was in bluish shadow mentally subtracted the blue and saw white and gold. People who assumed warm, yellowish light subtracted that and saw blue and black (Brainard & Hurlbert, 2015). Everyone had the same data. What differed was the prior about the lighting, so the posterior differed too. Newer viral examples pop up every so often, but The Dress is still the cleanest public demonstration, because people split into confident camps and nearly everyone was sure they were right.

  • The checker shadow. In Edward Adelson’s famous illusion, two squares on a checkerboard look like completely different shades of gray. They’re physically identical. Your brain notices that one square sits in the shadow of a cylinder and reasons, “If it’s this bright in shadow, it must be a light-colored surface” (Adelson, 2000).

Checkerboard with a green cylinder casting a shadow; square A outside the shadow and square B inside it Squares A and B are exactly the same shade of gray. Image: Edward H. Adelson (original), vectorized by Pbroks13, CC BY-SA 4.0, via Wikimedia Commons.

  • Two-tone images. Show someone a high-contrast black-and-white image made from a photo, and they often see nothing but splotches. Show them the original photo once, and the splotches snap into a clear picture they can never “unsee.” The image itself is exactly the same. Seeing the original photo gave them a new prior (Teufel et al., 2015).

Strong priors aren’t a design flaw. They’re what let you see clearly through fog, glare, and clutter. But illusions show that what you experience is your brain’s best model of the world, not the world itself.

Pain: Inferring Threat

Scale: Neural · Fields: Neuroscience, medicine, nursing, physical therapy

Pain feels like it lives in the body part that hurts. You stub your toe, your toe hurts. But pain is constructed by the brain as an inference about how much danger your body is in:

P(Threat | Nerve Signals) ∝ P(Nerve Signals | Threat) × P(Threat)

The signals from damage-sensing nerves (nociception) are the data. Your prior includes the context, what you believe about the situation, and your history with this kind of sensation. The pain you feel tracks the posterior.

Evidence that pain is inference, not just sensation:

  • Context changes pain. Henry Beecher (1946), an Army physician in WWII, reported that most of the badly wounded soldiers he treated said they weren’t in enough pain to want a painkiller. A decade later he found that civilians with comparable surgical wounds asked for pain relief far more often (Beecher, 1956). For a soldier, a wound could mean a ticket off the battlefield. For a civilian, it meant disaster. The tissue damage was similar, but the threat priors were very different.
  • Placebo analgesia. Tell someone an inert cream is a powerful painkiller, and their pain ratings drop along with activity in pain-processing regions of the brain (Wager et al., 2004). Their prior on threat went down (“I’ve been treated; I’m safe”). Büchel and colleagues (2014) lay out this predictive account of placebo in detail.
  • Nocebo. The flip side: expect something to hurt, and a harmless stimulus hurts more.
  • Phantom limbs. Amputees can feel vivid, sometimes excruciating pain in a limb that no longer exists. With no signals from the limb to contradict it, the brain’s prior (“my hand is there, and it’s cramping”) never gets updated. More on this under Embodiment.

The cough trick. Nurses teaching patients to give themselves injections at home sometimes suggest coughing right as the needle goes in, and often admit they don’t know why it works. A randomized crossover study found that a cough timed with a needle stick did reduce pain ratings (Usichenko et al., 2004), and even the researchers concluded that the mechanism remains unclear. Possible explanations include a brief spike in chest and spinal pressure that triggers the body’s own pain-dampening reflexes, plain distraction, or both. Either way, it fits the Bayesian picture: a competing stream of input arrives at the exact moment the threat signal does, so that signal carries less weight in the final posterior. The same logic covers tricks you already use:

  • Rubbing a bumped elbow floods the system with competing touch signals
  • Looking away from the needle removes visual evidence of threat
  • Watching a video during a procedure pulls attention and prediction elsewhere

Ongaro and Kaptchuk (2019) extend this Bayesian view to symptoms in general, and Wiech (2016) reviews how beliefs and attention shape pain. For what happens when pain inference gets stuck, see chronic pain in Section 6.

Motor Control: Predicting Your Way to Smooth Movement

Scale: Neural, Behavioral · Fields: Motor neuroscience, kinesiology, robotics, animal navigation

Reach for your coffee. Easy, right? Your brain just coordinated dozens of muscles, estimated where the cup is in 3D space, guessed how full it is, and corrected for the fact that you’re swaying slightly. It did all that even though sensory feedback about your arm arrives a noticeable fraction of a second late. If you waited for feedback before every correction, you’d move like a malfunctioning robot.

Instead, your brain runs a prediction loop (Wolpert & Ghahramani, 2000):

  • Prior (the “forward model”): “Given the command I just sent, where should my hand be next?”
  • Data: delayed, noisy sensory feedback about where it actually is
  • Posterior: a best estimate that blends the two, weighted by how reliable each is

Engineers solve the same problem with a Kalman filter (Kalman, 1960), a recipe for optimally combining noisy predictions with noisy measurements that’s used in everything from GPS to spacecraft. The cerebellum is widely thought to do something similar. Körding and Wolpert (2004) showed that people combine priors and feedback in exactly this way. In a reaching task where the correct adjustment came from a learned distribution, people leaned more heavily on that learned prior as their visual feedback got blurrier. (There’s the reliability principle again.)

Why practice makes perfect. Learning a motor skill means building better forward models. When you first learn to type, every keystroke needs attention because your predictions are poor. With practice, predictions get precise enough that the movement runs on autopilot. That’s also why you can touch your nose with your eyes closed, and why skilled musicians play passages faster than feedback could possibly guide them.

Why it breaks. Alcohol impairs the cerebellum, degrading the forward model, so you’re stuck relying on late feedback (hence the stumbling). Damage to the cerebellum produces ataxia, movements that overshoot and then correct in jerky steps. And if you put on prism goggles that shift the visual world sideways, you’ll miss when you reach, at first. Your brain soon updates its model and you’re back on target. Take the goggles off and you’ll miss in the opposite direction until you re-update (Shadmehr et al., 2010).

Catching fly balls: a cautionary tale. It’s tempting to say an outfielder catches a fly ball by predicting where it will land. It may be simpler than that. Chapman (1968) pointed out that if a fielder just runs so the ball appears to rise at a steady rate (canceling its optical acceleration), they’ll arrive at the right spot without ever calculating a landing point. Experiments with real and virtual fly balls support this kind of continuous, online control over explicit prediction (McBeath et al., 1995; Fink et al., 2009), and dogs chasing Frisbees seem to use a similar trick (Shaffer et al., 2004). That’s a useful lesson for students: not everything that looks like sophisticated inference is full Bayesian computation. Sometimes evolution and learning find a cheap rule of thumb that gets close enough, and part of the science is figuring out which is which.

Dead reckoning: an ancient technology. Before GPS, sailors navigated by dead reckoning: start from a known position, keep track of speed, heading, and elapsed time, and estimate where you are now. Small errors pile up, so navigators corrected their estimate whenever they spotted a landmark or a star. Desert ants do the same thing. After a winding foraging trip, they head straight home using path integration (a running internal tally of distance and direction), then rely on learned visual landmarks as they get close (Wehner, 2003). When researchers put the two cues in conflict, ants combine them in a weighted compromise, and they lean more on path integration after longer trips, when its directional estimate is more reliable. The weighting matches what an optimal Bayesian navigator would do (Wystrach et al., 2015). The ants may not be computing reliability directly, though. They seem to use the length of the trip as a stand-in for it, which is another good example of a shortcut that approximates the Bayesian answer.

Side view of a reddish desert ant specimen A *Cataglyphis desert ant (museum specimen). Ants in this genus are the classic subjects of path-integration research. Image: April Nobile, AntWeb.org, CC BY 4.0, via Wikimedia Commons.*

Language: Predictive Listening

Scale: Neural, Cognitive · Fields: Psycholinguistics, audiology, speech-language pathology

Speech is a terrible signal. Sounds blur together, accents vary, and background noise covers whole syllables. You understand it anyway because your brain is constantly predicting what comes next, not just decoding sounds as they arrive.

  • Phonemic restoration. Warren (1970) played people the sentence “The state governors met with their respective legi*latures convening in the capital city,” with the first “s” in “legislatures” cut out and replaced by a cough. Listeners reported hearing the whole word and couldn’t say where the cough had occurred. Context made the “s” so probable that listeners actually heard it.
  • The McGurk effect. Watch a video of someone saying “ga” dubbed over audio of “ba,” and many people hear “da,” which matches neither the sound nor the lips (McGurk & MacDonald, 1976). Your brain picks the speech sound that best explains both streams of evidence. This is also why watching someone’s lips helps in a noisy room. It’s built into what you hear, and you can’t switch it off.
  • Garden path sentences. Try this one: “The horse raced past the barn fell.” Most people stumble, because the early words make “raced” overwhelmingly likely to be the main verb (Bever, 1970). Then “fell” arrives and forces you to back up and re-parse: “The horse [that was] raced past the barn fell.” In Bayesian terms, you started with a reasonable prior, got a big prediction error, and updated.
  • Listening in noise. Listeners track the statistics of speech sounds and use their uncertainty about those sounds much as an ideal observer would (Clayards et al., 2008). At a loud party, your predictions about what your friend is likely to say help you pull their words out of the din.
  • “Um” carries information. Speakers tend to use “uh” before short delays and “um” before longer ones (Clark & Fox Tree, 2002), and listeners use those cues. After hearing a hesitation like “thee, uh…”, listeners’ eyes jump toward objects that haven’t been mentioned yet, because a hesitation predicts that something new or hard to name is coming (Arnold et al., 2004). A filler word shifts the listener’s prior.

Embodiment: Your Body Is an Inference

Scale: Neural · Fields: Cognitive neuroscience, rehabilitation, prosthetics, virtual reality

Most of us walk around feeling like there’s a “me” just behind our eyes, attached to a body that’s ours, and we know where every part of it is at any moment. It feels fundamental, but your sense of owning your body is an inference too, and under the right conditions it can be unraveled in a couple of minutes.

The rubber hand illusion. You’ll need a participant, a rubber hand, an old long-sleeved shirt, two small paintbrushes, a divider (a piece of cardboard works), and a hammer. (Rubber hands are easiest to find at Halloween stores.) Put the rubber hand in the shirt sleeve in front of the participant, where their own hand would naturally rest. Hide their real hand behind the divider. Now stroke the rubber hand and the hidden real hand at the same spots, at the same moments. After a few minutes, many people report that the rubber hand feels like theirs (Botvinick & Cohen, 1998). Then smash the rubber hand with the hammer. People flinch. In the lab, threatening the rubber hand (Armel and Ramachandran bent one of its fingers backward) makes skin conductance spike as if the person’s own hand were in danger (Armel & Ramachandran, 2003).

Diagram of a rubber hand illusion setup: participant at a table, real hand hidden behind a partition, rubber hand in view, two brushes above A typical setup. The participant’s real right hand (RH) is hidden behind a partition, while it and the rubber hand (Ru) are stroked with brushes at the same time. Image: Laura E. Downey and colleagues, CC BY 3.0, via Wikimedia Commons.

Bayesian lens: your brain is estimating P(this hand is mine | what I see, what I feel, where my arm seems to be). Vision says a hand is being stroked right there. Touch says you’re being stroked. The perfect timing strongly suggests a single cause. Even though your sense of limb position disagrees, the synchronized evidence wins. Stroke out of sync and the illusion collapses, because the evidence no longer points to a single cause. Samad, Chung, and Shams (2015) showed that a Bayesian model of this kind of cause-inference predicts the illusion, and even predicted (correctly) that many people would feel it with no stroking at all.

Being Barbie. Van der Hoort, Guterstam, and Ehrsson (2011) took this further. Participants wore goggles showing a camera feed from the viewpoint of a doll’s body, while the researchers touched the doll and the participant’s real body in sync. People came to feel the doll’s body as their own. In a tiny body, objects in the room looked larger and farther away. In a giant body, the same objects looked smaller and closer. Your body is the ruler your brain uses to measure the world.

Out-of-body experiences on demand. Ehrsson (2007) had seated participants view themselves, through goggles, from a camera placed behind them. The experimenter touched their real chest while moving a rod toward the camera’s “chest” location at the same moment. Within about two minutes, people reported feeling located behind their own body, looking at themselves. Threaten that illusory location with a hammer and fear responses spike.

Phantom limbs and mirrors. After an amputation, the brain’s model of the body (a prior built over decades) persists. With no signals from the missing limb to update it, a phantom can feel stuck in a painful cramp. Ramachandran and Rogers-Ramachandran (1996) used a simple mirror box so the reflection of the intact hand appears where the missing one should be. When the patient opens their intact hand, they see the phantom open, and some patients feel the cramp release. The mirror supplies the evidence the prior was missing.

Cartoon of a man looking into a mirror box, with a thought bubble showing two hands In a mirror box, the reflection of the intact hand appears where the missing hand should be. Image: Edward M. Hubbard, public domain, via Wikimedia Commons.

When the prior rejects the body. In Body Integrity Identity Disorder (BIID), now called body integrity dysphoria in the ICD-11, people experience a healthy limb as not belonging to them, without psychosis or detectable brain damage (van Dijk et al., 2013). The mismatch causes real suffering. Some people with BIID have pursued amputation and reported improved well-being afterward, which raises hard ethical questions (Bayne & Levy, 2005; Müller, 2009). In Bayesian terms, this is a body model that sensory evidence can’t seem to update, and the “fix” changes the body to match the prior instead of the other way around.

Tools become body parts. After using a long tool for a while, people judge their own forearm as longer, as if the tool had been folded into the body model (Cardinali et al., 2009; Canzoneri et al., 2013). If a tool delivers consistent, correlated feedback, the brain starts treating it as part of you. That flexibility is the basis for prosthetics that feel like real limbs and virtual bodies of any shape and size.

When you’re born, your brain doesn’t know what body it will end up in, and that body will change dramatically over a lifetime. A body model that’s inferred rather than hard-wired is exactly what you’d want (Tsakiris, 2010). The unsettling corollary is that there’s no little pilot behind your eyes, just a brain making its best guess about where “you” are.

Sensory Substitution: Seeing With Your Tongue

Scale: Neural · Fields: Neuroscience, assistive technology, engineering

Your brain never receives photons or sound waves. All that ever arrives is electrical signals. What matters isn’t which nerve a signal came in on, but whether it reliably varies with the structure of the world.

In the late 1960s, Paul Bach-y-Rita built a chair with a grid of vibrating pins on its back, wired to a video camera. Bright areas in the camera image made the corresponding pins vibrate. With training, blind participants learned to recognize objects, judge their positions, and track movement through the skin of their backs (Bach-y-Rita et al., 1969). In one often-retold moment, a participant flinched backward when an experimenter zoomed the camera lens without warning. The scene “loomed” at him, and he reacted the way a sighted person reacts to something flying toward their face. Modern versions place a small electrode array on the tongue (sold as the BrainPort), and blind users can learn to locate and identify objects with it.

Bayesian lens: once the brain learns a new likelihood, P(this tingling pattern | that object in front of me), Bayes does the rest and delivers P(object | tingling). The key is that the brain can test its hypotheses. Move the camera left, and the pattern shifts in a lawful way, which is exactly the kind of covariation the brain uses to infer that a stable world is out there (Bach-y-Rita & Kercel, 2003). Brain imaging suggests that the visual cortex of blind users can even be recruited to process the new signals (Kupers & Ptito, 2014).

The philosophically spicy implication is that there may be nothing inherently “visual” about vision. Seeing may simply be what spatial inference feels like when the evidence happens to arrive through the eyes. A bat “sees” with echoes, and it probably feels just as immediate.

Section 1 Summary

  • Perception: priors about faces, lighting, and objects combine with noisy input. When priors are strong enough, they override the data, and we call the result an illusion.
  • Pain: an inference about threat that depends on context and expectation. Placebo, nocebo, and competing signals (like a well-timed cough) all change the posterior.
  • Motor control: forward models predict the consequences of movement and are blended with late, noisy feedback. Practice sharpens the priors. Some feats, like catching fly balls, may rely on simpler rules of thumb.
  • Language: strong linguistic priors fill in missing sounds, merge lips and voices, and occasionally lead you down the garden path.
  • Embodiment: body ownership is inferred from correlated senses, and it can shift to rubber hands, doll bodies, and tools.
  • Sensory substitution: the brain will learn a likelihood for any reliable signal, even vibrations on your tongue.

The unifying principle: everything you experience is your brain’s best guess about the world, combining what it expects with what it receives and weighting each by its reliability.


2. Learning and Memory: Storing Updated Beliefs

In Bayesian terms, learning is updating, and memory is a stored posterior that becomes tomorrow’s prior. Let’s watch that logic play out in a brain learning what predicts what, a biological clock keeping time, and an immune system remembering its enemies.

Classical Conditioning: Pavlov’s Dogs Were Doing Inference

Scale: Neural, Behavioral · Fields: Learning theory, behavioral neuroscience, psychology

Ring a bell, deliver food, repeat. Eventually the dog salivates at the bell alone (Pavlov, 1927). For decades this was described as “association.” Read through a Bayesian lens, the dog is learning how well the bell predicts food:

  • Before training: P(food | bell) is near zero. Bells and dinner have nothing to do with each other.
  • Early pairings: food after the bell is surprising, so beliefs change a lot.
  • Later pairings: food is now expected, so each new pairing changes beliefs less, and the learning curve levels off.
  • Extinction: the bell starts arriving without food, and the prediction gradually falls.

Four-panel cartoon of a dog with food and a bell Pavlovian conditioning: (1) food produces salivation, (2) the bell alone does not, (3) the bell is paired with food, and (4) eventually the bell alone produces salivation. Image: Maxxl², CC BY-SA 4.0, via Wikimedia Commons.

Surprise drives learning. The size of each update depends on how wrong the prediction was. That idea is the heart of the Rescorla-Wagner model (Rescorla & Wagner, 1972), still one of the most successful models in psychology, and it has a striking neural signature. Dopamine neurons in monkeys fire a burst when an unexpected reward arrives, barely respond when the reward is fully predicted, and dip below baseline when an expected reward fails to show up (Schultz et al., 1997). That’s a reward prediction error, exactly the quantity a learning system needs to know how much to update.

Blocking. Kamin (1969) provided some of the clearest evidence that learning is about prediction, not mere pairing. First, rats learned that a noise predicted a mild shock. Then the noise plus a light were paired with the shock, over and over. When the light was tested alone, the rats barely reacted to it. The light had been paired with the shock many times, but it never added any information, because the noise already predicted everything. Once the noise had been learned, the shock was never surprising, so there was nothing left to update. A system that simply counted pairings would have learned about the light, but a system that learns from prediction error, as an efficient Bayesian does, ignores redundant cues.

More recent theories go a step further, treating animals as fully Bayesian learners that track not only what predicts what, but how confident they should be and how quickly the world might be changing (Courville et al., 2006; Gershman, 2015). These models explain puzzles that simpler models struggle with, such as why extinguished responses can return when the context changes.

Prediction pays off outside the lab, too. For a case where learning a single predictive cue changes how many offspring an animal produces, see the blue gouramis in Section 3.

Circadian Rhythms: Bayesian Timekeeping

Scale: Physiological · Fields: Chronobiology, sleep medicine, occupational health

Your body runs on an internal clock, centered in the suprachiasmatic nucleus of the hypothalamus, that times sleep, alertness, hunger, body temperature, and hormone release. But the clock’s natural period isn’t exactly 24 hours (for most people it runs a little long), so it has to be nudged back into sync every day. The most important nudge is light, especially in the morning and evening (Czeisler & Gooley, 2007; Roenneberg & Merrow, 2016).

Think of it as inference about the time of day:

  • Prior: the internal clock’s current estimate
  • Data: light exposure, plus weaker cues like meals and social activity
  • Posterior: the adjusted phase of the clock

Circular 24-hour clock diagram labeled with typical times of human physiological events Typical daily timing of some human physiological rhythms. Exact times vary from person to person. Image: Yassine Mrabet (fixed by Addicted04), CC BY-SA 3.0, via Wikimedia Commons.

Jet lag is a prior-data conflict. Fly from Texas to Paris, and your internal clock insists it’s 2 a.m. while the sun insists it’s 9 a.m. The clock doesn’t reset all at once; it shifts gradually over several days, which is how you’d want a careful updater to behave. A single bright morning at an odd hour could be a fluke, but a week of them means something has really changed.

Shift work is chronic conflict: bright lights at 3 a.m., blackout curtains at noon, meals at odd hours. The clock never settles on a stable estimate, and long-term night-shift work is associated with higher rates of metabolic, cardiovascular, and mood problems.

Seasons demand updating too. For some people, the short, dim days of winter contribute to seasonal affective disorder, and bright morning light therapy works in part by delivering stronger, clearer evidence about when the day begins.

The Immune System: Evolution’s Most Impressive Learner

Scale: Cellular, Organismal · Fields: Immunology, microbiology, vaccine science

Your body faces an impossible problem: a practically unlimited variety of pathogens, each with its own molecular signature, many of which haven’t even evolved yet. You can’t be born knowing them all. The adaptive immune system’s solution has a structure that looks a lot like Bayesian updating.

Clonal selection (Burnet, 1957):

  • A broad prior. You’re born with an enormous, randomly generated repertoire of B and T cells, each carrying a slightly different receptor. That’s a wide prior spread across the space of possible enemies.
  • Data. A pathogen arrives, and fragments of it (antigens) are presented to immune cells.
  • Likelihood. Cells whose receptors bind the antigen well are, in effect, the hypotheses that best fit the data.
  • Posterior. Those cells multiply into large clones. The repertoire has shifted its weight toward the hypotheses that fit.
  • Updated prior. Some of them become long-lived memory cells, a stored posterior ready for the next encounter.

Diagram of B cells binding an antigen, multiplying into clones, and forming plasma cells and memory cells Clonal selection of B cells. Cells whose receptors bind the antigen multiply, and some become memory cells that respond faster the next time. Image: OpenStax College, *Anatomy & Physiology*, CC BY 3.0, via Wikimedia Commons.

Affinity maturation. In structures called germinal centers, activated B cells deliberately mutate their antibody genes, and the variants that bind best are selected to survive and multiply, round after round (Victora & Nussenzweig, 2012). Antibodies can end up binding far more tightly than the originals did. Engineers would recognize the search strategy: propose small variations near your current best guess, test them against the data, keep the winners, repeat.

Vaccines are safe training data. Without a vaccine, your first encounter with a pathogen is also your training session, and you get sick while clonal selection catches up. A vaccine supplies the training data in advance, so the stored prior (memory cells) is ready when the real thing shows up.

Memory as forecasting. Mayer and colleagues (2019) went a step further and modeled the adaptive immune system explicitly as Bayesian machinery: it balances evidence from new infections against past experience to predict, and prepare for, the threats you’re likely to face next. Their model accounts for the way the memory pool grows rapidly early in life and then levels off in midlife. Immune memory, on this view, is less a record of the past than a bet about the future.

When the prior goes wrong. Autoimmunity happens when the system effectively assigns a high probability of “threat” to the body’s own molecules. Regulatory T cells normally keep immune responses in check, a bit like the way statisticians use regularization to keep models from overreacting to noise. (That’s an analogy rather than an established equivalence, but it’s a useful one for students who’ve seen both.)

Section 2 Summary

  • Classical conditioning: animals learn what predicts what by updating on prediction error. Surprising outcomes drive big updates, redundant cues are ignored (blocking), and dopamine neurons carry a prediction-error signal.
  • Circadian rhythms: the internal clock is a prior that light updates every day. Jet lag, shift work, and seasonal changes are all problems of updating.
  • Immune system: a broad, random repertoire is narrowed by evidence (clonal selection), refined by trial and error (affinity maturation), and stored as memory cells. Vaccines are safe training data.

The unifying principle: whether it’s in neurons, clocks, or lymphocytes, memory is a stored posterior that becomes the next prior, and learning is driven by how wrong the last prediction was.


3. Decision-Making Under Uncertainty

Every organism faces the same question over and over: what should I do right now? Eat this or keep looking? Run or stay? Court this one or wait for someone better? These decisions are made with incomplete information, under time pressure, with survival and reproduction on the line.

Bayesian decision theory adds one step to inference. Combine your posterior with the costs and benefits of each possible action, then choose the action with the best expected payoff. The best choice depends both on what’s probably true and on which mistakes would be most expensive.

Foraging: When Should You Leave?

Scale: Behavioral, Ecological · Fields: Behavioral ecology, animal behavior, neuroeconomics

You’re a bird at a berry bush, and berries are getting harder to find. Leave too early and you abandon food. Leave too late and you waste time you could have spent at a better bush. Charnov’s (1976) Marginal Value Theorem gives the optimal rule: leave when your current rate of finding food drops to the average rate you could expect elsewhere, after accounting for travel time.

There’s a catch. The bird can’t see the patch’s true quality. It has to estimate it from the berries it has found so far. Every berry found (or not found) updates the bird’s estimate. A long dry spell in a patch that started out rich could mean the patch is depleted, or it could just be bad luck. A forager that updates sensibly will leave neither too early nor too late.

Patch-leaving decisions that broadly follow the Marginal Value Theorem have been found in starlings (Kacelnik, 1984), monkeys (Hayden et al., 2011), and other species. Whether animals also estimate patch quality the Bayesian way is a separate question, and Valone (2006) reviews the evidence. In one elegant study, bumblebees changed when they left a patch depending on how rewards were spread across flowers, much as a Bayesian forager should (Biernaskie et al., 2009).

A bumblebee on a purple flower A bumblebee (Bombus lapidarius) foraging. Image: Nicolas Weghaupt, CC0, via Wikimedia Commons.

Explore or exploit? A related dilemma: stick with a known option, or try something new? The answer depends on uncertainty and time. When you’re unsure how good your options are, exploring buys information that improves future choices. When you’re confident, exploit what you know. Time horizon matters too. In the first week of the semester, trying a new study spot is a good bet. The night before the final, go with what works. Animals, humans, and reinforcement-learning algorithms all wrestle with this tradeoff, and the human brain appears to track uncertainty to manage it (Cohen et al., 2007).

Signal Detection: Is That Rustle a Predator?

Scale: Behavioral · Fields: Animal behavior, psychophysics, medicine, diagnostics

A small mammal hears rustling in the bushes. Predator or wind? It can flee (safe, but it costs energy and feeding time) or stay (efficient, unless it’s a predator). There are four possible outcomes:

  Predator present Just the wind
Flee ✅ Hit ⚠️ False alarm
Stay ❌ Miss (possibly fatal) ✅ Correct rejection

Signal detection theory (Green & Swets, 1966) formalizes this decision, and it depends on three things:

  1. The prior: how common are predators here?
  2. The likelihood ratio: how much more likely is this rustle if it’s a predator rather than the wind?
  3. The costs: a false alarm wastes a few calories. A miss ends your genetic line.

When misses are catastrophic and false alarms are cheap, the optimal threshold is low: flee at the faintest hint. That’s why prey animals seem so jumpy. Nesse (2005) calls this the smoke detector principle. We tolerate smoke alarms that shriek at burnt toast because a single missed fire costs so much more than a hundred false alarms, and many of our own defenses (startle, anxiety, nausea) may be tuned the same way. The threshold also shifts with context. Prey animals tend to flee sooner when they’re farther from cover (Stankowich & Blumstein, 2005), where a miss is more likely to be fatal. The cost of one kind of mistake went up, so the best threshold moved. Lynn and Barrett (2014) show how building those costs into signal detection theory turns it into a model of optimal decision-making.

The same math runs medical testing. Recall the diagnostic testing example from Module 2: a test’s sensitivity and specificity supply the likelihoods, and the base rate supplies the prior. Where a screening program sets its cutoff for “positive” is a signal detection decision that depends on the base rate and on the relative costs of a missed diagnosis versus a false alarm. That’s one big reason different medical organizations sometimes recommend different screening guidelines from the same evidence.

Mate Choice: Inferring Quality From Signals

Scale: Behavioral, Evolutionary · Fields: Behavioral ecology, comparative psychology, evolutionary psychology

You can’t see a potential mate’s genes, parasite load, or parenting skills. You can only observe signals and infer quality from them: P(high quality | what I observe).

Costly signals are believable signals. Peacock trains are heavy, conspicuous to predators, and expensive to grow. Zahavi’s (1975) handicap principle proposes that the cost is the point. Only a male in excellent condition can afford a spectacular train, so the train is strong evidence about the male behind it. In likelihood terms, P(spectacular train | high quality) is much greater than P(spectacular train | low quality). Classic studies found that peahens favored males with more elaborate trains (Petrie et al., 1991), although a later study of a feral population in Japan found no such preference (Takahashi et al., 2008). That’s a good reminder for students that textbook examples get updated too.

A peacock with his train fanned out in display A peacock displaying his train during courtship. Image: Rohit Sharma (edited by Cart), CC BY 4.0, via Wikimedia Commons.

Blue gouramis: prediction pays in offspring. Male blue gouramis are territorial fish that must drive off rival males and court females, two very different responses to an approaching fish. Karen Hollis and her colleagues gave males a Pavlovian signal (a light) that reliably preceded the arrival of another fish. Males that could predict a rival’s arrival attacked harder and gained the upper hand in territorial encounters (Hollis, 1984). Males that could predict a female’s arrival were less likely to attack her and more likely to court her (Hollis et al., 1989), and in a later study they fathered far more offspring than males that saw the same light without the predictive relationship (Hollis et al., 1997). Learning which cues predict what translates directly into reproductive success. (This is classical conditioning from Section 2 doing real work: a cue that sharpens the prior lets the body prepare.)

A gourami fish swimming near plants *Trichopodus trichopterus, the species known as the blue or three-spot gourami. Image: Christopher, via iNaturalist, CC BY 4.0, via Wikimedia Commons.*

Guppies copy each other. A female guppy who watches another female choose a male becomes more likely to choose that male herself (Dugatkin, 1992), and she will sometimes even reverse her own earlier preference (Dugatkin & Godin, 1992). Bayesian lens: another female’s choice is evidence, to be combined with the guppy’s own observations. When the two agree, she can be more confident. When they conflict, she has to weigh one against the other.

Two guppies: a colorful male above and a plainer female below Trinidadian guppies: a colorful male (top) and a larger, plainer female (bottom). Image: Amy E. Deacon and colleagues, CC BY 4.0, via Wikimedia Commons.

Humans and the Dark Triad (a hypothesis). People high in the “Dark Triad” traits (narcissism, Machiavellianism, and psychopathy) tend to pursue short-term mating strategies (Jonason et al., 2009). A Bayesian lens suggests one speculative way to think about why that strategy sometimes works. Early in a relationship, uncertainty about a partner is high, and confident, charming, attentive behavior looks like strong evidence of a good partner. Unlike a peacock’s train, though, those signals are cheap to produce in the short run. As evidence accumulates (consistency, follow-through, what friends observe), a careful updater’s posterior shifts toward reality. On this view, such strategies should succeed most with partners who have weak priors and short time horizons, and fail as evidence piles up. That’s a testable prediction, not an established finding.

Section 3 Summary

  • Foraging: a forager estimates patch quality from its own feeding success and leaves when the estimate drops below what it expects elsewhere. Exploring buys information; exploiting cashes it in.
  • Signal detection: the decision to flee depends on the prior, the strength of the evidence, and the costs of each error. Cheap false alarms plus catastrophic misses produce “jumpy” prey (the smoke detector principle). Medical screening runs on the same math.
  • Mate choice: costly signals are believable because they’re hard to fake. Learning which cues predict mates and rivals increases reproductive success, and social information (other females’ choices) counts as evidence too.

The unifying principle: good decisions combine an updated belief with the costs of being wrong. Organisms that do this well leave more descendants, which is why so many of them do it well.


4. Building Life: Development Through Distributed Inference

A fertilized egg contains DNA, but DNA doesn’t say “build a heart here.” It encodes proteins. So how does a single cell become an organized body with the right structures in the right places?

Part of the answer is that cells are constantly making decisions based on noisy molecular signals, and the best of those decisions look a lot like Bayesian inference.

Developmental Biology: Cells Inferring Their Position

Scale: Molecular, Cellular, Tissue · Fields: Developmental biology, genetics

During development, a cell destined to be part of the head needs different genes switched on than a cell destined for the tail. There’s no GPS. So how does a cell know where it is?

Morphogen gradients. In the fruit fly embryo, a protein called Bicoid is concentrated at the head end and fades toward the tail. A cell can, in principle, read its position from the local concentration, an idea Wolpert (1969) called positional information. His famous French flag model imagines cells using thresholds: high concentration means “blue stripe,” middle means “white,” low means “red.”

Graph of morphogen concentration falling with distance, with two thresholds dividing the tissue into blue, white, and red regions Wolpert’s French flag model. Cells read the local concentration of a morphogen and take on one of three fates depending on which thresholds it exceeds. Diagram: BayesJump.

The catch: molecules are noisy. Production is random, diffusion is random, and a cell’s “measurement” of concentration is imprecise. A single gradient can’t pin down position very well. Fly embryos solve this in a very Bayesian way:

  • Combine multiple cues. Downstream of Bicoid, a set of “gap genes” produces several overlapping patterns of expression. Each one alone is ambiguous. Petkova and colleagues (2019) showed that an optimal decoder reading just four gap genes could specify a cell’s position to within about 1% of the embryo’s length, and that this decoder correctly predicted, with no free parameters, where the next layer of genes switches on, in both normal and mutant embryos. Their conclusion was that the embryo’s own genetic machinery closely approximates a mathematically optimal decoding strategy. Dubuis and colleagues (2013) measured how much positional information these genes carry, in bits.
  • Timing and accumulated evidence matter. Cells appear to read the Bicoid gradient before it has even settled into its final shape (Bergmann et al., 2007), so what a cell “concludes” depends on when and how long it listens, not just a single snapshot.

Three fruit fly embryos, each stained to show a different gap gene's stripes of expression Expression of three gap genes (knirps, *Krüppel, and giant) in fruit fly embryos. Each gene marks out different bands along the body. Image: Haecker and colleagues (derivative by Celefin), CC BY 2.5, via Wikimedia Commons.*

The result is development that holds up well under variation. Temperature, maternal nutrition, and even some mutations can vary, and you still get a normally proportioned fly. Redundant cues, combined well, make the posterior stable even when individual signals are noisy.

Intracellular Signaling: Molecular Decision-Making

Scale: Molecular, Cellular · Fields: Cell biology, cancer biology, systems biology

Individual cells constantly face decisions. Should I divide? Differentiate into a specialized cell type? Migrate? Undergo programmed cell death? All of these decisions rest on molecular signals from the cell’s surroundings, and those signals are noisy. Ligand concentrations fluctuate, receptor binding depends on random molecular collisions, and protein levels vary from cell to cell.

Bayesian lens:

  • Prior: the cell’s current internal state (its protein levels, gene expression, and stage of the cell cycle)
  • Likelihood: how consistent the pattern of receptor activity is with “a real signal” versus “random fluctuation”
  • Posterior: an updated internal state that, past some threshold, triggers a response

Barua and Hatzikirou (2023) frame cell decision-making explicitly as Bayesian learning, with cells integrating new information against their current state to choose among fates like differentiation, proliferation, migration, and death. Cells improve the reliability of these decisions in familiar ways: combining signals from many receptors, integrating over time to separate a sustained signal from a momentary blip, and using several pathways at once (Bowsher & Swain, 2014; Perkins & Swain, 2009).

The cost of errors. Consider a growth factor that tells a cell to divide. A false positive (dividing when it shouldn’t) is a step toward uncontrolled growth. A false negative (failing to divide when tissue needs repair) means poor healing. That’s the signal detection problem from Section 3, at the scale of a single cell.

Useful noise. Sometimes genetically identical cells in the same environment make different choices, because random fluctuations in gene expression push some of them across a decision threshold and not others. That isn’t always a bug. Noise can create useful diversity, such as a population in which a few cells are ready for an environmental change the rest didn’t anticipate (Eldar & Elowitz, 2010). In Bayesian terms, cells with slightly different priors reach different posteriors from the same evidence.

Bacterial Chemotaxis: Navigating by Comparison

Scale: Cellular · Fields: Microbiology, biophysics

E. coli is only about two micrometers long, far too small to detect a meaningful difference in concentration between its front and back. Yet it reliably swims toward food and away from toxins. How?

Run and tumble. E. coli alternates between “runs” (swimming straight) and “tumbles” (randomly reorienting). If the concentration of an attractant has been increasing during a run, it tumbles less often and keeps going. If the concentration has been decreasing, it tumbles sooner and tries a new direction (Berg & Brown, 1972). The bacterium can’t compare front to back, but it can compare now to a few seconds ago.

Electron micrograph of a single E. coli bacterium with long, thin flagella An *E. coli bacterium (electron micrograph) with the long flagella it uses to run and tumble. Image: E. H. White, CDC Public Health Image Library, public domain, via Wikimedia Commons.*

Bayesian lens: after each tumble, every direction is equally plausible (a flat prior). As the bacterium swims, rising or falling concentration is evidence about whether this direction is a good one, and the decision to keep going depends on that accumulating evidence. Auconi, Novak, and Friedrich (2022) worked out the ideal Bayesian version of this kind of gradient sensing, and recent measurements suggest that real E. coli chemotaxis is limited mainly by how much information the cell can gather about the gradient, rather than by its swimming machinery (Mattingly et al., 2021).

This is the same logic as the dead reckoning in Section 1. When you can’t observe what you need directly (a position, a gradient), you infer it from what you can measure over time.

Mechanosensing: Cells Reading Their Surroundings by Touch

Scale: Cellular, Tissue · Fields: Stem cell biology, tissue engineering, cancer biology

Cells don’t just sense chemicals. They also sense the mechanical properties of their surroundings, and use that information to decide what to become.

In a classic experiment, Engler and colleagues (2006) grew mesenchymal stem cells on gels of different stiffness:

  • Soft gels (about as stiff as brain tissue) → cells took on neuron-like features
  • Medium stiffness (like muscle) → cells moved toward a muscle fate
  • Stiff gels (like the matrix that becomes bone) → cells moved toward a bone fate

Bayesian lens: the stiffness of the surface is evidence about context. “What tissue am I most likely in, given how this feels?” Cells combine that mechanical evidence with chemical signals and their own developmental history (the prior) and commit to a fate accordingly (Discher et al., 2005).

Why it matters clinically. Tissue engineers now choose scaffold stiffness to steer stem cells toward the tissue they want. Tumors tend to be stiffer than the surrounding tissue, and that stiffness can push cells toward more aggressive behavior, a feedback loop in which the tumor’s mechanics shape the cells’ “conclusions” about where they are (Butcher et al., 2009).

Section 4 Summary

  • Development: embryonic cells infer their position from noisy morphogen gradients, and fly embryos combine several gap genes in a way that closely approximates optimal decoding.
  • Intracellular signaling: cells decide to divide, differentiate, migrate, or die by integrating noisy signals over receptors and time. Errors are costly in both directions, and some randomness creates useful diversity.
  • Bacterial chemotaxis: bacteria too small to sense a spatial gradient infer it from changes over time.
  • Mechanosensing: stem cells treat substrate stiffness as evidence about their tissue context.

The unifying principle: building a body requires billions of cells making local decisions from partial, noisy information. The decision processes that evolution kept are the ones that combine evidence well.


5. From Individuals to Populations

So far we’ve mostly looked at individual cells and organisms. What happens when many updaters interact?

Emergent patterns. Coordinated sheets of migrating cells, trends sweeping through social networks, animals spreading across a landscape, species adapting to their environments, and epidemics are all population-level patterns that can emerge from individuals updating on local information, with no central planner.

Collective Cell Migration

Scale: Cellular, Tissue · Fields: Cell biology, wound healing, cancer biology

During wound healing, embryonic development, and cancer metastasis, cells often migrate together, in coordinated sheets or streams. No cell has a map. Each one senses only its local surroundings: chemical gradients, its neighbors’ positions, and the mechanical properties of the surface underneath it. Yet the group coordinates beautifully.

Hatzikirou and colleagues have proposed that cells act to reduce their uncertainty about their local microenvironment, updating their “beliefs” about where to go as they sense and move (Hatzikirou, 2018). Cells that are very uncertain tend to explore, and cells that are more certain commit. Because neighboring cells are physically coupled, information spreads through the group. This framework predicts when a population of cells will switch from a fluid-like, highly mobile state to a more solid-like, settled state (Barua et al., 2020), and it has been used to explain how close-to-optimal sensing keeps tissue patterning robust, as in the orderly mosaic of photoreceptors in the bird retina (Barua et al., 2021).

This is still an active and developing area, but it shows the logic scaling up: individual uncertainty reduction, plus coupling between neighbors, produces coordinated tissue-level behavior.

Social Contagion: Ideas Spread Like Pathogens

Scale: Social · Fields: Social psychology, public health, sociology, economics

Behaviors, ideas, and emotions spread through social networks in patterns that look a lot like epidemics. Part of the reason is that adopting a behavior is itself an inference.

Should you try a new app, a new diet, or a new health habit?

  • Prior: your values, your past experience with similar things, and your general openness to change
  • Data: what you see other people doing, what happens to them, and who they are
  • Posterior: your updated estimate of whether the behavior is worth adopting

People start with different priors, which produces the classic S-shaped adoption curve: a few eager early adopters, an early majority who wait for some evidence, a late majority who need a lot of it, and holdouts who rarely adopt at all (Rogers, 2003). Many people adopt once enough of their contacts have, a threshold that varies from person to person (Granovetter, 1978).

Cascades, good and bad. Bikhchandani, Hirshleifer, and Welch (1992) showed something unsettling. When people can see others’ choices but not their reasons, it can be perfectly rational to follow the crowd and ignore your own private information. If everyone does that, the group can lock onto a choice in an information cascade, even a wrong one, because after the first few people, nobody’s private information is being added to the pool anymore. That’s Bayesian reasoning going wrong at the group level: each individual is updating sensibly, but the group stops learning.

Reinforcement helps. In an experiment with an online health community, Centola (2010) found that a health behavior spread farther and faster through clustered networks, where people heard about it from several overlapping contacts, than through random networks with more long-distance ties. Hearing the same thing from several independent sources is stronger evidence than hearing it once.

The Ideal Free Distribution: Foraging at the Population Scale

Scale: Ecological · Fields: Ecology, behavioral ecology, fisheries and wildlife management

In Section 3, a single forager decided when to leave a patch. What happens when many foragers compete for the same patches?

The ideal free distribution (Fretwell & Lucas, 1969) predicts that foragers will spread out so that everyone ends up doing about equally well. A rich patch attracts more individuals, competition there increases, and eventually a poorer patch with fewer competitors becomes just as good a choice.

In a classic demonstration, D. G. C. Harper (1982) had two people stand at different spots along a pond and throw bread to a flock of mallards, one person throwing twice as fast as the other. Within about a minute, the flock had divided itself between the two people roughly in proportion to their throwing rates. (Not every duck did equally well, though. Bigger, more competitive ducks got more than their share.)

Mallard ducks spread out across a pond A flock of mallards spread across a pond. Image: KKPCW, CC BY-SA 4.0, via Wikimedia Commons.

Bayesian lens: each duck is estimating which spot is paying off best, based on what it sees and eats, and moving accordingly. No duck has the big picture, and no one coordinates. The near-optimal distribution of the whole flock emerges from individuals updating on local evidence. Real populations deviate from the ideal in predictable ways, such as travel costs, imperfect information, and dominant individuals hogging the best spots (Tregenza, 1995), and each of those deviations is a change to the inference problem individuals face.

Evolution: Natural Selection as Bayesian Updating

Scale: Population, Evolutionary · Fields: Evolutionary biology, population genetics

This next connection surprises a lot of people. Remember the marginal likelihood from Module 2, the term that rescales everything so it adds up to 1? It shows up in evolutionary biology.

Bayes’ theorem, for several competing hypotheses:

P(Hypothesis i | Data) = P(Data | Hypothesis i) × P(Hypothesis i) / Σ [P(Data | Hypothesis) × P(Hypothesis)]

Natural selection, in its simplest population-genetics form (a discrete version of what’s called the replicator equation), says the frequency of a genotype in the next generation equals its current frequency times its fitness, divided by the population’s average fitness:

Next frequency of type i = Fitness of i × Current frequency of i / Average fitness

These are the same equation. M. Harper (2009) and Frank (2012) spell out the correspondence:

Bayesian updating Natural selection
Prior probability of a hypothesis Current frequency of a genotype
Likelihood (how well it explains the data) Fitness (how well it survives and reproduces)
Marginal likelihood (the normalizer) Average fitness of the population
Posterior probability Frequency in the next generation

So in a precise mathematical sense, selection is Bayesian updating: a population’s gene pool is a distribution over “hypotheses” about how to survive in its environment, and each generation updates it based on evidence. The other forces of evolution fit the analogy too, if more loosely:

  • Mutation keeps exploring new hypotheses, so the population doesn’t get stuck on yesterday’s best answer
  • Gene flow between populations is like sharing priors, which helps when environments are similar and hurts when they aren’t
  • Genetic drift is sampling noise, which matters most in small populations, just as small samples make for noisy estimates

Watson and Szathmáry (2016) push the idea further, asking what evolution can “learn” when you take the parallels with learning systems seriously. And there’s a satisfying loop here. Evolution is a Bayesian-style learning process, and what it produces are organisms (with brains, immune systems, and foraging strategies) that are themselves Bayesian-style learners.

Epidemiology: Forecasting an Outbreak in Real Time

Scale: Population · Fields: Epidemiology, public health

When COVID-19 emerged, epidemiologists faced urgent questions with almost no data. How fast is it spreading? How deadly is it? Are the interventions working? Those are questions for Bayesian inference under extreme uncertainty.

Classic epidemic models divide a population into people who are Susceptible, Infectious, and Recovered (or removed). How the epidemic unfolds depends on parameters like the transmission rate and the recovery rate, and for a new disease nobody knows them. A Bayesian approach:

  • Prior: plausible values based on similar diseases, biology, and expert knowledge
  • Data: daily case counts, hospitalizations, and deaths (noisy, delayed, and incomplete)
  • Posterior: updated estimates of the parameters, with honest uncertainty
  • Forecast: simulations of what might happen next, run across the whole posterior instead of a single best guess

Flow diagram: Susceptible to Infectious to Recovered The SIR model. People move from Susceptible to Infectious (at a rate that depends on contact, β) to Recovered (at the recovery rate, γ). Image: Arthur Goldberg, CC BY-SA 4.0, via Wikimedia Commons.

Because data arrive every day, today’s posterior becomes tomorrow’s prior. Bayesian models were used to estimate when transmission changed in Germany as interventions took effect (Dehning et al., 2020), and to estimate the effects of interventions across 11 European countries (Flaxman et al., 2020).

A note of humility belongs here. Many COVID-19 forecasts performed poorly (Ioannidis et al., 2022). Bayesian methods quantify uncertainty honestly given the model, but they can’t rescue a model that leaves out something important, like changing human behavior. That’s a good lesson to pass on to students: a posterior is only as good as the model and the data behind it.

Section 5 Summary

  • Collective migration: cells reducing their own local uncertainty, coupled to their neighbors, produce coordinated tissue movement.
  • Social contagion: adoption is an inference from what others do. Different priors produce S-shaped adoption curves, and information cascades can lock a group onto a wrong answer.
  • Ideal free distribution: foragers updating on local evidence spread themselves across patches near-optimally, with no coordinator.
  • Evolution: in its simplest form, the equation for natural selection has the same structure as Bayes’ theorem, with fitness as the likelihood and average fitness as the marginal likelihood.
  • Epidemiology: outbreak forecasting is sequential Bayesian updating, and it’s only as good as its model.

The unifying principle: when many updaters interact, sophisticated population-level patterns can emerge from simple local inference, and sometimes so can population-level mistakes.


6. When Inference Fails: Clinical Perspectives

If the brain is a prediction machine, what happens when the machinery is miscalibrated?

Several psychiatric and neurological conditions have been modeled, at least in part, as problems with Bayesian inference: priors that are too strong, too weak, or unable to update. This framework doesn’t explain everything about these conditions, and some of it is actively debated. But it ties specific symptoms to a common computational story, and it suggests new ways to think about treatment. Autism appears in this section too, but as a different kind of case: one influential Bayesian account describes autistic perception as a different balance of priors and evidence, not as a failure.

Hallucinations: When Noise Becomes Signal

Scale: Neural · Fields: Psychiatry, neurology, clinical psychology

Your sensory systems are never silent. There’s always some random activity, and normally your brain correctly treats it as noise. That’s a signal detection problem: balance sensitivity (noticing real things) against specificity (not “seeing” things that aren’t there).

Hallucinations can arise when that balance tips. If the prior expectation that something is there gets too strong, or sensory evidence gets too weak, the brain can end up perceiving what it expects rather than what’s present (Corlett et al., 2019).

  • Low input, strong priors. Visual hallucinations are common in conditions that degrade visual input, such as Charles Bonnet syndrome, which can follow vision loss. Even healthy people can hallucinate after prolonged sensory deprivation. With little sensory data to constrain them, priors fill in the gaps.
  • Conditioned hallucinations. Powers, Mathys, and Corlett (2017) used Pavlovian conditioning to create hallucinations in the lab. Participants learned that a light predicted a faint tone. Later, many of them reported hearing the tone when only the light appeared. People who hear voices in daily life were especially prone to these conditioned hallucinations, and computational modeling showed they weighted their learned expectations more heavily than other participants did. (If you came here from Section 2, notice that this is classical conditioning again, this time producing a perception.)
  • A shift toward priors. People in the early stages of psychosis, and healthy people with more psychosis-like experiences, get a bigger boost from prior knowledge when making sense of ambiguous two-tone images (Teufel et al., 2015).

But wait: remember from Section 1 that people with schizophrenia are less fooled by the hollow-face illusion, which suggests their priors are weaker, not stronger. How can both be true? Current theories propose that the balance between priors and evidence can be off in different directions at different levels of the brain’s processing hierarchy, and in different senses (Sterzer et al., 2018). The details are still being worked out, and that unresolved tension is a nice example of science updating in public.

Delusions: When Beliefs Won’t Update

Scale: Neural, Cognitive · Fields: Psychiatry, clinical psychology

Normally, when evidence contradicts a belief, you update. Your friend doesn’t answer the door, so maybe they’re out. In a delusion, a belief becomes remarkably resistant to contrary evidence.

Capgras delusion is a striking example: the conviction that a spouse or family member has been replaced by an impostor. One influential account holds that face recognition still works, but the emotional response that normally accompanies a familiar face is missing (Ellis & Young, 1990). The brain is left with a puzzle (this looks exactly like my wife, but it doesn’t feel like her) and lands on an explanation that fits both facts: an impostor.

Bayesian lens: two ingredients seem to matter. One is aberrant prediction errors, the brain flagging ordinary events as surprising and significant, which demands an explanation (Fletcher & Frith, 2009; Corlett & Fletcher, 2015). The other is a belief that becomes so entrenched it stops responding to evidence. Bayes’ theorem has a quirk that matters here: a prior of exactly 1 (or exactly 0) can never be updated, no matter what the data say. Run the numbers through the theorem and the posterior comes out equal to the prior. A delusion behaves as if a belief has drifted very close to that limit.

  • Persecutory delusions: a high prior on threat turns ambiguous events (a stranger’s glance, a car taking the same route) into “confirming” evidence
  • Delusions of reference: a high prior on “this is about me” turns coincidences into personal messages

This framework also helps explain why you can’t argue someone out of a delusion with logic alone. The problem lies in the updating process itself, not in a lack of evidence.

Autism: A Different Balance of Priors and Evidence?

Scale: Neural, Cognitive · Fields: Developmental psychology, clinical psychology, neuroscience

One influential hypothesis proposes that autistic perception gives relatively more weight to incoming sensory evidence and relatively less to prior expectations (Pellicano & Burr, 2012). A related account frames this in terms of how much confidence (“precision”) the brain assigns to sensory signals versus predictions (Lawson et al., 2014).

If that’s right, it could tie together several features of autistic perception:

  • Attention to detail: with less smoothing from expectations, details that others’ brains gloss over stay salient (Happé & Frith, 2006)
  • Reduced susceptibility to some illusions: in an early study, autistic children were less likely to be fooled by several classic visual illusions (Happé, 1996), although later studies have produced mixed results
  • Less adaptation: autistic children showed weaker face aftereffects, a kind of perceptual adaptation that depends on building up expectations from recent experience (Pellicano et al., 2007)
  • Sensory intensity and preference for predictability: if the world arrives with less filtering from expectations, it can feel more intense, and unexpected changes can feel more disruptive

Important caveats. Autism is diverse, and this is one hypothesis among several, with mixed evidence. It speaks to perception much more than to communication or social motivation. What it offers is a way to describe autistic perception as a different weighting of priors and evidence, with real strengths as well as challenges, rather than as simply broken.

Chronic Pain: A Threat Prior That Won’t Let Go

Scale: Neural · Fields: Pain science, physical therapy, medicine, clinical psychology

In Section 1, pain was an inference about threat. Chronic pain is what can happen when that inference gets stuck.

Acute pain is adaptive. An injury sends danger signals, the brain updates (“this area is damaged; protect it”), and pain fades as the tissue heals.

Chronic pain can persist long after the tissue has healed. In Bayesian terms, the prior that “this area is under threat” stays high even when the incoming evidence no longer supports it. Several processes can keep that prior from updating:

  • Sensitization: the nervous system becomes more reactive, so ordinary signals register as threatening
  • Avoidance: fear of pain leads people to stop using the painful area, so they never gather evidence that movement is safe
  • Attention: constantly monitoring a body part makes every twinge seem like confirmation

Effective treatments often look like ways of updating that prior (Moseley & Butler, 2015):

  • Pain neuroscience education explains pain as the brain’s protective inference rather than a direct readout of damage, which can lower the threat prior and has been shown to reduce pain and improve function (Louw et al., 2016)
  • Graded exposure gradually reintroduces activity, generating new evidence that movement doesn’t cause harm
  • Mindfulness and acceptance approaches help decouple the sensation from the conclusion that something terrible is happening

Consciousness and Anesthesia: When Prediction Stops (Speculative)

Scale: Neural · Fields: Neuroscience, anesthesiology, philosophy of mind

This one is more speculative, but it’s too interesting to leave out. Some researchers argue that conscious experience itself arises from the brain’s layered, constantly updated predictions about the world and the body (Hohwy, 2013; Seth, 2021). On this view, what you experience as “the world” is the brain’s top-level best guess, continuously checked against incoming prediction errors.

That idea suggests a way to think about anesthesia and other losses of consciousness: not as the brain simply switching off, but as a breakdown in the communication among brain regions that lets predictions and prediction errors flow up and down the hierarchy. Rival theories, such as the global neuronal workspace theory, emphasize the brain-wide broadcasting of information instead (Mashour et al., 2020), and the debate is very much open. Still, it’s worth noticing that one serious candidate theory of consciousness is built directly on Bayesian inference.

Section 6 Summary

  • Hallucinations: perceiving expectations instead of evidence, especially when sensory input is weak. Pavlovian conditioning can produce them in the lab.
  • Delusions: surprising-seeming events demand explanations, and the resulting beliefs become resistant to updating.
  • Autism (one hypothesis): a different balance between sensory evidence and prior expectations, with strengths as well as challenges.
  • Chronic pain: a threat prior that persists after healing. Effective treatments supply new evidence that safety is real.
  • Consciousness (speculative): one leading family of theories treats conscious experience as layered prediction.

The unifying principle: many conditions can be described not as a total loss of function, but as inference that weighs priors and evidence differently. For hallucinations, delusions, and chronic pain, that framing points toward treatments that recalibrate the inference process instead of only suppressing symptoms. For autism, it points toward understanding a different perceptual style, with its own strengths.


7. Modern Biology Meets Bayes

Modern biology created a new statistical problem: we can measure almost everything, but we can’t afford unlimited samples. A typical experiment might measure the expression of 20,000 genes in a dozen samples. With far more unknowns than observations, treating each gene as its own isolated test produces a flood of false positives and wildly unstable estimates.

The Bayesian solution is to use the structure biology already has. Genes in the same pathway behave similarly. Most genes don’t regulate most other genes. Related microbes have related lifestyles. Build that knowledge in as priors, and let related measurements share information.

You’ve Probably Already Used Bayes

Scale: Molecular · Fields: Genomics, transcriptomics, bioinformatics

If you’ve analyzed gene expression data with limma or DESeq2, you’ve already used Bayesian ideas, possibly without knowing it. Both tools use empirical Bayes shrinkage (Smyth, 2004; Love et al., 2014). A gene’s variance estimated from only a few samples is noisy. So instead of trusting each gene’s estimate on its own, these methods learn a prior from the distribution of all the genes, and pull each gene’s estimate toward it. Genes with plenty of reliable data barely move. Genes with sparse, noisy data move more. That’s the reliability principle from the start of this module, applied to 20,000 genes at once. Related approaches use the same logic to estimate false discovery rates more accurately (Stephens, 2017).

Gene Regulatory Networks: Inferring Who Controls Whom

Scale: Molecular · Fields: Systems biology, genetics

Genes regulate each other in networks: gene A activates gene B, which represses gene C, which feeds back on gene A. Knowing that wiring helps identify master regulators, disrupted pathways in disease, and potential drug targets. But we only observe expression levels, not the wiring itself, and the number of possible connections among thousands of genes is astronomical.

Bayesian network inference tackles this by combining expression data with priors that reflect biology: most genes have only a few regulators, transcription factors are likely regulators, and genes in known pathways are likely to be connected (Friedman et al., 2000). The result is a posterior over plausible network structures, including honest uncertainty about which connections are well supported.

Microbiome Studies: Borrowing Strength From Relatives

Scale: Cellular, Community · Fields: Microbiology, microbial ecology, medicine

Your gut hosts trillions of microbes from many species, and it’s tempting to ask which ones matter for health. But many species are rare, individuals vary enormously, and the data are proportions rather than absolute counts.

Imagine asking whether a particular Bacteroides species is linked to some health outcome. If it’s rare, you have very little data on it alone. A hierarchical Bayesian model lets related species inform each other: estimates for each species are pulled partway toward the average for its genus or family, more strongly when that species’ own data are sparse. This partial pooling sits between treating every species as completely unrelated and treating them all as identical. Methods that use the evolutionary tree connecting microbes to structure the analysis follow the same spirit (Silverman et al., 2017).

Single-Cell Genomics: Cells Making Choices

Scale: Cellular · Fields: Developmental biology, immunology, stem cell biology

When gene expression is measured in thousands of individual cells, some genes turn out to be “on” in some cells and “off” in others, even within what looks like a single cell type (Shalek et al., 2013). Part of that variation reflects cells partway through decisions about what to become, the same kind of decisions you met in Section 4.

Probabilistic models of these data treat each cell’s state as a probability distribution over possible fates, informed by its expression profile and by what’s known about developmental trajectories. That lets researchers estimate where decision points occur, which cells are likely to commit to which fate, and which genes appear to drive the choice.

Multi-Omics Integration: Combining Evidence Across Layers

Scale: Molecular to Organismal · Fields: Systems biology, precision medicine

Researchers can now collect several kinds of data from the same individuals: DNA variants, RNA expression, protein levels, metabolites, and microbiome composition. Each layer is a partial, noisy view of the same underlying biology, with its own scale and its own sources of error.

Bayesian data integration treats these as multiple lines of evidence about a shared biological state, often following the causal flow from genes to RNA to proteins to metabolites to traits. Each layer is weighted by its reliability (that principle again), and uncertainty is carried through the whole analysis instead of being lost along the way (Gligorijević & Pržulj, 2015).

Section 7 Summary

  • Empirical Bayes: standard tools like limma and DESeq2 shrink noisy gene-level estimates toward a prior learned from all genes.
  • Gene networks: biological priors make it possible to infer regulatory wiring from limited data.
  • Microbiome: hierarchical models let rare microbes borrow strength from their relatives.
  • Single-cell: probabilistic models of cell states reveal where and how cells make fate decisions.
  • Multi-omics: several noisy layers of data are combined, weighted by reliability, with uncertainty carried throughout.

The unifying principle: when you have more unknowns than observations, structure is information. Bayesian methods turn biological knowledge into priors and let related measurements share strength, which is a big reason much of modern high-throughput biology works at all.


8. The Universal Pattern

We’ve traveled from molecules to minds to populations. We’ve seen Bayesian-style inference in neurons predicting their input, bacteria navigating gradients, embryos laying out body plans, immune systems learning pathogens, foragers abandoning patches, flocks spreading across ponds, and gene pools adapting to their environments.

Is that a coincidence, or is something deeper going on?

Bayes Across Every Scale

Scale System Prior Evidence Posterior or decision
Molecular Gap genes in fly embryos Expected expression patterns Noisy gene expression levels Position along the body
Cellular Bacterial chemotaxis No preferred direction Concentration change over time Keep swimming or tumble
Cellular Stem cell fate Developmental history Substrate stiffness Which tissue to become
Tissue Collective migration Model of the microenvironment Local chemical and mechanical cues Coordinated movement
Neural Visual perception Expectations about the world Retinal input What you see
Neural Pain Expected threat Nociceptive signals How much it hurts
Neural Motor control Predicted movement Delayed feedback Smooth action
Cognitive Language Linguistic context Acoustic signal The words you hear
Behavioral Conditioning Current predictions Surprising outcomes Updated associations
Physiological Circadian clock Internal time estimate Light exposure Adjusted rhythm
Immunological Clonal selection Diverse receptor repertoire Antigen binding Clonal expansion and memory
Behavioral Foraging Patch quality estimate Feeding success Stay or leave
Behavioral Predator detection Predator base rate Rustling, shadows, scents Flee or stay
Behavioral Mate choice Typical quality in the population Costly signals, others’ choices Whom to mate with
Social Behavior adoption Personal values and experience Others’ choices Adopt or not
Ecological Ideal free distribution Expected payoff of each patch Current intake Where to forage
Evolutionary Natural selection Genotype frequencies Fitness Next generation’s frequencies
Epidemiological Outbreak forecasting Knowledge of similar diseases Case counts Parameter estimates and forecasts
Genomic Empirical Bayes shrinkage Distribution across all genes One gene’s noisy data Stabilized estimate

In every row, a system faces the same challenge:

“I have limited, noisy information. I need to make the best decision I can. How should I combine what I observe with what I already know?”

Why Evolution Produces Bayesian Systems

There’s a reason this pattern keeps showing up. If your model of the world is right, Bayesian inference is the best you can do with the information you have. No other way of combining prior knowledge and new evidence produces better calibrated beliefs, and pairing those beliefs with the costs of each action produces the best decisions on average.

Natural selection is relentless about rewarding better decisions. Organisms that forage efficiently, spot predators reliably, choose mates well, and respond appropriately to change leave more descendants. Organisms that don’t, leave fewer. So over evolutionary time, systems that approximate good inference win out.

Notice the word approximate. Real organisms don’t have unlimited time, energy, or neurons, and their models of the world are never perfect. So evolution often settles for shortcuts that get close to the Bayesian answer cheaply: the outfielder’s running rule, the ant using trip length as a stand-in for reliability, the dopamine neuron’s simple prediction error. Part of the fun of this field is figuring out which systems do full inference, which use clever approximations, and which only look Bayesian from the outside.

And then there’s the loop we met in Section 5. Evolution is itself a Bayesian-style learning process. What it produces are organisms that are Bayesian-style learners. And some of those organisms (us) use Bayesian statistics to study evolution.

Artificial Intelligence: Rediscovering Nature’s Solution

When engineers try to build systems that learn from data, they run into the problem biology solved long ago, and they’ve converged on many of the same answers (Ghahramani, 2015; MacKay, 2003).

  • Regularization is a prior. A standard trick for keeping a model from overfitting, penalizing large weights, is mathematically equivalent to placing a prior on those weights.
  • Point estimates versus distributions. A typical deep neural network ends training with a single best set of weights, a bit like reporting only the peak of a posterior. Bayesian neural networks keep a distribution over weights instead, so they can say how confident they are, which matters a lot in medicine, self-driving cars, and anywhere else a confident mistake is costly. Even a common training technique called dropout can be interpreted as a rough approximation to Bayesian inference (Gal & Ghahramani, 2016).
  • Learning from little data. When examples are scarce, good priors let a system learn quickly, the way you can recognize a new kind of animal after seeing just one.
  • Choosing what to learn next. Bayesian uncertainty can guide which data to collect, the explore-exploit tradeoff from Section 3.

Biology arrived at these solutions over billions of years of selection, and engineers have reached many of the same ones through mathematics in a few decades.

What This Means

Step back far enough and a few big ideas come into view:

  • Perception is inference. You never experience the world unfiltered. You experience your brain’s best model of it.
  • Learning is updating. Knowledge isn’t a pile of facts. It’s a set of beliefs that can always be sharpened by the next piece of evidence.
  • Evolution is learning at the population level. The line between “learning” and “evolving” is blurrier than it first appears. Both are updating, on different timescales.
  • Science is formalized updating. When scientists propose hypotheses, gather data, and revise their theories, they’re doing deliberately and publicly what a bacterium does on its way toward food.
  • The self may be an inference too. Some researchers argue that our sense of being a self, located in a body and looking out at a world, is itself the brain’s best explanation of its own signals (Clark, 2013, 2016; Seth, 2021). That’s still speculative, but it would mean the same computational principle runs from molecules to minds.

Why This Matters for Teaching

If you’re here to learn how to teach Bayesian statistics, you can now present it as something bigger: the logic that living systems use to cope with uncertainty. (If you’re a student, this section explains why your instructors might think this material is worth your time.)

When you show students Bayes’ theorem, you’re also showing them how their brains construct what they see, how they learn anything at all, how they make decisions when they can’t be sure, how their immune systems fight disease, how their ancestors survived, and how science discovers what’s true.

So when a student asks, “Why should I learn Bayesian statistics?”, here’s one honest answer:

“Because you’ve been doing it your whole life. Your brain does it every time you see a face in a cloud or hear your name in a noisy room. Your cells did it while building your body. This course just gives you the tools to do it on purpose.”

Conclusion: You Are a Bayesian

We started this module by asking what Bayesian statistics has to do with the life sciences. The answer turns out to be just about everything.

When you see a face in a hollow mask, catch yourself bracing for a needle, learn to avoid a food that once made you sick, get a booster shot, decide whether to try the new taco place or stick with your usual, or revise a hypothesis after a surprising result, you’re doing Bayesian inference.

Earlier modules taught you the mathematics. This one was meant to show you that the mathematics was describing you all along. From molecules to minds to societies to science itself, living systems are constantly weighing what they expect against what they observe.


Module Summary

  • Section 1: Perception, pain, movement, language, and even body ownership combine prior expectations with noisy sensory evidence, each weighted by its reliability.
  • Section 2: Learning is driven by prediction error, and memory is a stored posterior, whether in neurons, circadian clocks, or immune cells.
  • Section 3: Good decisions combine updated beliefs with the costs of different errors, from foraging and fleeing to choosing mates.
  • Section 4: Development depends on cells combining noisy molecular and mechanical signals, and fly embryos come remarkably close to optimal decoding.
  • Section 5: Population patterns, from coordinated cell sheets to habitat use and epidemics, can emerge from individual updating, and the simplest equation for natural selection has the same structure as Bayes’ theorem.
  • Section 6: Hallucinations, delusions, and chronic pain can be described as miscalibrated inference, and some features of autistic perception as a different balance of priors and evidence.
  • Section 7: Many standard tools in genomics and microbiome research already rely on Bayesian priors and partial pooling.
  • Section 8: Evolution favors systems that approximate optimal inference, which is why the same pattern shows up at every scale of life.

Key Terms

Bayesian brain hypothesis: The proposal that the brain performs perception, action, and cognition through something close to Bayesian inference.

Clonal selection: The process by which immune cells whose receptors bind a pathogen are selected to multiply, shifting the immune repertoire toward what fits the evidence.

Color constancy: The brain’s ability to infer an object’s true color despite changes in lighting, which requires assumptions (priors) about the light source.

Empirical Bayes shrinkage: Learning a prior from many related measurements (such as all genes in an experiment) and pulling each noisy estimate toward it.

Explore-exploit tradeoff: The choice between gathering new information (exploring) and acting on what you already know (exploiting).

Forward model: The brain’s prediction of the sensory consequences of its own movements.

Hierarchical model / partial pooling: A model in which estimates for related groups inform one another, with sparse groups borrowing more strength from the whole.

Ideal free distribution: The prediction that competing foragers will distribute themselves across resource patches so that each does about equally well.

Information cascade: A situation in which individuals rationally follow others’ choices instead of their own private information, so the group stops learning and can lock onto a wrong choice.

Marginal Value Theorem: An optimal foraging rule: leave a patch when your intake rate drops to the average rate available elsewhere.

Morphogen gradient: A concentration gradient of a signaling molecule that gives developing cells information about their position.

Positional information: Information a cell has about its location in a developing tissue, which can be measured in bits.

Prediction error: The difference between what was expected and what actually happened, and the signal that drives learning.

Reliability weighting: Combining sources of evidence in proportion to how precise each one is.

Replicator equation: An equation describing how the frequencies of competing types change under natural selection. In its simplest discrete form, it has the same structure as Bayes’ theorem.

Signal detection theory: A framework for decisions under uncertainty that considers hits, misses, false alarms, correct rejections, base rates, and the costs of each type of error.

Smoke detector principle: The idea that defenses should be set off easily when false alarms are cheap and misses are costly.


Reflection Questions

  1. Think of a time you misperceived something, such as a sound, a shape in the dark, or a word you misheard. What prior was your brain using?
  2. Pick an organism you study or teach about. What decision does it face under uncertainty, and what would the prior, evidence, and costs of each error be?
  3. Have you ever held onto a belief even as evidence piled up against it? In Bayesian terms, what made your prior so hard to move?
  4. Which example in this module caught your attention most? If you teach, how could you use it to introduce Bayes’ theorem in your course? If you’re a student, how would you explain it to a friend?
  5. Where in your own field might shared information (partial pooling) or a well-chosen prior help with a small or noisy dataset?

You’ve Finished BayesJump

Congratulations! You now understand:

✅ Why Bayesian methods answer the questions scientists actually ask
✅ The logic and mathematics of Bayes’ theorem
✅ How to think in distributions and update beliefs as evidence arrives
✅ How to run and interpret a Bayesian t-test
✅ Why Bayesian reasoning shows up at every scale of life

Where to go from here:

  • Practice: Run Bayesian analyses on your own data or teaching datasets in JASP.
  • Go further: For more flexible models, try the brms package in R or PyMC in Python. McElreath’s (2020) Statistical Rethinking is a friendly, thorough next step, written with scientists rather than statisticians in mind.
  • Teach: Start with the intuitive examples. Your students are already Bayesians; they just don’t know it yet.

And the next time you read a paper, ask what priors are shaping its conclusions. When you collect data, ask how much it should change your mind. Keep updating.


References

Adelson, E. H. (2000). Lightness perception and lightness illusions. In M. Gazzaniga (Ed.), The new cognitive neurosciences (2nd ed., pp. 339–351). MIT Press.

Armel, K. C., & Ramachandran, V. S. (2003). Projecting sensations to external objects: Evidence from skin conductance response. Proceedings of the Royal Society B: Biological Sciences, 270(1523), 1499–1506. https://doi.org/10.1098/rspb.2003.2364

Arnold, J. E., Tanenhaus, M. K., Altmann, R. J., & Fagnano, M. (2004). The old and thee, uh, new: Disfluency and reference resolution. Psychological Science, 15(9), 578–582.

Auconi, A., Novak, M., & Friedrich, B. M. (2022). Gradient sensing in Bayesian chemotaxis. EPL (Europhysics Letters), 138(1), 12001.

Bach-y-Rita, P., Collins, C. C., Saunders, F. A., White, B., & Scadden, L. (1969). Vision substitution by tactile image projection. Nature, 221(5184), 963–964.

Bach-y-Rita, P., & Kercel, S. W. (2003). Sensory substitution and the human–machine interface. Trends in Cognitive Sciences, 7(12), 541–546.

Barua, A., Beygi, A., & Hatzikirou, H. (2021). Close to optimal cell sensing ensures the robustness of tissue differentiation process: The avian photoreceptor mosaic case. Entropy, 23(7), 867.

Barua, A., & Hatzikirou, H. (2023). Cell decision making through the lens of Bayesian learning. Entropy, 25(4), 609. https://doi.org/10.3390/e25040609

Barua, A., Nava-Sedeño, J. M., Meyer-Hermann, M., & Hatzikirou, H. (2020). Entropy-driven cell decision-making predicts “fluid-to-solid” transition in multicellular systems. New Journal of Physics, 22(12), 123034.

Bayne, T., & Levy, N. (2005). Amputees by choice: Body integrity identity disorder and the ethics of amputation. Journal of Applied Philosophy, 22(1), 75–86. https://doi.org/10.1111/j.1468-5930.2005.00293.x

Beecher, H. K. (1946). Pain in men wounded in battle. Annals of Surgery, 123(1), 96–105.

Beecher, H. K. (1956). Relationship of significance of wound to pain experienced. JAMA, 161(17), 1609–1613.

Berg, H. C., & Brown, D. A. (1972). Chemotaxis in Escherichia coli analysed by three-dimensional tracking. Nature, 239(5374), 500–504.

Bergmann, S., Sandler, O., Sberro, H., Shnider, S., Schejter, E., Shilo, B.-Z., & Barkai, N. (2007). Pre-steady-state decoding of the Bicoid morphogen gradient. PLoS Biology, 5(2), e46.

Bever, T. G. (1970). The cognitive basis for linguistic structures. In J. R. Hayes (Ed.), Cognition and the development of language (pp. 279–362). Wiley.

Biernaskie, J. M., Walker, S. C., & Gegear, R. J. (2009). Bumblebees learn to forage like Bayesians. The American Naturalist, 174(3), 413–423.

Bikhchandani, S., Hirshleifer, D., & Welch, I. (1992). A theory of fads, fashion, custom, and cultural change as informational cascades. Journal of Political Economy, 100(5), 992–1026.

Botvinick, M., & Cohen, J. (1998). Rubber hands “feel” touch that eyes see. Nature, 391(6669), 756. https://doi.org/10.1038/35784

Bowsher, C. G., & Swain, P. S. (2014). Environmental sensing, information transfer, and cellular decision-making. Current Opinion in Biotechnology, 28, 149–155.

Brainard, D. H., & Hurlbert, A. C. (2015). Colour vision: Understanding #TheDress. Current Biology, 25(13), R551–R554.

Büchel, C., Geuter, S., Sprenger, C., & Eippert, F. (2014). Placebo analgesia: A predictive coding perspective. Neuron, 81(6), 1223–1239. https://doi.org/10.1016/j.neuron.2014.02.042

Burnet, F. M. (1957). A modification of Jerne’s theory of antibody production using the concept of clonal selection. Australian Journal of Science, 20, 67–69.

Butcher, D. T., Alliston, T., & Weaver, V. M. (2009). A tense situation: Forcing tumour progression. Nature Reviews Cancer, 9(2), 108–122.

Canzoneri, E., Ubaldi, S., Rastelli, V., Finisguerra, A., Bassolino, M., & Serino, A. (2013). Tool-use reshapes the boundaries of body and peripersonal space representations. Experimental Brain Research, 228, 25–42. https://doi.org/10.1007/s00221-013-3532-2

Cardinali, L., Frassinetti, F., Brozzoli, C., Urquizar, C., Roy, A. C., & Farnè, A. (2009). Tool-use induces morphological updating of the body schema. Current Biology, 19(12), R478–R479. https://doi.org/10.1016/j.cub.2009.05.009

Centola, D. (2010). The spread of behavior in an online social network experiment. Science, 329(5996), 1194–1197.

Chapman, S. (1968). Catching a baseball. American Journal of Physics, 36(10), 868–870.

Charnov, E. L. (1976). Optimal foraging, the marginal value theorem. Theoretical Population Biology, 9(2), 129–136.

Clark, A. (2013). Whatever next? Predictive brains, situated agents, and the future of cognitive science. Behavioral and Brain Sciences, 36(3), 181–204.

Clark, A. (2016). Surfing uncertainty: Prediction, action, and the embodied mind. Oxford University Press.

Clark, H. H., & Fox Tree, J. E. (2002). Using uh and um in spontaneous speaking. Cognition, 84(1), 73–111.

Clayards, M., Tanenhaus, M. K., Aslin, R. N., & Jacobs, R. A. (2008). Perception of speech reflects optimal use of probabilistic speech cues. Cognition, 108(3), 804–809.

Cohen, J. D., McClure, S. M., & Yu, A. J. (2007). Should I stay or should I go? How the human brain manages the trade-off between exploitation and exploration. Philosophical Transactions of the Royal Society B: Biological Sciences, 362(1481), 933–942.

Corlett, P. R., & Fletcher, P. C. (2015). Delusions and prediction error: Clarifying the roles of behavioural and brain responses. Cognitive Neuropsychiatry, 20(2), 95–105. https://doi.org/10.1080/13546805.2014.990625

Corlett, P. R., Horga, G., Fletcher, P. C., Alderson-Day, B., Schmack, K., & Powers, A. R. (2019). Hallucinations and strong priors. Trends in Cognitive Sciences, 23(2), 114–127.

Courville, A. C., Daw, N. D., & Touretzky, D. S. (2006). Bayesian theories of conditioning in a changing world. Trends in Cognitive Sciences, 10(7), 294–300.

Czeisler, C. A., & Gooley, J. J. (2007). Sleep and circadian rhythms in humans. Cold Spring Harbor Symposia on Quantitative Biology, 72, 579–597.

Dehning, J., Zierenberg, J., Spitzner, F. P., Wibral, M., Pinheiro Neto, J., Wilczek, M., & Priesemann, V. (2020). Inferring change points in the spread of COVID-19 reveals the effectiveness of interventions. Science, 369(6500), eabb9789.

Dima, D., Roiser, J. P., Dietrich, D. E., Bonnemann, C., Lanfermann, H., Emrich, H. M., & Dillo, W. (2009). Understanding why patients with schizophrenia do not perceive the hollow-mask illusion using dynamic causal modelling. NeuroImage, 46(4), 1180–1186. https://doi.org/10.1016/j.neuroimage.2009.03.033

Discher, D. E., Janmey, P., & Wang, Y.-L. (2005). Tissue cells feel and respond to the stiffness of their substrate. Science, 310(5751), 1139–1143.

Dubuis, J. O., Tkačik, G., Wieschaus, E. F., Gregor, T., & Bialek, W. (2013). Positional information, in bits. Proceedings of the National Academy of Sciences, 110(41), 16301–16308.

Dugatkin, L. A. (1992). Sexual selection and imitation: Females copy the mate choice of others. The American Naturalist, 139(6), 1384–1389.

Dugatkin, L. A., & Godin, J.-G. J. (1992). Reversal of female mate choice by copying in the guppy (Poecilia reticulata). Proceedings of the Royal Society B: Biological Sciences, 249(1325), 179–184. https://doi.org/10.1098/rspb.1992.0101

Ehrsson, H. H. (2007). The experimental induction of out-of-body experiences. Science, 317(5841), 1048. https://doi.org/10.1126/science.1142175

Eldar, A., & Elowitz, M. B. (2010). Functional roles for noise in genetic circuits. Nature, 467(7312), 167–173.

Ellis, H. D., & Young, A. W. (1990). Accounting for delusional misidentifications. British Journal of Psychiatry, 157(2), 239–248.

Engler, A. J., Sen, S., Sweeney, H. L., & Discher, D. E. (2006). Matrix elasticity directs stem cell lineage specification. Cell, 126(4), 677–689.

Ernst, M. O., & Banks, M. S. (2002). Humans integrate visual and haptic information in a statistically optimal fashion. Nature, 415(6870), 429–433.

Fink, P. W., Foo, P. S., & Warren, W. H. (2009). Catching fly balls in virtual reality: A critical test of the outfielder problem. Journal of Vision, 9(13), 14.

Flaxman, S., Mishra, S., Gandy, A., Unwin, H. J. T., Mellan, T. A., Coupland, H., Whittaker, C., Zhu, H., Berah, T., Eaton, J. W., Monod, M., Ghani, A. C., Donnelly, C. A., Riley, S., Vollmer, M. A. C., Ferguson, N. M., Okell, L. C., & Bhatt, S. (2020). Estimating the effects of non-pharmaceutical interventions on COVID-19 in Europe. Nature, 584(7820), 257–261.

Fletcher, P. C., & Frith, C. D. (2009). Perceiving is believing: A Bayesian approach to explaining the positive symptoms of schizophrenia. Nature Reviews Neuroscience, 10(1), 48–58.

Frank, S. A. (2012). Natural selection. V. How to read the fundamental equations of evolutionary change in terms of information theory. Journal of Evolutionary Biology, 25(12), 2377–2396.

Fretwell, S. D., & Lucas, H. L. (1969). On territorial behavior and other factors influencing habitat distribution in birds. Acta Biotheoretica, 19(1), 16–36.

Friedman, N., Linial, M., Nachman, I., & Pe’er, D. (2000). Using Bayesian networks to analyze expression data. Journal of Computational Biology, 7(3–4), 601–620.

Gal, Y., & Ghahramani, Z. (2016). Dropout as a Bayesian approximation: Representing model uncertainty in deep learning. Proceedings of the 33rd International Conference on Machine Learning, 48, 1050–1059.

Gershman, S. J. (2015). A unifying probabilistic view of associative learning. PLoS Computational Biology, 11(11), e1004567.

Ghahramani, Z. (2015). Probabilistic machine learning and artificial intelligence. Nature, 521(7553), 452–459.

Gligorijević, V., & Pržulj, N. (2015). Methods for biological data integration: Perspectives and challenges. Journal of the Royal Society Interface, 12(112), 20150571.

Granovetter, M. (1978). Threshold models of collective behavior. American Journal of Sociology, 83(6), 1420–1443.

Green, D. M., & Swets, J. A. (1966). Signal detection theory and psychophysics. Wiley.

Gregory, R. L. (1997). Knowledge in perception and illusion. Philosophical Transactions of the Royal Society B: Biological Sciences, 352(1358), 1121–1127.

Happé, F. G. (1996). Studying weak central coherence at low levels: Children with autism do not succumb to visual illusions. A research note. Journal of Child Psychology and Psychiatry, 37(7), 873–877. https://doi.org/10.1111/j.1469-7610.1996.tb01483.x

Happé, F., & Frith, U. (2006). The weak coherence account: Detail-focused cognitive style in autism spectrum disorders. Journal of Autism and Developmental Disorders, 36(1), 5–25.

Harper, D. G. C. (1982). Competitive foraging in mallards: “Ideal free” ducks. Animal Behaviour, 30(2), 575–584.

Harper, M. (2009). The replicator equation as an inference dynamic (arXiv:0911.1763). arXiv. https://arxiv.org/abs/0911.1763

Hatzikirou, H. (2018). Statistical mechanics of cell decision-making: The cell migration force distribution. Journal of the Mechanical Behavior of Materials, 27(1–2), 20180001.

Hayden, B. Y., Pearson, J. M., & Platt, M. L. (2011). Neuronal basis of sequential foraging decisions in a patchy environment. Nature Neuroscience, 14(7), 933–939.

Hohwy, J. (2013). The predictive mind. Oxford University Press.

Hollis, K. L. (1984). The biological function of Pavlovian conditioning: The best defense is a good offense. Journal of Experimental Psychology: Animal Behavior Processes, 10(4), 413–425.

Hollis, K. L., Cadieux, E. L., & Colbert, M. M. (1989). The biological function of Pavlovian conditioning: A mechanism for mating success in the blue gourami (Trichogaster trichopterus). Journal of Comparative Psychology, 103(2), 115–121.

Hollis, K. L., Pharr, V. L., Dumas, M. J., Britton, G. B., & Field, J. (1997). Classical conditioning provides paternity advantage for territorial male blue gouramis (Trichogaster trichopterus). Journal of Comparative Psychology, 111(3), 219–225.

Ioannidis, J. P. A., Cripps, S., & Tanner, M. A. (2022). Forecasting for COVID-19 has failed. International Journal of Forecasting, 38(2), 423–438.

Jonason, P. K., Li, N. P., Webster, G. D., & Schmitt, D. P. (2009). The dark triad: Facilitating a short-term mating strategy in men. European Journal of Personality, 23(1), 5–18.

Kacelnik, A. (1984). Central place foraging in starlings (Sturnus vulgaris). I. Patch residence time. Journal of Animal Ecology, 53(1), 283–299.

Kalman, R. E. (1960). A new approach to linear filtering and prediction problems. Journal of Basic Engineering, 82(1), 35–45.

Kamin, L. J. (1969). Predictability, surprise, attention, and conditioning. In B. A. Campbell & R. M. Church (Eds.), Punishment and aversive behavior (pp. 279–296). Appleton-Century-Crofts.

Kersten, D., Mamassian, P., & Yuille, A. (2004). Object perception as Bayesian inference. Annual Review of Psychology, 55, 271–304.

Körding, K. P., & Wolpert, D. M. (2004). Bayesian integration in sensorimotor learning. Nature, 427(6971), 244–247.

Kupers, R., & Ptito, M. (2014). Compensatory plasticity and cross-modal reorganization following early visual deprivation. Neuroscience & Biobehavioral Reviews, 41, 36–52.

Lafer-Sousa, R., Hermann, K. L., & Conway, B. R. (2015). Striking individual differences in color perception uncovered by “the dress” photograph. Current Biology, 25(13), R545–R546.

Lawson, R. P., Rees, G., & Friston, K. J. (2014). An aberrant precision account of autism. Frontiers in Human Neuroscience, 8, 302.

Louw, A., Zimney, K., Puentedura, E. J., & Diener, I. (2016). The efficacy of pain neuroscience education on musculoskeletal pain: A systematic review of the literature. Physiotherapy Theory and Practice, 32(5), 332–355.

Love, M. I., Huber, W., & Anders, S. (2014). Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biology, 15(12), 550.

Lynn, S. K., & Barrett, L. F. (2014). “Utilizing” signal detection theory. Psychological Science, 25(9), 1663–1673.

MacKay, D. J. C. (2003). Information theory, inference, and learning algorithms. Cambridge University Press.

Mashour, G. A., Roelfsema, P., Changeux, J.-P., & Dehaene, S. (2020). Conscious processing and the global neuronal workspace hypothesis. Neuron, 105(5), 776–798.

Mattingly, H. H., Kamino, K., Machta, B. B., & Emonet, T. (2021). Escherichia coli chemotaxis is information limited. Nature Physics, 17(12), 1426–1431.

Mayer, A., Balasubramanian, V., Walczak, A. M., & Mora, T. (2019). How a well-adapting immune system remembers. Proceedings of the National Academy of Sciences, 116(18), 8815–8823. https://doi.org/10.1073/pnas.1812810116

McBeath, M. K., Shaffer, D. M., & Kaiser, M. K. (1995). How baseball outfielders determine where to run to catch fly balls. Science, 268(5210), 569–573.

McElreath, R. (2020). Statistical rethinking: A Bayesian course with examples in R and Stan (2nd ed.). CRC Press.

McGurk, H., & MacDonald, J. (1976). Hearing lips and seeing voices. Nature, 264(5588), 746–748.

Moseley, G. L., & Butler, D. S. (2015). Fifteen years of explaining pain: The past, present, and future. The Journal of Pain, 16(9), 807–813.

Müller, S. (2009). Body integrity identity disorder (BIID): Is the amputation of healthy limbs ethically justified? The American Journal of Bioethics, 9(1), 36–43. https://doi.org/10.1080/15265160802588194

Nesse, R. M. (2005). Natural selection and the regulation of defenses: A signal detection analysis of the smoke detector principle. Evolution and Human Behavior, 26(1), 88–105.

Ongaro, G., & Kaptchuk, T. J. (2019). Symptom perception, placebo effects, and the Bayesian brain. Pain, 160(1), 1–4. https://doi.org/10.1097/j.pain.0000000000001367

Pavlov, I. P. (1927). Conditioned reflexes: An investigation of the physiological activity of the cerebral cortex (G. V. Anrep, Trans.). Oxford University Press.

Pellicano, E., & Burr, D. (2012). When the world becomes “too real”: A Bayesian explanation of autistic perception. Trends in Cognitive Sciences, 16(10), 504–510.

Pellicano, E., Jeffery, L., Burr, D., & Rhodes, G. (2007). Abnormal adaptive face-coding mechanisms in children with autism spectrum disorder. Current Biology, 17(17), 1508–1512. https://doi.org/10.1016/j.cub.2007.07.065

Perkins, T. J., & Swain, P. S. (2009). Strategies for cellular decision-making. Molecular Systems Biology, 5, 326.

Petkova, M. D., Tkačik, G., Bialek, W., Wieschaus, E. F., & Gregor, T. (2019). Optimal decoding of cellular identities in a genetic network. Cell, 176(4), 844–855. https://doi.org/10.1016/j.cell.2019.01.007

Petrie, M., Halliday, T., & Sanders, C. (1991). Peahens prefer peacocks with elaborate trains. Animal Behaviour, 41(2), 323–331.

Powers, A. R., Mathys, C., & Corlett, P. R. (2017). Pavlovian conditioning–induced hallucinations result from overweighting of perceptual priors. Science, 357(6351), 596–600.

Ramachandran, V. S., & Rogers-Ramachandran, D. (1996). Synaesthesia in phantom limbs induced with mirrors. Proceedings of the Royal Society of London. Series B: Biological Sciences, 263(1369), 377–386. https://doi.org/10.1098/rspb.1996.0058

Rescorla, R. A., & Wagner, A. R. (1972). A theory of Pavlovian conditioning: Variations in the effectiveness of reinforcement and nonreinforcement. In A. H. Black & W. F. Prokasy (Eds.), Classical conditioning II: Current research and theory (pp. 64–99). Appleton-Century-Crofts.

Roenneberg, T., & Merrow, M. (2016). The circadian clock and human health. Current Biology, 26(10), R432–R443.

Rogers, E. M. (2003). Diffusion of innovations (5th ed.). Free Press.

Samad, M., Chung, A. J., & Shams, L. (2015). Perception of body ownership is driven by Bayesian sensory inference. PLoS ONE, 10(2), e0117178. https://doi.org/10.1371/journal.pone.0117178

Schultz, W., Dayan, P., & Montague, P. R. (1997). A neural substrate of prediction and reward. Science, 275(5306), 1593–1599.

Seth, A. (2021). Being you: A new science of consciousness. Dutton.

Shadmehr, R., Smith, M. A., & Krakauer, J. W. (2010). Error correction, sensory prediction, and adaptation in motor control. Annual Review of Neuroscience, 33, 89–108.

Shaffer, D. M., Krauchunas, S. M., Eddy, M., & McBeath, M. K. (2004). How dogs navigate to catch Frisbees. Psychological Science, 15(7), 437–441.

Shalek, A. K., Satija, R., Adiconis, X., Gertner, R. S., Gaublomme, J. T., Raychowdhury, R., Schwartz, S., Yosef, N., Malboeuf, C., Lu, D., Trombetta, J. J., Gennert, D., Gnirke, A., Goren, A., Hacohen, N., Levin, J. Z., Park, H., & Regev, A. (2013). Single-cell transcriptomics reveals bimodality in expression and splicing in immune cells. Nature, 498(7453), 236–240.

Silverman, J. D., Washburne, A. D., Mukherjee, S., & David, L. A. (2017). A phylogenetic transform enhances analysis of compositional microbiota data. eLife, 6, e21887.

Smyth, G. K. (2004). Linear models and empirical Bayes methods for assessing differential expression in microarray experiments. Statistical Applications in Genetics and Molecular Biology, 3(1), Article 3.

Stankowich, T., & Blumstein, D. T. (2005). Fear in animals: A meta-analysis and review of risk assessment. Proceedings of the Royal Society B: Biological Sciences, 272(1581), 2627–2634. https://doi.org/10.1098/rspb.2005.3251

Stephens, M. (2017). False discovery rates: A new deal. Biostatistics, 18(2), 275–294.

Sterzer, P., Adams, R. A., Fletcher, P., Frith, C., Lawrie, S. M., Muckli, L., Petrovic, P., Uhlhaas, P., Voss, M., & Corlett, P. R. (2018). The predictive coding account of psychosis. Biological Psychiatry, 84(9), 634–643. https://doi.org/10.1016/j.biopsych.2018.05.015

Takahashi, M., Arita, H., Hiraiwa-Hasegawa, M., & Hasegawa, T. (2008). Peahens do not prefer peacocks with more elaborate trains. Animal Behaviour, 75(4), 1209–1219.

Teufel, C., Subramaniam, N., Dobler, V., Perez, J., Finnemann, J., Mehta, P. R., Goodyer, I. M., & Fletcher, P. C. (2015). Shift toward prior knowledge confers a perceptual advantage in early psychosis and psychosis-prone healthy individuals. Proceedings of the National Academy of Sciences, 112(43), 13401–13406. https://doi.org/10.1073/pnas.1503916112

Tregenza, T. (1995). Building on the ideal free distribution. Advances in Ecological Research, 26, 253–307.

Tsakiris, M. (2010). My body in the brain: A neurocognitive model of body-ownership. Neuropsychologia, 48(3), 703–712.

Usichenko, T. I., Pavlovic, D., Foellner, S., & Wendt, M. (2004). Reducing venipuncture pain by a cough trick: A randomized crossover volunteer study. Anesthesia & Analgesia, 98(2), 343–345. https://doi.org/10.1213/01.ANE.0000094983.16741.AF

Valone, T. J. (2006). Are animals capable of Bayesian updating? An empirical review. Oikos, 112(2), 252–259.

van der Hoort, B., Guterstam, A., & Ehrsson, H. H. (2011). Being Barbie: The size of one’s own body determines the perceived size of the world. PLoS ONE, 6(5), e20195. https://doi.org/10.1371/journal.pone.0020195

van Dijk, M. T., van Wingen, G. A., van Lammeren, A., Blom, R. M., de Kwaasteniet, B. P., Scholte, H. S., & Denys, D. (2013). Neural basis of limb ownership in individuals with body integrity identity disorder. PLoS ONE, 8(8), e72212. https://doi.org/10.1371/journal.pone.0072212

Victora, G. D., & Nussenzweig, M. C. (2012). Germinal centers. Annual Review of Immunology, 30, 429–457.

Wager, T. D., Rilling, J. K., Smith, E. E., Sokolik, A., Casey, K. L., Davidson, R. J., Kosslyn, S. M., Rose, R. M., & Cohen, J. D. (2004). Placebo-induced changes in fMRI in the anticipation and experience of pain. Science, 303(5661), 1162–1167.

Warren, R. M. (1970). Perceptual restoration of missing speech sounds. Science, 167(3917), 392–393.

Watson, R. A., & Szathmáry, E. (2016). How can evolution learn? Trends in Ecology & Evolution, 31(2), 147–157.

Wehner, R. (2003). Desert ant navigation: How miniature brains solve complex tasks. Journal of Comparative Physiology A, 189(8), 579–588.

Wiech, K. (2016). Deconstructing the sensation of pain: The influence of cognitive processes on pain perception. Science, 354(6312), 584–587.

Wolpert, D. M., & Ghahramani, Z. (2000). Computational principles of movement neuroscience. Nature Neuroscience, 3(Suppl.), 1212–1217.

Wolpert, L. (1969). Positional information and the spatial pattern of cellular differentiation. Journal of Theoretical Biology, 25(1), 1–47.

Wystrach, A., Mangan, M., & Webb, B. (2015). Optimal cue integration in ants. Proceedings of the Royal Society B: Biological Sciences, 282(1816), 20151484. https://doi.org/10.1098/rspb.2015.1484

Zahavi, A. (1975). Mate selection: A selection for a handicap. Journal of Theoretical Biology, 53(1), 205–214.

↑