crit | R Documentation |
Depending on the Criterion input, the function returns the output of the corresponding criterion function given the information matrix.
crit(Criterion, M, k = 0, par_int = c(1), matB = NA)
Criterion |
character variable with the chosen optimality criterion. Can be one of the following:
|
M |
information matrix for which the criterion value wants to be calculated. |
k |
numeric variable with the number of parameters of the model. Taken from the number of rows of the matrix if omitted. |
par_int |
numeric vector with the index of the parameters of interest of the model. Only for "Ds-Optimality". |
matB |
matrix of the integral of the information matrix over the interest region. Only for "I-Optimality". |
Numeric value of the optimality criterion for the information matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.