dpsdProbs: Function dpsdProbs

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/dpsd.R

Description

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

Usage

1
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 trials, respectively.

crit

Criteria (not including -Inf or Inf).

Details

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

Value

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

Author(s)

Michael S. Pratte

References

See Pratte, Rouder, & Morey (2009)

See Also

hbmem

Examples

1
2
3
4
5
6
7
#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

hbmem documentation built on April 7, 2018, 1:03 a.m.