gibbs_sampler | R Documentation |
Gibbs sampler for probit models
gibbs_sampler(
sufficient_statistics,
prior,
latent_classes,
fixed_parameter,
R,
B,
print_progress,
ordered,
ranked,
save_beta_draws = FALSE
)
sufficient_statistics |
[ |
prior |
[ |
latent_classes |
[
The following specifications are used for the weight-based updating scheme:
|
fixed_parameter |
[ See the vignette on model definition for definitions of these variables. |
R |
[ |
B |
[ |
print_progress |
[ |
ordered |
[ |
ranked |
[ |
save_beta_draws |
[ |
This function is not supposed to be called directly, but rather via
fit_model
.
A list of Gibbs samples for
Sigma
,
alpha
(only if P_f > 0
),
s
, z
, b
, Omega
(only if P_r > 0
),
d
(only if ordered = TRUE
),
and a vector class_sequence
of length R
, where the r
-th
entry is the number of classes after iteration r
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.