Skip to contents

A helper function for getting the posterior of specified sigma values. If the first_outcome and second_outcome are the same, then the residual variance for that outcome is returned. Otherwise the residual covariance for the first_outcome and second_outcome is returned.

Usage

get_sigma_post(fitted_model, first_outcome, second_outcome)

Arguments

fitted_model

The fitted mvbcf model to get the posterior from

first_outcome

The first outcome variable

second_outcome

The second outcome variable

Value

The posterior of the specified residual variance or covariance