Xt_siginv_X: Internal computation function

Description Usage Arguments Author(s)

View source: R/XtSiginvX.R

Description

Internal function used compute the products '(X otimes Theta)^t (I otimes Sigma^-1) (X otimes Theta)' and '(X otimes Theta)^t (I otimes Sigma^-1) (y)' in cross-sectional VB algorithm and Gibbs sampler

Usage

1
Xt_siginv_X(tx, siginv, y = NULL)

Arguments

tx

transpose of the X design matrix

siginv

inverse variance matrix

y

outcome matrix. if NULL, function computes first product; if not, function computes second product.

Author(s)

Jeff Goldsmith ajg2202@cumc.columbia.edu


gekim0519/tidyfunfun documentation built on Aug. 2, 2019, 5:18 a.m.