This folder contains the implementation of the INST model in the following publication:

Petrov, A.  (2010). Category rating is based on prototypes and not instances: 
  Evidence from feedback-dependent context effects. 
  Journal of Experimental Psychology: Human Perception and Performance, ?, ??-??.   
PDF preprint available at http://alexpetrov.com/pub/jephpp10/

INST (aka "protoanchor") is an instance-based variant of the ANCHOR model (Petrov & Anderson, 2005).
The source code for the ANCHOR model is available on-line at http://alexpetrov.com/softw/anchor/

No documentation is available for INST (sorry), but each Matlab function has very useful comments
at the top.  Coupled with the ANCHOR documentation, this should give you a sense of what's going on.

The model fits to Experiment 1 and the model predictions are included under the ../fdbk1/ 
folder here.  See fdbk1/Exp1_readme.txt for details.

The data for Experiment 2 are available here in ../CRFeedback2/
Note that no effort was made to fit INST (or ANCHOR) to these latter data.

Note: The Matlab scripts depend on various utilities and on the whole infrastructure available
on Alex Petrov's office computer.  No effort has been made here to track all dependencies and
include them in this distribution. Thus, they will *not* work by themselves. An (old) version 
of the most important utilities is available on-line at http://alexpetrov.com/softw/   
The version of the ANCHOR model for the Psych Review paper (Petrov & Anderson, 2005) is available
at http://alexpetrov.com/proj/anchor/
If you download and install utils and anchor, together with the scripts provided in this archive,
you do have a fighting chance of getting everything to work.  However, this is hardly the point.
The point is to get a feeling of what was done in the JEP:HPP paper and make the experimental 
data available for your own explorations.  Let me know if I can be of further help.

Good luck!

-- Alex Petrov  2010-07-26


DISCLAIMER ***************************************************************************
The MATLAB scripts are made available in the hope that they may be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License and
the Free Software Foundation website (http://www.fsf.org) for more details.
