View source: R/902_BTRTucker_sampling_fns.R
BTRT_draw_Bj | R Documentation |
Draw from PFC for betas
BTRT_draw_Bj(y_til, X, betas, tau, W, sig_y2, G, j)
y_til |
response minus etagam |
X |
covariate tensor |
betas |
all betas, for betas from other dimensions |
tau |
global variance |
W |
local variance |
sig_y2 |
observational variance |
G |
core tensor |
j |
dimension index |
updates the betas object at index j
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.