Separate function for running only the group-level model. This can be useful in a two-step analysis. Works similar in functionality to make_emc, except also does the fitting and returns an emc object that works with most posterior checking tests (but not the data generation/posterior predictives).
run_hyper(
type = "standard",
data,
prior = NULL,
iter = 1000,
n_chains = 3,
...
)an emc object with only group-level samples
A string indicating whether to run a standard group-level, blocked, diagonal, factor, or single (i.e., non-hierarchical) model.
A data frame, or a list of data frames. Needs to have the variable subjects as participant identifier.
an emc.prior object.
Number of MCMC samples to collect.
An integer. Specifies the number of mcmc chains to be run (has to be more than 1 to compute rhat).
Additional, optional arguments.