Examples#
Worked examples of cpm applied to research questions. Each example is self-contained, but assumes you know the basics from the Tutorials.
Associative learning
Blocking with Bush–Mosteller and Rescorla–Wagner
Why does a cue learned in compound with a pretrained cue gain so little strength? Two classic learning rules give different answers.
Associative learning
Fitting causal ratings in a blocking experiment
Fit both learning rules to the ratings of a human blocking experiment, and recreate the finding of Spicer et al. (2021) that novel cues need an intermediate starting strength.
Reinforcement learning
Model-based and model-free control in the two-step task
Simulate model-based and model-free agents, recover their parameters, and replicate the adult data of Smid et al. (2022).
Metacognition
Metacognitive efficiency with meta-d′
Estimate how well confidence ratings track the accuracy of perceptual decisions.