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.
Note that parameters are automatically ordered with respect to a
non-ascending s for class identifiability.
RprobitB_parameter(
P_f,
P_r,
J,
N,
C = 1,
ordered = FALSE,
alpha = NULL,
s = NULL,
b = NULL,
Omega = NULL,
Sigma = NULL,
Sigma_full = NULL,
beta = NULL,
z = NULL,
d = NULL,
sample = TRUE
)# S3 method for RprobitB_parameter
print(x, ..., digits = 4)
An object of class RprobitB_parameter, which is a named list with the
model parameters.
[integer(1)]
The number of covariates connected to a fixed coefficient.
[integer(2)]
The number of covariates connected to a random coefficient.
[integer(1)]
The number >= 2 of choice alternatives.
[integer(1)]
The number of decision makers.
[integer(1)]
The number (greater or equal 1) of latent classes of decision makers.
[logical(1)]
If TRUE, the choice set alternatives is assumed to be ordered
from worst to best.
[numeric(P_f)]
The fixed coefficient vector.
[numeric(C)]
The vector of class weights.
[matrix(nrow = P_r, ncol = C)]
The matrix of class means as columns.
[matrix(nrow = P_r * P_r, ncol = C)]
The matrix of vectorized class covariance matrices as columns.
[matrix(nrow = J - 1, ncol = J - 1) | numeric(1)]
The differenced (wrt. alternative J) error covariance matrix.
In case of ordered = TRUE, the single error variance.
[matrix(nrow = J, ncol = J)]
The error covariance matrix.
Ignored if Sigma is specified or ordered = TRUE.
Internally, Sigma_full gets differenced wrt. alternative J.
[matrix(nrow = P_r, ncol = N)]
The matrix of the decider-specific coefficient vectors.
[numeric(N)]
The decider class allocations.
[numeric(J - 2)]
The logarithmic increases of the utility thresholds in the ordered probit
case (ordered = TRUE).
[logical(1)]
Sample missing parameters?
An RprobitB_parameter object.
[character()]
Names of parameters to be printed. If not specified, all parameters are
printed.
[integer(1)]
The number of decimal places.
RprobitB_parameter(P_f = 1, P_r = 2, J = 3, N = 10, C = 2)
Run the code above in your browser using DataLab