Description Usage Arguments Details Value Examples
This is an internal simulation function. It creates a graph with regression coefficients.
1 |
p |
number of variables to simulate |
graph_setting |
either "dense", "sparse", "A", or "B". These settings correspons to the settings described in the article. |
l |
lower bound for direct abolute causal effect |
u |
upper bound for direct absolute causal effect |
unique_ordering |
if |
The sim_B
function simulates a causal graph with regression
coefficients. The graph is stored as matrix, where the (i,j)th entry in the
matrix is non zero only if there is an arrow from j to i in the graph. The
value in the (i,j)th entry corresponds to the direct causal effect from j
to i.
Returns a matrix of size p
times p
encoding a graph
with regression coefficients.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.