Computes log likelihood for DPSD model
dpsdLogLike(R,NN,NS,I,JN,JS,K,dat,cond,Scond,sub,item,lag,blockN,blockS,blockR,crit)
The function returns the log likelihood.
Total number of trials.
Number of new-item conditions.
Number of studied-item conditions.
Number of subjects.
Number of items in new condition.
Number of items in studied condition.
Number of response options.
Vector of responses, ranging from 0:(K-1).
Vector of condition index.
Vector of new-studied condition index; 0=new, 1=studied.
Vector of subject index, starting at 0 with no missing subject numbers.
Vector of item index, starting at 0 with no missing item numbers.
Vector of lag index.
Block of parameters for new-item means.
Block of parameters for studied-item means.
Block of parameters for recollection values.
VECTOR of criteria including -Inf and Inf for top and bottom critieria, respectively. Vector contains the (K+1) criteria for the first subjects, followed by those for the second subject, etc.
Michael S. Pratte
See Pratte, Rouder, & Morey (2009)
hbmem