dprime: D prime

View source: R/dprime.R

dprimeR Documentation

D prime

Description

Computes the d' sensitivity measure of the signal detection theory

Usage

dprime(hit,fa,design="yes.no")

Arguments

hit

hit rates

fa

false alarm rates

Details

Return a vector containing d' values for each hit and fa rate pairs.

The optional argument "design" can take 4 values: "yes.no" (default), "forced.choice", "same.different.ind.obs", "same.different.diff", refering to the different SDT models descirbe in MacMillan and Creelman (1991).

Note

Reference: MacMillan and Creelman (1991) Signal Detection Theory: a user guide. Cambridge University Press

See Also

beta,aprime,bppd.

Examples

dprime(.8,.2)
dprime(.7,.1)
dprime(.7,.1,design="forced.choice")
dprime(.7,.1,design="same.diff.ind.obs")
dprime(.7,.1,design="same.diff.diff")

chrplr/dprime documentation built on June 15, 2022, 11:59 a.m.