Description Usage Arguments Value See Also
View source: R/moretrees_compute_thetas.R
moretrees_compute_thetas
Computes MOReTreeS estimates and credible
intervals for covariate effects from model output
1 | moretrees_compute_thetas(mod, ci_level, 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. |
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.
Other Processing model output: ml_by_group
,
moretrees_compute_betas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.