City Research Online

An extension of the Rescorla and Wagner Simulator for context conditioning

Mondragon, E. ORCID: 0000-0003-4180-1261, Alonso, E., Fernandez, A. & Gray, J. (2013). An extension of the Rescorla and Wagner Simulator for context conditioning. Computer Methods and Programs in Biomedicine, 110(2), pp. 226-230. doi: 10.1016/j.cmpb.2013.01.016


This paper introduces R&W Simulator version 4, which extends previous work by incorporating context simulation within standard Pavlovian designs. This addition allows the assessment of: (1) context–stimulus competition, by treating contextual cues as ordinary background stimuli present throughout the whole experimental session; (2) summation, by computing compound stimuli with contextual cues as an integrating feature, with and without the addition of specific configural cues; and (3) contingency effects in causal learning. These new functionalities broaden the range of experimental designs that the simulator is able to replicate, such as some recovery from extinction phenomena (e.g., renewal effects). In addition, the new version permits specifying probe trials among standard trials and extracting their values.

Publication Type: Article
Additional Information: NOTICE: this is the author’s version of a work that was accepted for publication in Computer Methods and Programs in Biomedicine. Changes resulting from the publishing process, such as peer review, editing, corrections, structural formatting, and other quality control mechanisms may not be reflected in this document. Changes may have been made to this work since it was submitted for publication. A definitive version was subsequently published in Computer Methods and Programs in Biomedicine, Volume 110, Issue 2, May 2013, Pages 226–230,
Publisher Keywords: Rescorla and Wagner model; error prediction learning; context conditioning; compound stimuli; configural cues; open-source simulator
Subjects: B Philosophy. Psychology. Religion > BF Psychology
Q Science > QA Mathematics > QA75 Electronic computers. Computer science
Departments: School of Science & Technology > Computer Science
Related URLs:
SWORD Depositor:
[thumbnail of RW2-RCO.pdf]
PDF - Accepted Version
Download (266kB) | Preview


Add to AnyAdd to TwitterAdd to FacebookAdd to LinkedinAdd to PinterestAdd to Email


Downloads per month over past year

View more statistics

Actions (login required)

Admin Login Admin Login