dprime_table: Summary table of several discrimination experiments using the
simple-binomial protocols (Duo-Trio, Triangle, Tetrad, 2-AFC and 3-AFC)
Description
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).
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:
"triangle", "duotrio", "threeAFC", "twoAFC", "tetrad".
restrict.above.guess
controls if pHat should be restricted at or
above the guessing probability for the given protocol. This also
affects se.pHat. Note that dprime is zero and
se.dprime is NA when
pHat is at or below the guessing probability of the given
protocol.
Author
Rune Haubo B Christensen
Details
The vectors correct, total and protocol have to
be of the same length.