sensitivity | R Documentation |
Computes the sensitivity measure of the signal detection theory
sensitivity(hit,fa,type="yes.no")
hit |
hit rates |
fa |
false alarm rates |
Return a vector containing d' values for each hit and fa rate pairs.
The optional argument "design" can take one of the following values: "yes.no" (default), "2AFC" (2 alternative forced-choice), "same.different.fixed", "same.different.roving", "ABX.fixed", "ABX.roving", "reminder.fixed", "reminder.roving", "aprime", refering to the different SDT models described in Macmillan and Creelman (1991).
Reference: MacMillan and Creelman (1991) Signal Detection Theory: a user guide. Cambridge University Press
bias
.
sensitivity(.8,.2) # return d' for a Yes.No experiment sensitivity(.8,.2,type="aprime") # return A' sensitivity(.7,.1) sensitivity(.7,.1,type="2AFC") sensitivity(.7,.1,type="same.diff.ind.obs") sensitivity(.7,.1,type="same.diff")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.