Description Usage Arguments Value
View source: R/RprobitB_parameter.R
This function creates an object of class RprobitB_parameter
.
If sample = TRUE
, missing parameters are sampled. All parameters are
checked against the values of P_f
, P_r
, J
, and N
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
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). |
J |
The number (greater or equal 2) of choice alternatives. |
N |
The number (greater or equal 1) of decision makers. |
alpha |
The fixed coefficient vector of length |
C |
The number (greater or equal 1) of latent classes of decision makers.
Set to |
s |
The vector of class weights of length |
b |
The matrix of class means as columns of dimension |
Omega |
The matrix of class covariance matrices as columns of dimension
|
Sigma |
The differenced error term covariance matrix of dimension
|
Sigma_full |
The error term covariance matrix of dimension |
beta |
The matrix of the decision-maker specific coefficient vectors of dimension
|
z |
The vector of the allocation variables of length |
seed |
Set a seed for sampling missing parameters. |
sample |
A boolean, if |
An object of class RprobitB_parameter
, i.e. a named list with the
model parameters alpha
, C
, s
, b
, Omega
,
Sigma
, Sigma_full
, beta
, and z
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.