convergence_tests {BRACoD.R}R Documentation

Perform convergence tests on the p and beta variables

Description

You may get errors are divergence of some variables after pymc3 samples the posterior. We are not overly concerned about some of the variables, such as the variance, rather we are really interested in the inclusion probabilities (p) and contribution coefficients (beta). The convergence tests that are included here focus on evaluating those two variables.

Usage

convergence_tests(trace, df_relab)

Arguments

trace

the output of run_bracod()

df_relab

the microbiome relative abundance

Value

no return value


[Package BRACoD.R version 0.0.2.0 Index]