Make BUGS model from fitted DAG with grouping
makebugsGroup(
dag,
data.dists,
stderrors,
group.var,
mu,
betas,
sigma,
sigma_alpha
)
Bugs model returned as stdout.
named adjacency matrix representing the DAG. Names correspond to node names.
list of node distributions.
a list named by the node names containing for each element a matrix with the nodes' standard errors
only applicable for mixed models and gives the column name in data.df
of the grouping variable (which must be a factor denoting group membership).
Standard deviation of fixed effects.
Coefficients/slopes of fixed effects .
variance of random effects.
variance-covariance matrix corresponding to covariances output from mblogit
.
simulateAbn gauss_bugsGroup bern_bugsGroup categorical_bugsGroup pois_bugsGroup