Computational Modeling in Cognition: Principles and Practice

by Stephan Lewandowsky and Simon Farrell

Book availability

The book started shipping in early December 2010 and is now available from Amazon or directly from the publisher, SAGE Publications, Inc., and other good bookstores near you.

MATLAB Programming code

All programming examples used in the book are available in a single zip archive here. The commenting of the programs is quite sparse because the listings are explained in the book; we do not advise that you download the programs without having access to a copy of the book.

now available

All numbered Listings in the book have been converted from MATLAB into the R programming language. The complete zip archive of R scripts can be downloaded here

Illustrations, useful tools, and background reading

A web-based animation of the "simulated annealing" algorithm mentioned in Chapter 3 has been kindly provided by Dr. Rob Goldstone. You can explore annealing via the Ball Dropper problem or the Path Finder algorithm. Both are highly visual and illustrate the concepts discussed in Chapter 3.

The book assumes that readers have at least a passing familiarity with MATLAB or are able to acquire that familiarity from other sources. Numerous sources exist, and we recommend The Matlab 5 Handbook or MATLAB for Behavioral Scientists. Let us know if you can recommend other sources that should be included in this list.

Summary table of models in the field

The book concludes with a table that summarizes current models in the field. This table is available here and is constantly being updated as new models become available and as the field evolves.
(Last update: 31 March 2011)


Notwithstanding  multiple passes through the book and careful proof-reading, the occurrence of glitches in 400 pages of text is nearly unavoidable. Those will be corrected during future print runs (or editions), and until then this document will be continually updated as typographical errors are being uncovered. Contact the authors to alert us to further glitches.