It just got a lot easier to simulate the performance of simple heuristics. The post Heuristica: An R package for testing models of binary choice appeared first
Here’s the heuristica package’s home on CRAN and here’s a description of the package in the authors’ own words: The heuristica R package implements heuristic decision models, such as Take The Best (TTB) and a unit-weighted linear model. The models are designed for two-alternative choice tasks, such as which of two schools has a higher drop-out rate. The package also wraps more well-known models like regression and logistic regression into the two-alternative choice framework so all these models can be assessed side-by-side. It provides functions to measure accuracy, such as an overall percentCorrect and, for advanced users, some confusion matrix functions. These measures can be applied in-sample or out-of-sample. The goal is to make it easy to explore the range of conditions in which simple heuristics are better than more complex models. Optimizing is not always better!