get_start_pos {jaatha} | R Documentation |
Determine good starting postions
Description
This is a simple dispatch function returns good starting positions
based on the provided init_method
. The different methods are
explained on jaatha
.
Usage
get_start_pos(
model,
data,
reps,
sim,
init_method,
cores,
sim_cache,
block_width,
zoom_in_steps = 3
)
Arguments
model |
The model used for the estimation.
See |
data |
The data used for the estimation.
See |
reps |
The number of independent repetitions. |
sim |
The number of simulations conducted for each step. |
init_method |
Determines how the starting position of each repetition is chosen. |
cores |
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. |
sim_cache |
The simulation cache used in the jaatha analysis |
block_width |
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. |
zoom_in_steps |
The number of steps conducted in the |
Value
The starting positions, as a matrix. Each row corresponds to a starting positions.
Author(s)
Paul Staab