moretrees_compute_thetas: Here's a brief description. 'moretrees_compute_thetas'...

Description Usage Arguments Value Details See Also

View source: R/moretrees_compute_thetas.R

Description

All the details go here!

Usage

1
2
3
4
5
6
7
8
moretrees_compute_thetas(
  mod,
  ci_level,
  W_method = "shared",
  method = "tree",
  m,
  A_leaves = NULL
)

Arguments

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.

Value

A matrix containing the estimates and confidence intervals.

Details

NA

See Also

Other MOReTreeS functions: moretrees_compute_betas(), moretrees_design_matrix(), moretrees_design_tree(), moretrees_init_W_logistic(), moretrees_init_logistic(), moretrees_init_rand(), moretrees()


IQSS/moretrees documentation built on March 20, 2020, 8:44 p.m.