posterior_cov: posterior_cov

View source: R/posterior.R

posterior_covR Documentation

posterior_cov

Description

This is an internal (non-exported) function. This help page provides additional documentation mainly intended for developers and expert users.

Usage

posterior_cov(Vinv, U)

Arguments

Vinv

R x R inverse covariance matrix for the likelihood

U

R x R prior covariance matrix

Details

If bhat is N(b,V) and b is N(0,U) then b|bhat N(mu1,U1). This function returns U1.

Value

R x R posterior covariance matrix


stephenslab/mashr documentation built on Nov. 9, 2024, 12:29 a.m.