This file indicates what each of the programs does.

1- "DNM_example.R": fits a restricted version of the DNM to data generated from a vanilla SDT model. 

2-"example_average.R": provides an example with the averaging model 

3-5) "averaging_model.R", "summation_model.R", and "OR_model.R": code to fit and compare the different models in Benjamin et al. (2009).

6) "LikRatioExample.R": generates the expected frequencies for the averaging model with likelihood ratio criteria, and fits it with different versions of the averaging model.

7) "separate_task_fit.R": fits the ranking and rating data, separately or together, with a vanilla SDT model.

8-9)"DNM.R" and "LCJr.R": fit the DNM and LCJ models to the ranking and rating data. The DNM.R can take around an hour or so to fit all the individuals

10) "bootstrap_DNM.R": the parametric bootstrap used to get the weights for the DNM
 
11) "DNM_parameter_test.R": tests the DNM vs. SDT.

12-15) "power_averaging.R","power_summation.R", "power_DNM.R", and "power_LCJr.R": simulate data from these models based on the expected proportions, and fits it back with the model and its version without criterion noise.
Note that you will have to run the files for each cell and change the value for criterion noise accordingly.