set_initial_gibbs_values {RprobitB} | R Documentation |
Set initial values for the Gibbs sampler
Description
This function sets initial values for the Gibbs sampler.
Usage
set_initial_gibbs_values(
N,
T,
J,
P_f,
P_r,
C,
ordered = FALSE,
ranked = FALSE,
suff_stat = NULL
)
Arguments
N |
The number (greater or equal 1) of decision makers. |
T |
The number (greater or equal 1) of choice occasions or a vector of choice
occasions of length |
J |
The number (greater or equal 2) of choice alternatives. |
P_f |
The number of covariates connected to a fixed coefficient (can be 0). |
P_r |
The number of covariates connected to a random coefficient (can be 0). |
C |
The number (greater or equal 1) of latent classes. |
ordered |
A boolean, |
ranked |
TBA |
suff_stat |
Optionally the output of |
Value
A list of initial values for the Gibbs sampler.
Examples
RprobitB:::set_initial_gibbs_values(
N = 2, T = 3, J = 3, P_f = 1, P_r = 2, C = 2
)
[Package RprobitB version 1.1.4 Index]