bvar_conj_hyper2dummy: Calculate artificial observations from hyperparameters

Description Usage Arguments Details Value Examples

Description

Calculate artificial observations from hyperparameters

Usage

1
bvar_conj_hyper2dummy(Omega, S, Phi)

Arguments

Omega

[k x k] hyperparameter, scale matrix for covariance of coefficients

S

[m x m] hyperparameter, scale matrix for IW-distribution

Phi

[k x m] hyperparameter, expected values of coefficients

Details

Calculate artificial observations from hyperparameters. Usually used to calculate artificial observations from prior hyperparameters.

Value

list of artificial observations: X_plus, Y_plus

Examples

1
2
3
4
5
data(Yraw)
X <- bvar_build_X(Yraw, constant = TRUE, p = 4)
Y <- bvar_build_Y(Yraw, p = 4)
hyper <- bvar_conj_dummy2hyper(Y, X) # no dummy observation, just for demo
dummy <- bvar_conj_hyper2dummy(hyper$Omega, hyper$S, hyper$Phi)

bdemeshev/bvarr documentation built on May 12, 2019, 3:40 a.m.