Learn R Programming

hbmem (version 0.2)

dpsdProbs: Function dpsdProbs

Description

Returns the probability of making confidence ratings given parameters of DPSD.

Usage

dpsdProbs(r,d,crit)

Arguments

r
Probability of recollection.
d
Mean of the signal-detection distribution. In the common parameterization of the model, this would be zero for new-item trials, and d' for studied-item trials. In the PRM09 parameterization, these are dn and ds for new and studied-item t
crit
Criteria (not including -Inf or Inf).

Value

  • The function returns the probability of making each response for the paramters given.

Details

For new-item trials, simply set r=0.

References

See Pratte, Rouder, & Morey (2009)

See Also

hbmem

Examples

Run this code
#Low r
dpsdProbs(.2,1,c(-1,-.5,0,.5,1))  #studied
dpsdProbs(0,-1,c(-1,-.5,0,.5,1)) #new

#High r
dpsdProbs(.6,1,c(-1,-.5,0,.5,1))  #studied
dpsdProbs(0,-1,c(-1,-.5,0,.5,1)) #new

Run the code above in your browser using DataLab