Description Usage Arguments Value
View source: R/mnl_model_functions.R
Computes optimality criterion value for a design array X
and beta
parameter.
1 | mnl_get_opt_crit_value(X, beta, order, opt_crit = "D", transform_beta = T)
|
X |
3 dimensional array of size
|
beta |
numeric vector containing the parameters or numeric matrix containing draws of the prior distribution of the parameters. |
order |
integer corresponding to a Scheffé model order (1, 2, 3). |
opt_crit |
optimality criterion: 0 or "D" is D-optimality; while 1 or "I" is I-optimality. |
transform_beta |
boolean parameter. Should the beta vector/matrix be transformed by subtracting the |
Returns the value of the optimality criterion for this particular design and this beta
vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.