get_initial_values {fHMM} | R Documentation |
Initialization of numerical likelihood optimization
Description
This helper function generates a set of initial values for the numerical optimization of the model likelihood function.
Usage
get_initial_values(
data,
ncluster = 1,
seed = NULL,
verbose = TRUE,
initial_estimate = NULL
)
Arguments
data |
An object of class |
ncluster |
Set the number of clusters for parallel optimization runs to reduce
optimization time.
By default, |
seed |
Set a seed for the generation of initial values. No seed by default. |
verbose |
Set to |
initial_estimate |
Optionally defines an initial estimate for the numerical likelihood optimization. Good initial estimates can improve the optimization process. Can be:
|
Value
A list
, where each element is an object of class parUncon
.