compute_scaled_conditional_row_variance_vector: Compute the Scaled Conditional Row Variance of the Loading

View source: R/cavi_loading.R

compute_scaled_conditional_row_variance_vectorR Documentation

Compute the Scaled Conditional Row Variance of the Loading

Description

Computes the variance of the loading in each row conditioned on the loading at every other row before allowing for the ARD precision hyper-parameter.

Usage

compute_scaled_conditional_row_variance_vector(
  loading_prior_correlation,
  perform_checks = TRUE
)

Arguments

loading_prior_correlation

A D'xD' correlation matrix. The correlation within loadings under the Gaussian prior.

perform_checks

Logical. Check if function inputs are specified correctly.

Value

A D'-dimensional vector of positive real numbers. The scaled conditional variance of each row in the loading matrix.


jpmeagher/vbar documentation built on Nov. 22, 2022, 5:48 a.m.