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

Description Usage Arguments Value Details See Also

View source: R/moretrees_compute_betas.R

Description

All the details go here!

Usage

1
moretrees_compute_betas(mod, ci_level, A_leaves, outcomes)

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.

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 list containing the following elements: 1. beta_moretrees: estimated coefficients and credible intervals by group; 2. beta_est: estimated coefficients and credible intervals by outcome;

Details

NA

See Also

Other MOReTreeS functions: moretrees_compute_thetas(), 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.