create_initial_conditions function

Create Initial Conditions Generating Function

Create Initial Conditions Generating Function

Uses the output of create_stan_data() to create a function which can be used to sample from the prior distributions (or as close as possible) for parameters. Used in order to initialise each stan chain within a range of plausible values.

create_initial_conditions(data)

Arguments

  • data: A list of data as produced by create_stan_data().

Returns

An initial condition generating function