
09: Priors
RSTr-priors.RmdOverview
priors is a list specifying the priors for
various hyperparameters and auxiliary values in the model. By default,
all of these values are specified according to the literature, but RSTr
allows the capability of specifying your own priors. If you wish to
provide priors, note that you don’t have to specify priors
for all parameters if you only want to specify some of them -
any undefined priors will be defined by the default values.
For example, you can specify only the priors for lambda_sd
and all other values will be generated on their own. However, if one
value is specified for a certain parameter in priors, all
values must be specified for that parameter in priors: you
cannot, for example, define priors for just one year of
lambda_sd. Finally, any values included in your
priors list that aren’t aligned with the above names will
be ignored.
Prior specifications
The models in RSTr share many priors, but a couple of
models have inits that are unique to them. All potential
priors are presented here.
Priors for the MSTCAR model
The following are all priors used in the MSTCAR model:
Ag_scaleandAg_df: These are the scale and degrees of freedom priors used with Wishart-distributed random variableAg.Ag_scaleis a positive-definite symmetric matrix andAg_dfis adoubleof at least sizen_group;G_scaleandG_df: These are the scale and degrees of freedom priors used with Inverse-Wishart distributed matrix slices of random variableG.G_scaleis a positive-definite symmetric matrix andG_dfis adoubleof at least sizen_group;tau_aandtau_b: These are the rate and scale priors used with Inverse-Gamma distributed random variabletau2.tau_aandtau_bmust both be positive real numbers;rho_aandrho_b: These are the shape priors used with Beta-distributed random variablerho.rho_aandrho_bmust both be positive real numbers;lambda_sd: An array of positive real numbers describing the candidate standard deviation in the Metropolis update for the estimated rateslambda. These values will be adaptively updated at the start of each batch; andrho_sd: A vector of positive real numbers describing the candidate standard deviation in the Metropolis update for the temporal correlationrho. These values will be adaptively updated at the start of each batch. Note that this is only used ifupdate_rho = TRUE.