biexponential {YEAB} | R Documentation |
Biexponential Model
Description
Implements a simpler biexponential model without the refractory period parameter, \delta
.
The simpler model is defined as:
p(IRT = \tau) = p w e^{-w \tau} + (1 - p) b e^{-b \tau}
where w
and b
represent the within- and between-bout response rates, and p
is the proportion of responses in bouts.
Usage
biexponential(irt)
Arguments
irt |
A numeric vector representing inter-response times. |
Value
A data frame with estimated parameters w
(proportion of responses in bouts), l0
(within-bout mean IRT),
and l1
(between-bout mean IRT).
Examples
set.seed(43)
l1 <- 1 / 0.5
l2 <- 1 / 0.1
p <- 0.4
n <- 200
irt <- c(rexp(round(n * p), l1), rexp(round(n * (1 - p)), l2))
biexponential(irt)
[Package YEAB version 1.0.6 Index]