Description Usage Arguments Value
View source: R/multivariate_models.R
Prepare for the negative log-likelihood calculations by creating indexing objects to speed up execution.
1 2 3 4 5 6 7 | prep_for_neg_log_lik_multivariate(
x,
Y,
mod_spec,
remove_log_ord = FALSE,
no_missing_var = TRUE
)
|
x |
The independent variable |
Y |
The matrix of responses |
mod_spec |
The model specification |
no_missing_var |
(Default: TRUE) Whether or not to require all variables to have no missing values. |
remove_log_ord_cases |
Whether or not to remove log_ord edge cases from the return list, calc_data. remove_log_ord_cases should be TRUE if calc_data is being used to calculate a likelihood function and should, typically, otherwise be FALSE (e.g., if log_ord is being used for posterior inference). |
Data needed for a speedy negative log-likelihood calculation (calc_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.