The code and data are under Files
RWpredictions.txt is the data (from Harmon & Kapatsinski, 2021, Psychological Review)
InformativitySimulation.Rmd has the simulation code for the analyses and figures in the paper
InformativityWorkedExample.Rmd removes the part where we add varying amounts of noise to corpus probabilities to simulate mismatch with speaker probabilities. As shown in the paper, this noise does not increase the bias in informativity estimates