ch.ZtestDprimeEqualZero | R Documentation |
This function tests whether a dPrime is significantly Greater than/different from Zero. It calculates variance using: Miller, J. (1996). The sampling distribution of d’. Perception & Psychophysics, 58, 65-72.
ch.ZtestDprimeEqualZero(
NtargetPresent,
NtargetAbsent,
probFA,
probHit,
oneTailed = TRUE
)
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. |
oneTailed |
a boolean specifying whether the test is one tailed. DEFAULT = TRUE (because we assume that dPrimes are bounded by Zero on the low end). |
a vector containing the z value (zVal) and the p value (p val) of the test.
ch.ZtestDprimeEqualZero (100,100, .2, .7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.