Calculates the Capacity Coefficient for Exhaustive (AND) Processing
capacity.and(RT, CR=NULL, ratio=TRUE)
An object of class approxfun representing the estimated AND capacity coefficient.
An object of class approxfun representing the variance of the estimated AND capacity coefficient. Only returned if ratio=FALSE.
A list with class "htest" that is returned from ucip.test
and contains the statistic and p-value.
A list of response time arrays. The first array in the list is assumed to be the exhaustive condition.
A list of correct/incorrect indicator arrays. If NULL, assumes all are correct.
Indicates whether to return the standard ratio capacity coefficient or, if FALSE, the difference form.
Joe Houpt <joseph.houpt@utsa.edu>
The AND capacity coefficient compares performance on task to an unlimited-capacity, independent, parallel (UCIP) model using cumulative reverse hazard functions. Suppose
The difference form of the capacity coefficient (returned if ratio=FALSE) is given by,
Townsend, J.T. & Wenger, M.J. (2004). A theory of interactive parallel processing: New capacity measures and predictions for a response time inequality series. Psychological Review, 111, 1003--1035.
Townsend, J.T. & Nozawa, G. (1995). Spatio-temporal properties of elementary perception: An investigation of parallel, serial and coactive theories. Journal of Mathematical Psychology, 39, 321-360.
Houpt, J.W. & Townsend, J.T. (2012). Statistical Measures for Workload Capacity Analysis. Journal of Mathematical Psychology, 56, 341-355.
Houpt, J.W., Blaha, L.M., McIntire, J.P., Havig, P.R. and Townsend, J.T. (2013). Systems Factorial Technology with R. Behavior Research Methods.
ucip.test
capacityGroup
capacity.or
estimateUCIPand
estimateNAK
approxfun
rate1 <- .35
rate2 <- .3
RT.pa <- rexp(100, rate1)
RT.ap <- rexp(100, rate2)
RT.pp.limited <- pmax( rexp(100, .5*rate1), rexp(100, .5*rate2))
RT.pp.unlimited <- pmax( rexp(100, rate1), rexp(100, rate2))
RT.pp.super <- pmax( rexp(100, 2*rate1), rexp(100, 2*rate2))
tvec <- sort(unique(c(RT.pa, RT.ap, RT.pp.limited, RT.pp.unlimited, RT.pp.super)))
cap.limited <- capacity.and(RT=list(RT.pp.limited, RT.pa, RT.ap))
print(cap.limited$Ctest)
cap.unlimited <- capacity.and(RT=list(RT.pp.unlimited, RT.pa, RT.ap))
cap.super <- capacity.and(RT=list(RT.pp.super, RT.pa, RT.ap))
matplot(tvec, cbind(cap.limited$Ct(tvec), cap.unlimited$Ct(tvec), cap.super$Ct(tvec)),
type='l', lty=1, ylim=c(0,3), col=2:4, main="Example Capacity Functions", xlab="Time",
ylab="C(t)")
abline(1,0)
legend('topright', c("Limited", "Unlimited", "Super"), lty=1, col=2:4)
Run the code above in your browser using DataLab