Description Usage Arguments Value
Simulates observed data given the posterior, W, the block assignments for each variable and the number of observations, N.
1 | data.simu(N, W_DxK, varIdx.by.block, sd.noise)
|
N |
sample size |
W_DxK |
a list of matrices with K x D_i dimension |
varIdx.by.block |
Specifies which variables are in which block. Must be input as a list where each element corresponds to the block number and contains a vector of indicies of the variables that belong to that block. |
sd.noise |
SD of random Gaussian noise in the observations. |
A list containing the following elements:
Y.list |
A list where each element corresponds to a block. Each block contains the observed values of the variables in that block. |
X |
Contains the factor values of each observation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.