Description Usage Arguments Value
This is a c++ implementation of Gibbs sampling SUR model with power prior
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | sur_sample_gibbs_cpp(
Sigma,
M,
X,
X0,
XtX,
X0tX0,
Y,
Y0,
y,
y0,
a0,
pvec,
burnin,
thin
)
|
Sigma |
initial value for covariance matrix |
M |
number of samples |
X |
design matrix for current data |
X0 |
design matrix for historical data |
XtX |
matrix that is |
X0tX0 |
matrix that is |
Y |
future response as matrix (Y1, ..., YJ) |
Y0 |
historical response as matrix (Y01, ..., Y0J) |
y |
future response as vector |
y0 |
historical response as vector |
a0 |
power prior parameter |
pvec |
|
burnin |
Burn-in parameter |
thin |
Thin parameter |
sampled covariance matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.