View source: R/RprobitB_parameter.R
RprobitB_parameter | R Documentation |
This function creates an object of class RprobitB_parameter
, which
contains the parameters of a probit model.
If sample = TRUE
, missing parameters are sampled. All parameters are
checked against the values of P_f
, P_r
, J
, and N
.
RprobitB_parameter(
P_f,
P_r,
J,
N,
ordered = FALSE,
alpha = NULL,
C = NULL,
s = NULL,
b = NULL,
Omega = NULL,
Sigma = NULL,
Sigma_full = NULL,
beta = NULL,
z = NULL,
d = NULL,
seed = NULL,
sample = TRUE
)
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. |
ordered |
A boolean, |
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 |
d |
The numeric vector of the logarithmic increases of the utility thresholds
in the ordered probit case ( |
seed |
Set a seed for the sampling of 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
.
RprobitB_parameter(P_f = 1, P_r = 2, J = 3, N = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.