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

Description Usage Arguments Details Value Author(s) See Also

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

1
getStartingValues(pql, ragged,prefix=NULL, reparam=NULL)

Arguments

pql

output from the glmmPQLstrings function

ragged

a ragged array, from winBugsRaggedArray

prefix

string to append to object names

reparam

vector of random effect names, subtract covariates at this level from the intercept.

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


glmmBUGS documentation built on May 2, 2018, 1:03 a.m.