View source: R/cavi_latent_traits.R
compute_individual_specific_latent_trait_expectation | R Documentation |
Computes the expected value of the individual-specific latent trait within the PLVM under the approximate posterior distribution.
compute_individual_specific_latent_trait_expectation( auxiliary_trait, loading, taxon_specific_latent_trait, precision_vector, individual_specific_latent_trait_precision, within_taxon_amplitude, perform_checks = TRUE )
auxiliary_trait |
A D-dimensional vector of real values. The individual-specific auxiliary trait. |
loading |
A DxL dimensional matrix of real values. The PLVM loading. |
taxon_specific_latent_trait |
An L-dimensional vector of real values. The taxon-specific latent trait values. |
precision_vector |
A D-dimensional vector of positive real values The precision parameters associated with each of the D auxiliary traits. |
individual_specific_latent_trait_precision |
A symmetric LxL matrix of real values. The precision associated with individual-specific latent traits. |
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. |
An L-dimensional vector of real values. The expected value of the individual-specific latent trait under the approximate posterior distributiÃ’on
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.