RPredVals {WMCapacity} | R Documentation |
The RPredVals
function computes predicted response probabilities for a
specified working memory model and design, given values of the effect
parameters. This function is useful for model checking.
RPredVals(x,setup)
x |
the vector containing values at which to evaluate the function. |
setup |
an object of class WM2Package , containing the model information. |
The RPredVals
function computes predicted probabilities for the
model and design specified by the setup
argument. The
probability of responding ``change'' in a change detection task
is predicted for each trial.
For further details, see the user's manual at http://drsmorey.org/research/rdmorey/.
A vector of predicted probabilities; each element corresponds to a trial.
WMCapacityGUI
, for fitting the working memory models.
## Not run: ## load Visual Array data set (Rouder et al., 2008) data(VisualArray) output = WMCapacityGUI(data=VisualArray) # compute log-likelihood at posterior mean RPredVals(output@output@par[,5],output) ## End(Not run)