Parameter estimates and random effect predictions are extracted from a glmmPQL model fit, and formatted to correspond to the levels in the supplied ragged array.
getStartingValues(pql, ragged,prefix=NULL, reparam=NULL)
output from the glmmPQLstrings
function
a ragged array, from winBugsRaggedArray
string to append to object names
vector of random effect names, subtract covariates at this level from the intercept.
A list of vectors, one for each set of parameters or random effects, and a list of estimated standard deviations.
This function produces a list suitable for passing to startingFunction
to generate random starting values for use with bugs
.
If ragged
has a spatial component, starting values for a spatial random effect will also be computed.