Init values in command stan


Given my complex model, I’d like to give Stan some initial values for a few of the parameters. In the manual, it appears as if there are two options on the command line:

  1. A single number to indicate the range of starting values [-x,x]
  2. A text file for initial values

However, I can’t find any explanation on setting initial values for more than one parameter. Additionally, there is no documentation on the format of an init values text file. Does anyone have a suggestion on how to do this?

Thank You!

It should be the same format as for the data file. I just tested this out for the included Bernoulli example and it seemed to work.


I’ll give that a try and report back to the group.

Much appreciated.

1 Like

Just a quick note. It works!