View source: R/calcHitFaRates.R
calcHitFaRates | R Documentation |
This function calculates hit and false alarm rates to be used by dPrime and responseBias. The default it to apply log-linear transformed percentage values.
calcHitFaRates(
oldRating,
ratings,
oldNew,
oldNewLevels = c(0, 1),
transformation = TRUE
)
oldRating |
Values corresponding to 'old' responses. |
ratings |
A vector containing all responses. |
oldNew |
An vector containing whether an item was new/not-studied or old/studied. |
oldNewLevels |
An vector containing possible levels of old_newInformation. The first value or level is for new/not-studied items and the second value is for old/studied items. Defaults to c(0,1). |
transformation |
Logical indicating to choose a log-linear transformation following Snodgrass & Corwin (1988). Default is TRUE. |
The function returns a data frame with hitRate and falseAlarm_rate.
Joern Alexander Quent, alexander.quent@rub.de
Snodgrass, J. G., & Corwin, J. (1988). Pragmatics of measuring recognition memory: Applications to dementia and amnesia. Journal of Experimental Psychology: General, 117(1), 34–50. https://doi.org/10.1037/0096-3445.117.1.34
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.