08: Initial Values

Overview

inits is a list specifying the starting values for parameters in the model. By default, all of these values are specified according to the literature, but RSTr allows the capability of specifying your own initial values. If you wish to provide initial values, note that you don’t have to specify inits for all parameters if you only want to specify some of them - any undefined inits will be defined by the default values. For example, you can specify only the initial values for lambda and all other values will be generated on their own. However, if one value is specified for a certain parameter in inits, all values must be specified for that parameter in inits: you cannot, for example, define initial values for just one year of lambda. Finally, any values included in your inits list that aren’t aligned with the above names will be ignored.

Initial value specifications

The models in RSTr share many inits, but a couple of models have inits that are unique to them. All potential initial values are presented here.

Initial values for the MSTCAR model

Here are the possible initial value parameters for the MSTCAR model:

Initial values for the MCAR model

The MCAR model utilizes a majority of the initial values of the MSTCAR model. However, MCAR does not include inits for rho or Ag. Note that specification for the MCAR model is slightly different than that of the MSTCAR model. If an MCAR model is run with data containing several time periods, tau2 will require values for every time period along with every group.

Initial values for the CAR/RCAR model

The CAR models have the smallest set of initial values, using only lambda, beta, Z, and tau2 from the MCAR model. Similar to the MCAR, if a CAR model is run with multiple groups and time periods, tau2 requires values for every group and time period present. The only new initial value for the CAR models is sig2, which takes the place of G in the MCAR and MSTCAR models: