BTRR_draw_sigma_epsilon_sq: Draw sigma_epsilon_sq

View source: R/900_BTRR_sampling_fns.R

BTRR_draw_sigma_epsilon_sqR Documentation

Draw sigma_epsilon_sq

Description

Draw sigma_epsilon_sq from its posterior full conditional distribution.

Usage

BTRR_draw_sigma_epsilon_sq(a_epsilon, b_epsilon, Y, x, betas, k)

Arguments

a_epsilon, b_epsilon

Scalar values of the hyperparameters

Y

Array of the response values

x

Matrix of the covariates

betas

List of length D comprised of p_j by R matrices

k

Scalar for the AR(1) parameter

Value

A scalar


danieladamspencer/bayestensorreg documentation built on July 23, 2024, 10:14 a.m.