get_est_cpp | R Documentation |
Summarize the posterior mean, sd and confidence interval (grouped or individual leaf nodes)
get_est_cpp( prob, mu_gamma, sigma_gamma, mu_alpha, Sigma_alpha, anc, cardanc, z )
prob |
a vector of variational probability. Length = p. At the extremes, it can also be a vector of zeros and ones, indicating which nodes are selected based on variational probability (prob > 0.5). |
mu_gamma |
variational Gaussian means (for |
sigma_gamma |
variational Gaussian variances (for |
mu_alpha |
variational Gaussian mean vectors (for |
Sigma_alpha |
variational Gaussian variances (for
|
anc |
a list of pL vectors, each vector has the node ids of the ancestors; lengths may differ. The ancestors include the node concerned. |
cardanc |
a numeric vector of length pL; integers. The number of ancestors for each leaf node |
z |
= |
a list
Named("beta_est")=beta_est, Named("beta_sd_est")=beta_sd_est, Named("beta_cil")=beta_cil, Named("beta_ciu")=beta_ciu,
Named("eta_est")=eta_est, Named("eta_var_est")=eta_var_est, Named("eta_cil")=eta_cil, Named("eta_ciu")=eta_ciu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.