Description Usage Arguments Value
View source: R/multivariate_models.R
For a single observation with response vector y0 and model specification mod_spec0, modify mod_spec0 to account for missing observations in y0, which are indicated with NA. In addition, create additional variables to support calculation of the negative log-likelihood for the observation. (a) mapping: a list of index mappings for the reduced data observation (see get_var_index_multivariate_mapping and get_var_index_multivariate_fast). (b) mapping0: the mapping for the unreduced problem. (c) ind: a vector that subsets the full parameter vector to account for the reduction. (d) keep: a boolean vector indicating which variables were kept in the reduction.
1 | remove_missing_variables(y0, mod_spec0)
|
y0 |
The unreduced response vector |
mod_spec |
The unreduced model specification |
The list with y, mod_spec, mapping, mapping0, ind, and keep
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.