compute_BFCS: Function for computing the Bayes Factors of Covariance...

Description Usage Arguments Value Examples

View source: R/compute_BFCS_vectorized.R

Description

Function for computing the Bayes Factors of Covariance Structures for a three-variable causal model.

Usage

1
compute_BFCS(corr, num_samples)

Arguments

corr

Numeric 3x3 correlation matrix.

num_samples

Integer number of samples.

Value

A vector containing the Bayes factor of all the eleven possible conditional independence models on three variables relative to the fully connected model.

Examples

1
compute_BFCS(diag(3), 100)

igbucur/BFCS documentation built on Oct. 20, 2020, 7:39 a.m.