This is a simple dispatch function returns good starting positions
based on the provided init_method
. The different methods are
explained on jaatha
.
get_start_pos(
model,
data,
reps,
sim,
init_method,
cores,
sim_cache,
block_width,
zoom_in_steps = 3
)
The starting positions, as a matrix. Each row corresponds to a starting positions.
The model used for the estimation.
See create_jaatha_model
.
The data used for the estimation.
See create_jaatha_data
.
The number of independent repetitions.
The number of simulations conducted for each step.
Determines how the starting position of each repetition is chosen.
The number of CPU cores that will be used for the simulations. The relies on the parallel package, and consequently only one core is supported on Windows.
The simulation cache used in the jaatha analysis
The relative width of a block within jaatha will fit its local GLM. The default value is usually fine. Increasing this value may help in case jaatha fails to converge, while you can try decreasing it if the estimates of the likelihoods differ from the corrected values in the 'Correcting likelihoods for best estimates' phase.
The number of steps conducted in the zoom-in
initialization method. Has no effect if a different initialization method
is used. Using the default value is usually fine.
Paul Staab