Learn R Programming

neuropsychology (version 0.3.0)

dprime: Calculates Signal Detection Theory indices.

Description

Calculates the d', the beta, the a' and the b''d based on the signal detection theory (SRT).

Usage

dprime(n_hit, n_miss, n_fa, n_cr)

Arguments

n_hit
Number of hits.
n_miss
Number of misses.
n_fa
Number of false alarms.
n_cr
Number of correct rejections.

Details

Adjustement made for extreme values following (Hautus, 1995).

Examples

Run this code
n_hit <- 9
n_fa <- 1
n_fa <- 2
n_cr <- 7

indices <- dprime(n_hit, n_fa, n_fa, n_cr)

Run the code above in your browser using DataLab