Learn R Programming

glmmBUGS (version 1.0)

getStartingValues: Extract starting values for an MCMC chain from glmmPQL results

Description

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.

Usage

getStartingValues(pql, ragged)

Arguments

pql
output from the glmmPQLstrings function
ragged
a ragged array, from winBugsRaggedArray

Value

  • A list of vectors, one for each set of parameters or random effects, and a list of estimated standard deviations.

Details

This function produces a list suitable for passing to startingFunction to generate random starting values for use with bugs.

See Also

glmmPQLstrings, startingFunction, bugs, glmmBUGS