ch.getDprimeVariance: A function to get the variance from a d prime

ch.getDprimeVarianceR Documentation

A function to get the variance from a d prime

Description

This function computes the variance of a d prime using Miller (1996). Miller, J. (1996). The sampling distribution of d’. Perception & Psychophysics, 58, 65-72. much of the code taken from Suero, M., Privado, J., & Botella, J. (2017). Methods to estimate the variance of some indices of the signal detection theory: A simulation study. Psicológica, 38(1).

Usage

ch.getDprimeVariance(NtargetPresent, NtargetAbsent, probFA, probHit)

Arguments

NtargetPresent

the number of target present trials.

NtargetAbsent

the number of target absent trials.

probFA

the proportion of False Alarms.

probHit

the proportions of Hits.

Value

the variance of the dPrime. Take the square root to get the SD.

Examples

ch.getDprimeVariance (100,100, .2, .7)

ccpluncw/ccpl_R_chutils documentation built on Feb. 28, 2024, 1:17 a.m.