SelectPriors: Select the prior parameters

Description Usage Arguments Value

Description

This function calls the internal functions .priorBeta, .priorVbeta, and .priorVar to create the prior values, whilst assigning them their proper formal arguments under a tryCatch handler. Errors are stored in the global environment.

Usage

1
.SelectPriors(data, ztprop1, ...)

Arguments

data

the model data, used when constructing the parameter covariance matrix.

ztprop1

the model structure (a Ztprops object): required for all three priors.

...

additional parameters required by the priors.

Value

a list with additional class PriorList, containing:

  1. the prior parameter means.

  2. the prior parameter precision matrix.

  3. the model covariance and precision matrices (Σ and Σ^{-1})


gamalamboy/stresstest documentation built on May 17, 2019, 1:33 p.m.