View source: R/cavi_latent_traits.R
compute_individual_specific_latent_trait_precision | R Documentation |
Computes the precision matrix for the approximate posterior distribution of individual-specific latent traits within the PLVM.
compute_individual_specific_latent_trait_precision( precision_vector, loading_outer_product_expectation, within_taxon_amplitude, perform_checks = TRUE )
precision_vector |
A D-dimensional vector of positive real values The precision parameters associated with each of the D auxiliary traits. |
loading_outer_product_expectation |
An LxLxD dimensional array of real values. The expected outer product of the loading under the approximate posterior distribution. |
within_taxon_amplitude |
An L-dimensional vector of real values on the interval [0, 1]. The within-taxon variation parameters for each of the L latent traits. |
perform_checks |
Logical. Check if function inputs are specified correctly. |
A symmetric LxL matrix of real values. The precision matrix of the individual-specific latent traits under the approximate posterior distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.