Computes differencesor other statistics of MPT parameters for two hierarchical MPT models fitted separately to between-subjects data
betweenSubjectMPT(
model1,
model2,
par1,
par2 = par1,
stat = c("x-y", "x
a list of the class betweenMPT
with the values:
summary
: Summary for parameter difference
mptInfo1
, mptInfo2
: info about MPT models (eqn and data file etc.)
mcmc
: the MCMC samples of the differences in parameters
fitted hierarchical MPT model for first between-subjects condition
fitted hierarchical MPT model for second between-subjects condition
label of parameter from first model for which statistic should be computed
label of parameter from second model. Default: The same parameter as in the first model
one or more functions of the parameters using "x"
and
"y"
as placeholders for the parameters from the first and second
model, respectively. Default: Compute (A) the difference between parameters
and (B) a Bayesian p-value (by counting how often x<y).
whether to plot the convergence of the difference in parameters
Daniel Heck