Description Usage Arguments Value Details See Also
View source: R/moretrees_compute_thetas.R
All the details go here!
1 2 3 4 5 6 7 8 | moretrees_compute_thetas(
mod,
ci_level,
W_method = "shared",
method = "tree",
m,
A_leaves = NULL
)
|
mod |
List containing outputs from spike and slab VI algorithm |
ci_level |
A number between 0 and 1 giving the desired credible interval. For example, ci_level = 0.95 (the default) returns a 95% credible interval. |
W_method |
A string, either "shared" or "individual" |
m |
Integer number of variables in covariate matrix W |
A_leaves |
pL x p sparse ancestor Matrix where rows correspond to leaves of tree (outcomes) and columns correspond to nodes on tree. Results in mod must have same ordering as columns of A_leaves. |
A matrix containing the estimates and confidence intervals.
NA
Other MOReTreeS functions:
moretrees_compute_betas()
,
moretrees_design_matrix()
,
moretrees_design_tree()
,
moretrees_init_W_logistic()
,
moretrees_init_logistic()
,
moretrees_init_rand()
,
moretrees()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.