fit_nlcm_doubletree | R Documentation |
domains and 2) causes
Fit nested latent class model with double-tree-structured shrinkage over
domains and 2) causes
fit_nlcm_doubletree(
dsgn,
vi_params_init,
hyperparams_init,
random_init,
random_init_vals,
tol,
tol_hyper,
max_iter,
print_freq,
quiet,
plot_fig,
update_hyper_freq,
hyper_fixed
)
dsgn |
a list; data organized according to the trees
(see |
vi_params_init, hyperparams_init, random_init, random_init_vals, tol, tol_hyper, max_iter, print_freq, quiet, plot_fig, update_hyper_freq, hyper_fixed |
initial values and updating protocols. Explained more in the wrapper function
|
a list with model updates. Because the variational posterior is comprised of familiar distributional forms that can be determined by the moments, the returned values are these moments:
vi_params
named list of final variational parameter estimates
hyperparams
named list of final hyperparameter estimates
hyper_fixed
named list of fixed hyperparameters
ELBO_track
numeric vector containing the values of the objective function (ELBO) at the end of every iteration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.