Description Usage Arguments Details Value
Generate true parameters using an adjacency matrix
1 2 3 4 5 6 7 8 9 |
A_true |
binary matrix, a true adjacecny matrix from a desired graph. |
types_by_node |
blah |
n_resps_by_node |
blah |
intcpt |
blah |
range |
a possible range of (absolute value of) parameters. |
prob_sparse |
double scalar, define a sparseness of parameters within each parameter sub-matrix with 0≤ prob_sparse ≤ 1 - default is 0. If prob_sparse = 0, all the parameter for each submatrix will be non-zeros. Not recommnedable, but, if prob_sparse = 1, all the parameter for each submatrix will be zeros. See details below for the parameter sub-matrix. |
seed |
blah |
The parameter matrix can be divided into submatrices. For example, a submatrix (i,j) consists of parameters related to (node i) -> (node j). The prob_sparse
controls the sparseness of parameters within each submatrix.
double matrix, true parameter matrix, W_true
is returend with n_levels
or n_group_elmts
as an attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.