betweenSubjectMPT {TreeBUGS} | R Documentation |
Between-Subject Comparison of Parameters
Description
Computes differencesor other statistics of MPT parameters for two hierarchical MPT models fitted separately to between-subjects data
Usage
betweenSubjectMPT(
model1,
model2,
par1,
par2 = par1,
stat = c("x-y", "x<y"),
plot = FALSE
)
Arguments
model1 |
fitted hierarchical MPT model for first between-subjects condition |
model2 |
fitted hierarchical MPT model for second between-subjects condition |
par1 |
label of parameter from first model for which statistic should be computed |
par2 |
label of parameter from second model. Default: The same parameter as in the first model |
stat |
one or more functions of the parameters using |
plot |
whether to plot the convergence of the difference in parameters |
Value
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
Author(s)
Daniel Heck