latent_operation_row | R Documentation |
operation for each latent row
latent_operation_row( task, z, lower, upper, d_index, dcat_index, corr, cat_input = NULL, trunc_method = "Iterative", n_sample = 5000, n_update = 1, n_MI = 1 )
task |
Task to perform. One of |
z |
A row of |
lower |
A row of |
upper |
A row of |
d_index |
Boolean vector with |
dcat_index |
Boolean vector with |
corr |
Current copula correlation estimate |
cat_input |
Input for categorical dimensions |
trunc_method |
Method for evaluating truncated normal moments: |
n_sample |
Number of MC samples, only used when |
n_update |
The number of updates, only used when |
A list containing
loglik
Available when task = 'em'
. The average log-likelihood.
Z
Available when task = 'em'
. Incomplete Z
with updated observed ordinal entries
Zimp
Available when task = 'em'
or task == 'fillup'
. Complete Z
with observed entries the same as Z
and missing entries imputed
Zimp_sample
Available when task = 'sample'
. Multiple imputation samples.
C
Available when task = 'em'
. The conditional co-variance due to missingness
var_ordinal
Available when task = 'em'
or task = 'fillup'
. The conditional variance due to truncation, i.e. Var(z|a < z < b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.