nodename: character string of response variable name.
nodesintercept: overall mean of response. Parameter from fixed-effects intercept.
parentnames: single character string (for one parent) or vector of characters (for multiple parent nodes) with parent node (predictor variables) names.
parentcoefs: overall slope for each predictor (parent node) variable (fixed-effects).
std: integer with standard deviation of response variable that will be converted to precision (see Details).
sigma: within-group variance. Parameter from random-effects residual.
sigma_alpha: between-group variance. Parameter from random-effects intercept.
Returns
Bugs model returned as stdout.
Details
The variance of the normal distribution is τ1.
Functions
gauss_bugsGroup(): Bugs code for Gaussian response with varying intercept