dprime_table | R Documentation |
This function provides a summary table with the following quantities:
no. correct trials (correct
), total number of trials
(total
), the
protocol (protocol
), probability of a correct answer
(pHat
), standard
error of pHat (se.pHat
), d-prime (dprime
), and standard
error of d-prime (se.dprime
).
dprime_table(correct, total, protocol, restrict.above.guess = TRUE)
correct |
a numeric vector of the number of correct answers; one element for each test. |
total |
a numeric vector of the total number of trials; one element for each test. |
protocol |
a character vector or factor naming the protocol used; one element
for each test. Currently the following protocols are supported:
|
restrict.above.guess |
controls if |
The vectors correct
, total
and protocol
have to
be of the same length.
a data.frame with columns:
correct |
numeric vector of no. correct. |
total |
numeric vector of no. trials. |
protocol |
character vector naming the protocols used. |
pHat |
Estimate of the probability of correct answers. |
se.pHat |
standard error of |
dprime |
estimate of d-prime. |
se.dprime |
standard error of |
Rune Haubo B Christensen
dprime_compare
, dprime_test
,
posthoc.dprime_compare
.
n <- rep(40, 4)
x <- c(25, 25, 30, 35)
protocol <- c("triangle", "duotrio", "threeAFC", "twoAFC")
dprime_table(x, n, protocol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.