getStartingValues {glmmBUGS}R Documentation

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

Details

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.

Value

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

Author(s)

Patrick Brown patrick.brown@utoronto.ca

See Also

glmmPQLstrings, startingFunction, bugs, glmmBUGS


[Package glmmBUGS version 1.5 Index]